This topic has 2 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #196666
     aimkbe
    Participant

    Hello Kleo,

    I was wondering how i can enable the “Main Menu Options” for the portfolios. It is enabled for pages and posts, but I would also like to do it for the portfolios.

    Attached is a screenshot is what I mean.

    Attachments:
    You must be logged in to view attached files.
    #196700
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #196720
     Radu
    Moderator

    Hi,

    Just add this code

    COPY CODE
    
    
    function my_cpt_sq_metabox_menu_options_post_layout($post_types) {
        $post_types[] = 'portfolio';
        return $post_types;
    
    }
    
    add_filter('sq_metabox_page_menu', 'my_cpt_sq_metabox_menu_options_post_layout');
    

    The function will have to be added in wp-content/themes/kleo-child/functions.php

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?