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 #1071374
Disable Custom Post Types
Closed

Comments

  •  2
    JargonGR started the conversation

    Hi there,

    Is there a way to disable custom post types that we do not use? (Quickfinders, Team, etc?)

  •  7,092
    Oliver replied

    HI!

    Here is code example, you can add to the functions.php of the child theme:

    function delete_post_type(){
        unregister_post_type( 'thegem_client' );
    }
    add_action('init','delete_post_type');
    

    Pls. check:

    /wp-content/plugins/thegem-elements/inc/post-types

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

    Regards, Oliver

  •  2
    JargonGR replied

    Ok thank you very much. I will work on this before handing the site to the customer.

  •  7,092
    Oliver replied

    Feel free to contact us if you need help.

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

    Regards, Oliver