dylanfeltusdesign
Forum Replies Created
-
Forum: Plugins
In reply to: [Mobile Content] CachingThere shouldn’t be any conflict between my plugin and WP Super Cache.
On my iPhone the video works great right on the site. So no need for the link there.
I am not sure exactly what your problem is.. Or is everything working fine now ?
Forum: Plugins
In reply to: [Mobile Content] Proper use in templateI am going to mark this as resolved…. Please let me know if you have further issues with the plugin.
Forum: Plugins
In reply to: Shortcode to switch content if mobile or desktop@der-mall This is not something I would like to add to my plugin but if you email me I could certainly help you with this.
My email is:
[email protected]Forum: Plugins
In reply to: [Mobile Content] Proper use in templateHere is the correct code. With my plugin installed this will work when you place it in the template files. This code will show “Content here” to users on Tablets & Desktops.
<?php require_once 'wp-content/plugins/mobile-content/mobile-detect.php'; $detect = new Mobile_Detect(); if( ! $detect->isMobile() || $detect->isTablet() ){ echo "Content here";// Code to run Tablet & Desktop but not Mobile } ?>
Please let me know more details about your specific needs.
Forum: Plugins
In reply to: [Mobile Content] Proper use in templateOk so you want to have different sidebars? Or have different HTML?
Can you explain with a little more detail? Or provide a link so I can see what you mean.Looking back at this code I provided I notice it is incomplete… i will get the right code
Forum: Plugins
In reply to: Shortcode to switch content if mobile or desktopyou can do:
[computer]Content for only computers here[/computer]
[tablet]Content for only tablets here[/tablet]
[mobile]Content for only phones here[/mobile]
[mobile_tablet]Content for phones and tablets here[/mobile_tablet]
[ios]Content for only iOS devices only here[/ios]
[android]Content for only Android devices only here[/android]
[bb]Content for only Blackberry devices here[/bb]
[kindle]Content for only Kindle devices here[/kindle]Forum: Plugins
In reply to: Shortcode to switch content if mobile or desktop@crashjohnson @venicedesign – try my plugin Mobile Content
Thank you
Hey Piet,
I changed the plugin so it no longer uses CSS media queries… I also added some shortcodes that target iOS, Android, Blackberry, and Kindle. (Not tested on bb and kindle yet)Also, there was a temp error causing that Internal Server Error but it should be fine now.
Thanks for your input!