scripts

Scripts for Jquery

How To Embed Shortcodes inside a Shortcode

I created a shortcode for Bootstrap Collapsible, I placed a shortcode inside it like fotorama plugin and fotorama didn’t work. I Googled the problem and I found the fix on WP website. In order for a shortcode to output another shortcode, you need to use ‘do_shortcode($content)’ instead of just ‘$content’ as a content inside the

Warning: Missing argument 2 for wpdb::prepare() Fixed

When I used a footer that collects the earliest to the newest year to display from the dated posts, I got the “Warning: Missing argument 2 for wpdb::prepare()” on the bottom of the footer. After Googling the problem, I found the fix for it. It’s not a good way to mask the problem like I

jQuery lightGallery

[lightgallery] Sometimes I want to embed a gallery inside a bootstrap collapsible paragraph, but Fotorama doesn’t work inside bootstrap collapsible shortcodes. I stumbled into this great jQuery lightGallery and I manage to get it to work inside the bootstrap collapsible shortcodes. To extensively use this lightGallery, you do need support from the owner. I just

Shortcodes For Boostrap Collapsible

  [bs] I like to use Bootstrap for my blogs, so I created a few shortcodes for collapsible and link buttons when I need to use them. [mybs data=”1″ title=”this is title1″]1. Lorem ipsum dolor sit amet, consectetur adipisicing elit,[/mybs] [mybs data=”2″ title=”this is title2″]2. Lorem ipsum dolor sit amet, consectetur adipisicing elit,[/mybs] [mybs data=”3″

How To Remove Scripts On Mobile Devices

I use responsive viewport tags for my blogs and they’ve been working every well across all mobile devices. I have a jQuery called imgPreview and it works quite well on Desktops and tablets, but not well on small devices like iPhones, Android Phones, iPod Touches. I created a footer-phone.php to remove all scripts that don’t