Development: Custom account panel. Similar to “my orders” behaviour
-
Hey everyone,
I am developing a plugin for Jigoshop and I need help with a (possibly) simple problem that I can’t seem to fix.
I want to create a link in the account page that opens in a way just like the “my orders” page. So far, I’ve only managed to create an endpoint and query vars and check if the query vars include the query var I added. Then I add my template to the page using the template_include hook. This adds my template to the main account page. I want to be able to replicate the “my orders” page but then with my own settings.
To summarize:
What I get now is my template below the footer on the account page.
What I want is my template to open as a new page, in a same way as the My Orders page.Anyone got an idea on how to do that? I’m not so experienced with wordpress so it might be easier than I thought.
- The topic ‘Development: Custom account panel. Similar to “my orders” behaviour’ is closed to new replies.