[ASK] Delete Unwanted Menu

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23643
    ryuseirecca
    Member

    Hi, I’ve updated my theme to the latest and my modification at parent theme is deleted. I want to delete some unwanted menu like “Portofolio, Departments, etc”, as I remember I can remove the code from framework.php but I can’t find the code on it. Please tell me the way..

    nb: if I want to modify it on child theme, I just need to copy the file (framework.php for example) to child’s folder and make modification there, don’t I?

    #23670
    Veena
    Moderator

    IF you are asking about how to remove unused custom post types then you need to
    to comment out the custom post type function call in file framework/presentation/custom-post-types.php .

    ie, if you want to remove the portfolio type then you need to comment-out the below line –

     mo_register_portfolio_type();
    

    You need to copy the entire function mo_register_custom_post_types from file custom-post-types.php to your child theme’s functions.php and comment-out the required line of code .

    you can find more explanation here –
    http://support.livemeshthemes.com/forums/topic/parent-child-theme-question/#post-22413

    Hope this helps .

    #23777
    ryuseirecca
    Member

    very helpful
    Thank you very much

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘[ASK] Delete Unwanted Menu’ is closed to new replies.