Proper use in template
-
Hello. I really like this!
I wanted to include this php
isMobile() && ! $detect->isTablet() ) { echo "Content here";// Code to run Mobile Content } ?>
you provided in my templates..For example, if I wanted to sidebar content to be device specific, how who you recommend integrating this code? Can I add shortcodes, php, or html to the “Content here”?
isMobile() && ! $detect->isTablet() ) { echo "Can I add any content here? Like more shortcodes or php?";// Code to run Mobile Content } ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Proper use in template’ is closed to new replies.