Cannot change default listing type using [gd_add_listing] shortcode

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

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

Open Support Ticket
  • Author
    Posts
  • #475458

    TLN
    Expired Member
    Post count: 131

    Unable to change default listing type using the gd_add_listing shortcode.

    Here’s my code:
    [gd_add_listing listing_type=gd_special login_msg=”Please register and login to submit listings” show_login=true]

    It defaults to gd_place and ignores the listing_type parameter.

    GeoDirectory v2

    #475472

    Kor
    Moderator
    Post count: 16516

    Hi TLN,

    Try using the shortcode below and see if it works.

    
    [gd_add_listing post_type="gd_special" show_login="1" login_msg="Please register and login to submit listings"]
    #475569

    Alex Rollin
    Moderator
    Post count: 27815

    Hi,

    just to be clear, you need to add a NEW WP PAGE to use the code Kor shared.

    Your original add listing page should contain the default content and be set in the settings at

    GD – Settings – General – Pages

    #475585

    TLN
    Expired Member
    Post count: 131

    Thanks guys. I have it as a separate page, and it still doesn’t work. I tried Kor’s code but it still defaults to gd_place (not gd_special). It ignores the argument.

    Thanks.

    #475586

    Alex Rollin
    Moderator
    Post count: 27815

    Please share WP Admin, login URL, and a link to the new add listing page and we will take a look.

    #475776

    TLN
    Expired Member
    Post count: 131

    I will wait for a fix. There are other bugs I’m hoping will be resolved soon which have been reported to you as well. Thank you!

    #475792

    Alex Rollin
    Moderator
    Post count: 27815

    Make sure your main add listing page has at least the default content.

    #482027

    TLN
    Expired Member
    Post count: 131

    Yep. This is still an issue. I ended up using a plugin to redirect the page to the right listing form using the listing_type URL variable.

    #482084

    Alex Rollin
    Moderator
    Post count: 27815

    This is not a know issue and I cannot recreate it.

    Please share WP Admin, login URL, and a link to the new add listing page and we will take a look.

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

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

Open Support Ticket