Join our new community forum for support & discussion

Join Now

Home Support Extensions Reviews Top 10 Listings

Top 10 Listings

  • Author
    Posts
  • maliru

    Hello,

    love your work. I want to create a Top 10 page of listings based on their ratings. So i wonder if it’s somehow possible to create a seperate listings page that only displays the 10 best rated listings?

    I see when i’m on the listings archieve page and order listings by rating the url looks like this:

    http://xyz.com/?s=&_category=&post_type=hp_listing&_sort=rating__desc

    Maybe it’s possible to manipulate the url so it only shows 10 listings instead of all? Or any other way to archieve this?

    yevhen developer

    Thanks!
    There is no such option in the Listings block at the moment, but it may be possible with a custom code snippet, e.g. if you create a new page with the Listings block and override its query via this hook https://developer.wordpress.org/reference/hooks/pre_get_posts/

Viewing 2 posts - 1 through 2 (of 2 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.