How to set a default grid on the search / archive pages?

This topic contains 2 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #507962

    Manfred Van Ursel
    Expired Member
    Post count: 295

    On Supreme and GD V2, we have a dropdown menu to select different type of grids on the search adn archives pages.

    Is there a way to have only one, and predefine it somewhere?

    We don’t want to confuse users with extra options.

    Thanks,

    #507979

    Kor
    Moderator
    Post count: 16516

    Hi Manfred Van Ursel,

    Thanks for your post. To set grid view on location pages:
    GD > Settings > General > Pages > Location page > Edit, and change the gd_listings shortcode layout element to a grid of your choice.

    #507996

    Alex Rollin
    Moderator
    Post count: 27815

    You can change the layout to the grid or list you want by editing the GD Loop element on the search and archive templates

    for grid 4, layout=4

    Then, add some CSS to hide that layout selector:

    
    
    
    .geodir-list-view-select {
        display: none!important;
    }
    

    More info is here:
    https://wpgeodirectory.com/docs-v2/design/layouts/

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