• 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; ?>

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    By default our wishlist do not add links to My Account page
    For this reason, I suppose that the theme is applying a customization in order to add that to My Account page

    A proper way of doing this would require the use of My Account endpoints: this way you would always load my account page (and its tabs), but endpoint part of the url would tell the system to print a dedicated section (in this case you could simply print wishlist shortcode)

    My suggestion here is to contact your theme developers to see if they can consider to change their customization of My Account page, in order to use a dedicated endpoint for the wishlist, instead of redirecting to another page

Viewing 1 replies (of 1 total)
  • The topic ‘Properly appear in account tabs’ is closed to new replies.