Shortcode generating incorrect code

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

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

Open Support Ticket
  • Author
    Posts
  • #468246

    Gavin Raines
    Expired Member
    Post count: 30

    We’re using GD v2 on the Divi theme and experiencing issues creating shortcode to output on the GD Details page. E.g if we attempt to create a shortcode from within a Divi text box and select the post meta with a address field key. The shortcode generated is GD post meta key=0. This then errors when you view the page. If I change the key within the shortcode generator, the same shortcode is output.

    See screenshot. Also, you cannot see the shortcode within the shortcode preview box on the righthand side.

    Hopefully that makes sense.

    Thanks

    #468261

    Kor
    Moderator
    Post count: 16516

    Hi Gavin,

    Thanks for your post. This could be caused by a conflict with another 3rd party plugin. Could you try deactivating non-gd plugins one by one and see which one is causing the issue you had there? If the issue persists, kindly share your WP admin access here in private reply and we’ll check on it.

    Thanks!

    #468263

    Gavin Raines
    Expired Member
    Post count: 30
    This reply has been marked as private.
    #468298

    Alex Rollin
    Moderator
    Post count: 27815

    Try using the shortcode builder on a normal page area. The Divi builder itself conflicts with the shortcode builder.

    Alternatively you can use widget areas and GD Widgets.

    When I tested the shortcode builder in a normal page content area on your site it seemed to work fine.

    [gd_post_meta key=”address”]

    https://wpgeodirectory.com/docs-v2/integrations/builders/#divi

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

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

Open Support Ticket