Management Site as shortcode like return
-
Hi, I wan to display the management site as part of another page (in my case UsersWP account-management-site). How to get management-site shortcode-like (means return just it’s content-part, without template around?
I’ve read the wiki about create a real management page, but didn’t got it to work.
My code is this:
function uwp_account_form_display_cb($type){ if ( $type == 'stcr' ) { //echo 'Your custom content goes here...'; if ( isset ( $wp_subscribe_reloaded ) ) { global $posts; $posts = $wp_subscribe_reloaded->stcr->subscribe_reloaded_manage(); if ( have_posts() ) : while ( have_posts() ) : the_post(); } } }
UsersWP Reference
UsersWP Account-Page-tab will have address like/account/?type=stcr
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Management Site as shortcode like return’ is closed to new replies.