Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

cloning Portfolio post type in child theme

Home / Forums / Virtue Theme / cloning Portfolio post type in child theme

This topic is: Not a support question
[Not a support question]
Posted in: Virtue Theme
June 19, 2019 at 10:10 am

HI guys

question in two parts really.

I wish to make a clone of the portfolio post type, however when i make a copy of the lib folder and make my changes in post-types.php these are not overriding the parent theme- I could add it in my functions.php in the child theme i suppose- I am also aware that i need to add metabox support to my new post type too, and that folder also has the same problem as the lib folder. do i need to add something to the child theme config for these folders and files?

I also want to alter the menu name of the portfolio post type. I think you sent me some code before as a custom function, that re-writes the menu name and so on, but also the slug and permalink base? was a while back, Ben sent it over.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.