Seimmei do Brasil

  • Phone: 55 (11) 4397-9000
  • Fax: 55 (11) 4397-9001
  • Mail: seimmei@seimmei.com.br
  • Website: https://www.seimmei.com.br
  • Address: Rua José D'Angelo, 251 - B. Terra Nova II - São Bernardo do Campo - SP - CEP 09820-670

Powerful Media Screen Shortcode

Show content only on devices you want

Supported by Shortcode Generator
This shortcode is super awesome. The greatest thing is that you can create it in 2 clicks with our Shortcode Generator and you can use it with any page element.
Different content for different device
You can display content only on devices you want. Have a look at the example bellow. Try resizing your browser to see this shortcode in action.

 

This content is visible only on Desktop screens.

 

This content is visible only on Tablet screens.

 

This content is visible only on Phone Landscape screens.

 

This content is visible only on Phone Portrait screens.

How to use

Notable comes with super awesome user friendly Shortcode Generator which allows you to create any of many shortcodes in less than 2 clicks. If you prefer the code, you can find it bellow. You can copy-paste it to your page. Comments are annotated with double slashes //

X
Get the code
// Create desktop screen content only
[screen size="desktop"]Your content goes here[/screen]

//Create tablet screen content only
[screen size="tablet"]Your content goes here[/screen]

//Create phone screen content only
[screen size="phone"]Your content goes here[/screen]
Available argument options
  • screen – Specify your target screen. You can use following : desktop, tablet, phone, phone-landscape, phone-portrait.
_gaq.push(['_setAccount', 'UA-28507420-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();