• Resolved Pancho Perez

    (@lonchbox)


    Hi,

    I try many times but this don′t work:

    <?php if(function_exists('related_posts')){
    related_posts(array(
    'post_type' => 'produkt',
    'show_pass_post' => true,
    'past_only' => false,
    'threshold' => 0,
    'template' => 'yarpp-template-produkt.php',
    'limit' => 3,
    'order' => 'score DESC'
    ), $post->ID , true);
    } ?>

    Works all parameters but post_type not, I also have installed YARPP Experiments and in the registration of the post_type set 'yarpp_support' => true.

    Any idea why?

    https://www.ads-software.com/plugins/yet-another-related-posts-plugin/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Filter YARPP by CPT don′t work’ is closed to new replies.