Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I believe you’ve talked to my colleague Mikey about it, and he wasn’t able to get this to work either. He’s looking into it right now, and will get back to you via email as soon as he finds a way to get this to work.

    If it can be done without updating the plugin code, we’ll update the support docs, so everyone can benefit from the fix.

    Thread Starter Jan Weiss

    (@rumpel2116)

    Mikey found the solution,
    to share it with other users having the same problem I quote him:

    All you need to do to get Related Posts working is add this to your functions.php file:
    https://gist.github.com/mikeyarce/c3aab9a257710b7a7981
    [which holds

    function marce_allow_pages_for_relatedposts( $enabled )
    {
    	if ( is_page() ) {
    		$enabled = true;
    	}
    	return $enabled;
    }
    add_filter( 'jetpack_relatedposts_filter_enabled_for_request', 'marce_allow_pages_for_relatedposts' );

    ]
    Once you do that, reindex your posts and wait 24 hours and you should be good!

    Thanks for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Related Posts doesnt work on pages’ is closed to new replies.