WordPress.org

Ready to get started?Download WordPress

Forums

NIC Discount Coupon Management
Shortcode in Coupon Description (3 posts)

  1. eric.hoegee
    Member
    Posted 10 months ago #

    Hi,

    I could use some help here. Trying to run a shortcode from the coupon description field (like a newsletter sign-up) but it seems it is stripped. Is there a way to make it work instead of displayed like [shortcode] ?

    Thanks in advance!

    http://wordpress.org/plugins/wps-coupon-management/

  2. sandipc
    Member
    Plugin Author

    Posted 10 months ago #

    Strange thing ..that i also needs to check but i found link which is describing similar problem.

    http://wordpress.org/support/topic/shortcodes-not-working-8

  3. eric.hoegee
    Member
    Posted 10 months ago #

    Ok, i looked at the post but don't find a lot of similarities. I think the problem lies in the colorbox or in the function. I have a feeling it is just like with shortcodes in a widget, what doesn't work out of the box.

    Please check this link:
    http://digwp.com/2010/03/shortcodes-in-widgets/

    Maybe it just needs a function like this in my functions.php;
    add_filter('widget_text', 'do_shortcode');

    I really hope you could check that out for me

Reply

You must log in to post.

About this Plugin

About this Topic