• Hi, I am currently trying to add the subscription management content to an account tab (from WooCommerce). So I tried using the shortcode but it is only displayed as plain text.

    /* ADD Manger for "Subscribe to Comments Reloaded" under My account Tab */
    if( ! function_exists( 'comments_subscribe_add_to_account_tab' ) ){
        function comments_subscribe_add_to_account_tab(){
            echo do_shortcode( '[subscribe-url]' );
        }
    }
    add_action( 'woocommerce_account_edit-account_endpoint', 'comments_subscribe_add_to_account_tab' );

    I played a bit around with settings as explained here but without more success.

    Is the shortcode still working OR could you show me how to modify my functions snippet to add the content properly using an other way ?

    Regards.

    UPDATE :
    After re-reading instructions it seem that this shortcode was intended to display the “link” to the settings page only. However it doesn’t work either that way.
    Since you are working through a page template system, is there any way to implement it inside another page, like displayed above ?

    • This topic was modified 5 years, 8 months ago by tdechangy.
  • The topic ‘Adding the Management Page content to an Account tab’ is closed to new replies.