Shortcode to Display Content Only on Mobile

Did you know that WordPress has a mobile detect function already? In this post, I will show you how you can use wp_is_mobile function to create a simple shortcode to hide certain parts of your posts from mobile visitors or the other way. Demonstration Desktop View Mobile View The Shortcode wp_is_mobile function returns true when […]

Read more Shortcode to Display Content Only on Mobile

Bootstrap Fixed Navbar Fix for WordPress Admin Bar

When you are using Bootstrap fixed navbar on your themes, it will be hidden under admin bar of WordPress. This is because of fixed positioning of two elements are same. If you are not using admin bar, it is easy to fix, because you can hide admin bar from your own user profile. But other […]

Read more Bootstrap Fixed Navbar Fix for WordPress Admin Bar