Disable plugin function

Whilst you’ve got the right idea, it won’t work in this case. Taking a look at the source code, the class is simply instantiated without an assign. There’s no way to get a hold of $this from outside the class, and so no way for you to remove the hooks it attaches itself to. This … Read more

Plugin used only on some pages – not widget

I solved id by myself. For those who want do the same trick: go to bliss-facebook-likebox plugin folder, edit cool-fb-likebox.php. Near the bottom of file there will be an $url variable. Change: $url = urlencode($get_cfbl_options[‘fbpageurl’]); to: wp_reset_query(); global $post; $site-id = 1; // use your own needed number if( is_page($site-id) || $post->post_parent == ‘.$site-id.’) { … Read more

woocommerce breadcrump missing shop link [closed]

This can be done a lot easier. It is just necessary to change the permalinks settings accordingly – as mentioned on github at the issue 3145: Meet this criteria: // If permalinks contain the shop page in the URI prepend the breadcrumb with shop if ( $shop_page_id && strstr( $permalinks[‘product_base’], “https://wordpress.stackexchange.com/” . $shop_page->post_name ) && … Read more

Infinite Scroll plugin scrolling truly “infinitely” (i.e. does not recognize end of posts)

I think I already had this problem some month ago. It may help you to add the following code to your themes functions.php: http://pastebin.com/KbjS4ZeG The problem in this case was actually located in a wp core function (redirect_canonical() in wp-includes/canonical.php) which tries to “repair” broken/malformed url’s instead of showing an 404 error and ist not … Read more