Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #434041

    Hi

    How would I go about removing the “Portfolio” custom post type from the theme? I don’t need it to appear in the admin on the left hand side.

    Thanks

    #434449

    Hi CreativeH!

    There is no point in hiding that but you can do it by commenting out line 45 in /enfold/includes/admin/register-portfolio.php.

    //register_post_type( 'portfolio' , $args );
    

    Regards,
    Elliott

    #435112

    Hi

    The reason for hiding it was to clean up the admin side for our client. Just wanted to remove anything not really relevant.

    Thanks,

    #435945

    Hey!

    Glad we could help you. Enjoy the theme and feel free to come back with further questions and/or problems you have.

    Best regards,
    Günter

    #458516

    Hi,
    Would that still work i update my Theme ?

    #459182

    Hey!

    It will be overwritten. If you want to do it in a child theme, use this:

    remove_action('init', 'portfolio_register');
    

    Cheers!
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.