This topic has 4 replies, 3 voices, and was last updated 9 years by Radu.

  • Author
  • #154454
     jiant
    Participant

    Hi,  I need help for my website.

    I add a new portfolio item but I can´t choose a main menu (I´m talking about site main menu)

    When I  add a normal page I have the opction to chose my own menu or other but not in  a new portfolio item.

    I imagine that I have to enable something, I try it in theme options but Icouldn´t find it

     

    Thank you

     

     

    #154596
     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
    #154703
     Radu
    Moderator

    Hi,

    Just add this code to wp-content/themes/kleo-child/functions.php

    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');
    

    That’s all

    Cheers
    R.

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

    Thank you for your time,

    After that, I have to update something in theme options? I mean, should I import something.
    Because I add the code but I can´t see the change.The menu doesn´t appear yet.

    Thank you for helping me.

    #154904
     Radu
    Moderator

    Hi,

    For me it works I’ve tested before to give you the solution

    Make sure to have child theme activated

    Cheers
    R.

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?