Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WebberZone

    (@webberzone)

    Posts are always sorted as per relevance.

    You could potentially try this function in your theme’s functions.php

    function filter_crp_orderby( $orderby ) {
    
    return "rand()";
    
    }
    add_filter( 'crp_posts_orderby', 'filter_crp_orderby' );
    Thread Starter suge1w

    (@suge1w)

    Many thanks for the code snippet.

    That works, but it randomizes all posts. How would I fetch posts under related terms and display them in random order?

    Thread Starter suge1w

    (@suge1w)

    Scratch that, works fantastically well.

    Many thanks.

    Plugin Author WebberZone

    (@webberzone)

    You’re welcome ??

    This is one more to add to my FAQ!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How are the related posts found?’ is closed to new replies.