Properly appear in account tabs
-
Hi,
Is there a way to make the wishlist page NOT be a seperate page when viewing through the account tabs.
What I mean is, the account tabs all display their content on the right, and still show tabs. When clicking the wishlist tab however, it links to the page. A page which doesn’t have tabs.
What I need is the wishlist to be inside the account tabs, and the information to simply appear on the right side of the tabs, like the other account info.
I think we could use the page php for this, with page ID maybe, instead of shortcode…? but where would i put this?
Something like this would work?:
<?php $my_id = 2738;
$post_id = get_post($my_id);
$content = $post_id->post_content;
$content = apply_filters(‘the_content’, $content);
$content = str_replace(‘]]>’, ‘]]>’, $content);
echo $content; ?>
- The topic ‘Properly appear in account tabs’ is closed to new replies.