• Resolved jrwnam

    (@jrwnam)


    Hi,
    good plugin! Thanks for that.

    When trying to execute a another shortcode within you shortcode the nested shortcode is not executed.

    Example:

    [wppcp_member_content]
    [redirect url="/dashboard/"]
    [/wppcp_member_content]

    for the above” the shortode [redirect url=”/dashboard/”] is not executed, only send as text outpuit to the page.

    I guess you are not calling do_shortcode in your code. I would be grateful if you could add that.

    Thanks a lot. Regards, Jürgen

    https://wordpress.org/plugins/wp-private-content-plus/

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

    (@nimeshrmr)

    Thanks for the info.

    Please open class-wppcp-private-content.php and go to last return statemnt of guest_content_block and member_content_block functions.

    Change

    return $content;

    to

    return do_shortcode($content);

    I will be releasing a new version with these fixes soon.

    Thanks

    Thread Starter jrwnam

    (@jrwnam)

    Hello,
    all good. Thanks a lot for the change.

    Plugin Author nimeshrmr

    (@nimeshrmr)

    You are most welcome

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode execution within your shortcode not working’ is closed to new replies.