• Hi there!

    I have a custom post type that I’ve been building, and I’m having trouble implementing the plugin. The shortcodes that I generate only display as actual text. I’ve tried other shortcodes in the same field, and I got them to work. And I’ve tried the shortcode in a normal post, and it works there. But for some reason, when I try to add the shortcode to my custom field, it doesn’t work at all. Any help would be appreciated. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author paulstuttard

    (@paulstuttard)

    Hi,

    Can you give me a rough outline of how you are using custom post types, fields and the shortcode so I can try and recreate the problem?

    Paul

    Did you get this fixed? I am using a CPT using custom field to hold ASIN, and the shortcode does not work.

    Even if using echo do_shortcode on a shortcode example in a CPT template, it just prints the shortcode, returns nothing…

    Plugin Author paulstuttard

    (@paulstuttard)

    Hi,

    The plugin does not use the standard shortcode processing as it does not provide all the features needed to support the complex data that can be entered.

    Try putting something like this in your code:

    if (function_exists(amazon_shortcode)) echo amazon_shortcode("asin=". $ASIN."&template=wishlist");

    Paul

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not Working in Custom Post Type’ is closed to new replies.