Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1283870
Removing demo content
Closed

Comments

  • jbowyers started the conversation

    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?

  •  7,243
    Oliver replied

    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

  • jbowyers replied

    So how do I remove the admin panel menu items I do not need?

  •  7,243
    Oliver replied

    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:

    register_post_type


    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver