Comments jbowyers started the conversationAugust 25, 2017 at 10:43pmI have loaded all the demo content and want to remove all demos that will not be part of the site. There are several WP Admin menu items such as "Teams" "Clients" and "Portfolios" that do not relate to the site I am building. How do I remove these? 7,243Oliver repliedAugust 28, 2017 at 10:31amHI! Sorry, we don't have functionality of automatic removing of the demo content, you can remove it only manually. Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliverjbowyers repliedAugust 28, 2017 at 3:28pmSo how do I remove the admin panel menu items I do not need? 7,243Oliver repliedAugust 29, 2017 at 6:22amHI!You can use unregister_post_type action, exmaple: function delete_post_type(){ unregister_post_type( 'thegem_news' ); } add_action('init','delete_post_type');Add the code to the functions.php of the child theme, post types names you can see in the:/wp-content/plugins/thegem-elements/inc/post-typesIn the begin of the file: register_post_typePlease note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver Sign in to reply ...
I have loaded all the demo content and want to remove all demos that will not be part of the site. There are several WP Admin menu items such as "Teams" "Clients" and "Portfolios" that do not relate to the site I am building. How do I remove these?
HI!
Sorry, we don't have functionality of automatic removing of the demo content, you can remove it only manually.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
So how do I remove the admin panel menu items I do not need?
HI!
You can use unregister_post_type action, exmaple:
function delete_post_type(){ unregister_post_type( 'thegem_news' ); } add_action('init','delete_post_type');Add the code to the functions.php of the child theme, post types names you can see in the:
/wp-content/plugins/thegem-elements/inc/post-types
In the begin of the file:
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver