Basic Conditional – Need Help!
-
Hello, I am having a lot of trouble implementing a very simple IF/ELSE statement with this plugin. I can’t figure out what the problem is, and I’ve tried every possible syntax I could think of
All I am trying to do is serve one block of content for mobile devices, and an alternate block for everything else.
<?php if ( is_mobile() ) { ?>
Mobile Content
<? } else { ?>
Wired/Desktop Content
?>Any assistance very much appreciated!!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Basic Conditional – Need Help!’ is closed to new replies.