WordPress.org

Support

Support » Plugins and Hacks » Contextual Related Posts » [Resolved] Exclude related posts on certain posts?

[Resolved] Exclude related posts on certain posts?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ajay

    @ajay

    Right now, there isn’t a feature for this. You should use the manual install option and edit your single.php to add the code.

    Plugin Author Ajay

    @ajay

    The latest version of the plugin allows you to provide a comma-separated list of post IDs you don’t want the related posts to show up on

    This doesn’t seem to work for pages, but this is what I did to exclude particular pages, within the page template….

    <?php
    	if ( is_page(array(424, 422, 7, 475, 472, 468)) || is_front_page()) {
    		echo('');
    	}
    	else {
    		if(function_exists('echo_ald_crp')) echo_ald_crp();
    	}
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Exclude related posts on certain posts?’ is closed to new replies.
Skip to toolbar