gd_add_listing short code not work in php

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 5 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #456501

    Akash Choudhary
    Full Member
    Post count: 26

    we have using “add listing Shortcode” within another plugin on php but it’s not working.
    like this-
    <?php echo do_shortcode(‘[gd_add_listing listing_type=gd_event]’); ?>

    we are trying to display “add listing” within another plugin “user dashboard”.

    but when I click on “add listing” it is not working.

    And when I used only “gd listing” its working correctly.
    like this-
    <?php echo do_shortcode(‘[gd_listings post_type=”gd_event” post_author=”current_user”]’); ?>

    so why “add listing” shortcode not work properly.

    #456519

    Alex Rollin
    Moderator
    Post count: 27815

    That will most likely not work with V1.

    The add_listing shortcode is designed to run in a page/post content area without other content.

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

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

Open Support Ticket