TextCMS Documentation - Internal Plugins - MOBILE

Plugin Description

Sometimes you may want to display a different content on desktop (pc, mac) and mobile (tablets and phones) devices. You can use plugin MOBILE to display content specific to mobile devices. The syntax of the plugin is: [MOBILE](moblie_content)[/MOBILE]. Please take a look also on a similar plugin DESKTOP to learn how to display content specific to desktop devices.

Plugin Usage

This plugin can be used everywhere

Articles
Templates
Modules
Areas

Attributes

This plugin does not support attributes.

Styling

This plugin does not support plugin-specific styling.

Example

[MOBILE]
	[NEWS cols=1 rows=6 pages=true]/demo.*/[/NEWS]
[/MOBILE]
[DESKTOP]
	[NEWS cols=4 rows=2 pages=true]/demo.*/[/NEWS]
[/DESKTOP]
(c) 2018-2024 TextCMS