Sorting

This topic contains 2 replies, has 2 voices, and was last updated by  Matthew 4 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #533976

    Matthew
    Lifetime Member
    Post count: 178

    Hi Folks

    I am using the following to good effect in order to create a special offers page.

    [gd_listings post_type=”gd_place” post_limit=”10″ add_location_filter=”1″ show_special_only=”1″ sort_by=”sort_by=”az” title_tag=”h3″ layout=”1″ view_all_link=”1″ bottom_pagination=”1″]

    However I would like to change the sorting to something other than a – z.

    Is this correct for sorting by rating..

    sort_by=”overall_rating”

    …and also what should I use for Random, and also number of reviews please?

    I could not find the sorting option details in the manual.

    Many thanks

    #533995

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    You can use the shortcode builder to access all the available sorting options.

    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

    Also, you can make new sorting options. Whatever sorts yo configure on the CPT sorting tab are also available in GD Listings.

    https://wpgeodirectory.com/docs-v2/places/sorting/

    
    
    
    sort_by="high_rating" 
    

    and

    
    
    
    sort_by="high_review"
    

    See the shortcode builder for many more

    #534019

    Matthew
    Lifetime Member
    Post count: 178

    Hi Alex, that is great many thanks.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket