Blog Archives

Unhooking Actions Hooked Inside PHP Classes With remove_action

Here is an example. The following snippet removes the action hooked from the SumoMe plugin – https://wordpress.org/plugins/sumome/ /** * Dequeue SumoMe inline script * * @author Arun Basil Lal */ function rocket_helper_dequeue_sumo_me_js() {      global $wp_plugin_sumome;   remove_action(‘admin_footer’, array( $wp_plugin_sumome, ‘append_admin_script_code’

Posted in WordPress Tagged with: , ,

Why You Should Switch to WordPress For Your Business?

Introduced to the market in the year 2003, WordPress currently has become one of the most sought content management systems across the world. This open source software currently is used as a backbone to 74 million sites worldwide and the

Posted in Guest Posts, WordPress Tagged with: ,

Add Left And Right Swipe On Mobile For Bootstrap 4 Carousel

We are talking about carousel included in Bootstrap 4, you can see how to add one here. Add this to your JS file or load it on the footer // Thanks to Maaaaark – https://github.com/maaaaark/bcSwipe/blob/master/jquery.bcSwipe.min.js !function(t){t.fn.bcSwipe=function(e){var n={threshold:50};return e&&t.extend(n,e),this.each(function(){function e(t){1==t.touches.length&&(u=t.touches[0].pageX,c=!0,this.addEventListener(“touchmove”,o,!1))}function o(e){if(c){var

Posted in WordPress Tagged with: , , ,

Full Width Responsive WordPress YouTube Embeds Automatically

Add this to the functions.php /** * Add Response code to video embeds in WordPress * * @refer  http://alxmedia.se/code/2013/10/make-wordpress-default-video-embeds-responsive/ */ function abl1035_alx_embed_html( $html ) {      return ‘<div class="video-container">’ . $html . ‘</div>’; } add_filter( ’embed_oembed_html’, ‘abl1035_alx_embed_html’, 10, 3 ); add_filter(

Posted in WordPress Tagged with: , ,

7 Important Tools to Grow Your WordPress Website

So, you’ve successfully managed to set up your WordPress website, with a simple design. The only challenge is, how do you grow it from there? While WordPress does offer various tools and applications built on it- for improved user interface,

Posted in Guest Posts, WordPress Tagged with: , ,