WordPress.org

Support

Support » Plugins and Hacks » Manual Related Posts » [Resolved] how not to display related posts on a page??

[Resolved] how not to display related posts on a page??

Viewing 1 replies (of 1 total)
  • Plugin Author Julio Potier

    @juliobox

    Hello
    yes you can do this:

    add_action( 'wp_head', 'remove_mrp' );
    function remove_mrp()
    {
      if ( is_page( 'foo' ) ) {
        remove_filter( 'the_content', 'bawmrp_the_content' );
      }
    }

    Also if the posts are showing up under the pagination, change the priority :

    remove_filter( 'the_content', 'bawmrp_the_content' );
    add_filter( 'the_content', 'bawmrp_the_content', 5 ); // 0 to 9

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] how not to display related posts on a page??’ is closed to new replies.
Skip to toolbar