location page / CPT display

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

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

Open Support Ticket
  • Author
    Posts
  • #475666

    soupmeister
    Expired Member
    Post count: 56

    Hi

    can you have a look at my location page, please. I have set the order of the CPTs to
    Event = 1
    Place = 2

    Map “directory” shows places and events- great
    drop down in the search bar shows events- great
    BUT the listings below the search bar are place listings and not event listings

    How can I change that?

    Thanks

    Lars

    #475667

    soupmeister
    Expired Member
    Post count: 56
    This reply has been marked as private.
    #475684

    soupmeister
    Expired Member
    Post count: 56
    This reply has been marked as private.
    #475723

    Alex Rollin
    Moderator
    Post count: 27815

    Add additional GD Listings elements to the page, once for each post type.
    If you open it to edit it now you should see one for places, so add at least one more for events.

    #475816

    soupmeister
    Expired Member
    Post count: 56

    Sorry Alex not exactly sure what you want me to do

    This is how the location page is set up at the moment
    __________________________
    [gd_notifications]
    [gd_map map_type=’directory’ width=100% height=400 search_filter=1 cat_filter=0]
    [gd_search]
    [gd_listings post_limit=10]
    ____________________________

    #476001

    Alex Rollin
    Moderator
    Post count: 27815

    How are you adding GD Blocks? With Gutenberg Blocks, or shortcodes?
    Use whichever method works for you to configure additional GD Listings for post type events.
    https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/
    https://wpgeodirectory.com/docs-v2/geodirectory/personalize/

    #476037

    soupmeister
    Expired Member
    Post count: 56

    Sorry mate I don’t get it. Can you have a look at the location page (link see before)

    I never edited the location page – when I open the page in the wordpress editor it shows the shortcodes as above.

    The map only shows locations from places but no locations from events
    (there are currently 26 places and over 300 events ) but only 26 places are displayed in the map. in your documentation, it says “A unique feature of the location page template is that it can display multiple post types at one time.”

    The search bar has events preselected but the listing displayed is the places list (26)

    How can I add the events to this page? on the map and as list?

    #476059

    Alex Rollin
    Moderator
    Post count: 27815

    Please try the GD Listings shortcode here or add a new block with similar options.

    https://wpgeodirectory.com/docs-v2/addons/events/#template-shortcodes

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

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

Open Support Ticket