Sorting by Popularity

Forums › Forums › Search & Filter Pro › Sorting by Popularity

Tagged: 

Viewing 6 posts – 1 through 6 (of 6 total)
  • Anonymous
    #78034

    Hi, is there any more documentation on this?

    Trevor
    #78052

    I am unsure what you are asking Dann. Could you elaborate for me?

    Trevor
    #78054

    I split this thread from this original (now closed):

    https://support.searchandfilter.com/forums/topic/sorting-by-popularity/

    Anonymous
    #78056

    Hi, I want my sort order to be ordered by popularity. The more popular the post the higher up it appears…

    Trevor
    #78067

    How do you decide which post is popular? Do you have a plugin that has ranking? In which case, there should be meta data attached to the posts that has this in, and S&F Pro can sort by this meta key.

    Anonymous
    #79504

    Hi, I thought I would update this thread with the solution I have found:

    http://www.wpbeginner.com/wp-tutorials/how-to-track-popular-posts-by-views-in-wordpress-without-a-plugin/

    … adding this adds a numeric ‘post view counter’ in the custom fields.

    this can then be selected as:
    Sort By:
    Meta Value > Meta Value Key > wpb_track_post_views (Sort type: numeric)

    this works a treat. Make sure to visit the pages/posts though as the numeric data doesnt kick into the pages/ posts until they are viewed at least once and results in a 0 display result if they have never been viewed since implmenting the page count!

    : )

Viewing 6 posts – 1 through 6 (of 6 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.