Copy & amend posts tab to add additional tab with CPTS (not replace posts)
-
Hi I’ve looked everywhere for this and I think i’m just missing something.
I would like to add a tab to every user’s UM profile to include all woocommerce products they have listed on my site.
The easiest way I have come up with so far is to copy the posts tab and rename it products or something and change the post type to product. I can see where the posts.php / posts-single is, I can create a products.php and products-single, but how do I call this into the profile for just a couple of roles likfoe ‘shop’, but for all of my site users to see?
Really appreciate any help or pointers
Many thanks
- The topic ‘Copy & amend posts tab to add additional tab with CPTS (not replace posts)’ is closed to new replies.