TextCMS Documentation - Internal Plugins - DESKTOP

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 DESKTOP to display content specific to desktop devices. The syntax of the plugin is: [DESKTOP](desktop_content)[/DESKTOP]. Please take a look also on a similar plugin MOBILE to learn how to display content specific to mobile 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