• Resolved kamduras

    (@kamduras)


    Hello,

    I tried to add short code [pmpro_levels] in a template page with :

    echo do_shortcode('[pmpro_cancel]');

    and it’s not working.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kamduras

    (@kamduras)

    Sorry I mean

    echo do_shortcode('[pmpro_levels]');

    Plugin Author Andrew Lima

    (@andrewza)

    Thank you for your patience, the pmpro_levels isn’t a default WordPress shortcode and this is why the do_shortcode function doesn’t work.

    You will need to copy code from the levels page and wrap that in a custom shortcode function.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shorcode with do_shortcode not working’ is closed to new replies.