Multiple rows on archive pages

This topic contains 2 replies, has 2 voices, and was last updated by  Aleks Szymanski 5 years, 4 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #494072

    Aleks Szymanski
    Free User
    Post count: 23

    Hello, for the “Places” post type, I’m using the “GD Archive Template” and displaying these shortcodes:

    [gd_notifications]
    [gd_category_description]
    [gd_search]
    [gd_loop_actions]
    [gd_loop layout=2]
    [gd_loop_paging]

    I’m wondering if there’s a way to have 2 rows of results:

    1. Places that have “Sponsored” custom field checked.

    2. All Places.

    Is there an easy way to go about doing this?

    #494079

    Alex Rollin
    Moderator
    Post count: 27815

    Have you tried sorting the results so “Sponsored” is first?
    https://wpgeodirectory.com/docs-v2/places/sorting/

    #494562

    Aleks Szymanski
    Free User
    Post count: 23

    Hi Alex, update on this one. I ended up using custom “geodirectory-archive.php” theme template override and pulled the query_vars and customized the parameters for each WP_Query loop on the page. It works perfectly, even with search results since I’m still utilizing the original query_vars.

    Thanks for the reply!

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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount