
This plugin detects the client device in a simple way at php level.
For a desktop in linux
For a desktop in Mac
For an iphone mobile
For an iphone mobile landscape
For an android mobile
And also for IE 😉
<?php if ( is_tttdevice('desktop') ) { echo "this is a desktop device"; } elseif ( is_tttdevice('mobile') ) { echo "this is a mobile device"; } elseif ( is_tttdevice('tablet') ) { echo "this is a tablet device"; } else { echo "Opps... we don't know what this device is!!"; } ?> <?php if ( ! is_tttdevice('mobile') ) { get_sidebar(); } ?> This means, the sidebar will not show in mobile devices. This is not the same has “hidden” in CSS, with TTT Devices the code is not sent to the client.
<?php if ( is_tttdevice('iphone') ) { echo "this is an iPhone"; } if ( is_tttdevice('android') ) { echo "this is an android"; } if ( is_tttdevice('windowsphone') ) { echo "this is an windows phone"; } if ( is_tttdevice('mobile') ) { echo "this is a mobile"; } ?> It is very useful if you need make your site faster for mobile or tablet, these browsers can’t handle well some javascript effects. You can stop loading them in mobile devices. Example:
In your functions.php file:
function heavyanimation_script() { if ( is_tttdevice('desktop') ) { wp_enqueue_script( 'heavyanimation', get_template_directory_uri() . '/js/havyscript.js', array('jquery')); } } add_action('wp_enqueue_scripts', 'heavyanimation_script'); This means that js only loads in desktop devices, easy 🙂
Starting from $0 per month.
Rating
Reviewers
1 reviews
Tags
Developed By
33themes
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Show Bluesky posts with a Bluesky feed that updates in real time, improves content discovery, and keeps visitors engaged with fresh activity.
Create immersive 360 virtual tours with interactive hotspots that let visitors explore spaces, view details clearly, and experience panoramic environments seamlessly.
Add a comments system with replies, voting, and moderation to boost engagement and build an active community on your site.

Show Facebook posts in a live Facebook feed that keeps content fresh, boosts social proof, and helps visitors engage more with your brand.
Use a news ticker to display headlines and updates that highlight key information and keep users informed in real time.
Use feature voting so users submit ideas, vote on requests, and help you prioritize product updates by real customer demand.
Showcase visuals with an image slider that displays multiple images in a smooth slideshow, improves design, and keeps visitors engaged.
Add a Stripe Button to your website to give customers a fast, trusted checkout experience.

Show fresh content from any source with an RSS feed that keeps your site updated, improves navigation, and boosts user engagement.
Show key stats with an animated number counter that draws attention, adds social proof, and helps increase trust and conversions.

Show Vimeo videos in a Vimeo feed that keeps content fresh and helps visitors discover more of your video library.
Add an FAQ section to your site to answer common questions, reduce support requests, and give visitors a smoother and more confident user experience.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
