Sorting Options

This topic contains 6 replies, has 2 voices, and was last updated by  Amy Fox 4 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #490591

    Amy Fox
    Expired Member
    Post count: 419

    I’ve found the sorting options for the Archive pages and set it to show ‘featured’ first.

    Is it possible for me to create my own fields based on packages? I want the Archive pages to display order

    Featured
    Premium Listing
    Standard Listing
    Free on random

    With badges to say the same, I want to setup a Badge (Done Featured and New already) for each listing package saying:

    Featured
    Premium
    Standard
    Free

    Thanks as I can’t find a guide explaining how to integrate Badges and Packages anywhere.

    #490653

    Alex Rollin
    Moderator
    Post count: 27815

    Badges have conditional logic options in the advanced settings.
    So, you can choose the key “package” and then set the search value to equals and then put in your package ID.

    Use the badge field to add in whatever you like “SUPER FEATURED” for package id 18, for example. That will then only show when it the listing with package 18 shows.

    Sorting options apply to the CPT Archive pages. You can certainly add additional custom fields to your listings. One you might consider is “sort_order” and then manually set an order for how you want the listings to appear.

    #490680

    Amy Fox
    Expired Member
    Post count: 419

    Thanks for the reply, I entered:

    [gd_post_badge id=”72″ key=”package_id” condition=”is_equal” badge=”Premium Listing” bg_color=”#0073aa” txt_color=”#ffffff”]

    When I refresh the pages it should show on it says:

    ‘invalid post type’

    I can’t see why.

    Thanks

    #490681

    Amy Fox
    Expired Member
    Post count: 419

    Sorted, I filled in the wrong box

    [gd_post_badge key=”package_id” condition=”is_equal” search=”72″ badge=”Premium Listing” bg_color=”#0073aa” txt_color=”#ffffff”]

    Worked.

    #490687

    Amy Fox
    Expired Member
    Post count: 419
    This reply has been marked as private.
    #490847

    Alex Rollin
    Moderator
    Post count: 27815

    You can add a new custom field called sort order, then add that to your sorting options.

    #491261

    Amy Fox
    Expired Member
    Post count: 419

    Worked perfectly

    Thanks.

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

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

Open Support Ticket