SHARE
TWEET

not-pages-live-signature.php

jan_dembowski Oct 17th, 2012 56 Never
  1. <?php
  2. /*
  3. Plugin Name: No My Live Signature for pages
  4. Description: This plugin will remove the My Live Signature from pages
  5. Version: 0.1
  6. */
  7.  
  8. add_filter( 'wp_head', 'mh_remove_mls' , 20 );
  9. function mh_remove_mls() {
  10.         global $post;
  11.         if( $post->post_type == 'page' ) {
  12.                 remove_filter( 'the_content', 'mls_add_top_post' );
  13.         }
  14. }
RAW Paste Data
Top