[Support request] Create a menu inside a page

Home Forums Support [Support request] Create a menu inside a page

Home Forums Support Create a menu inside a page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2076525
    Francesco

    Hi, how can I display primary or secondary menu inside a specific part of a wordpress page ?
    thanks
    Francesco

    #2076781
    David
    Staff
    Customer Support

    Hi there,

    Are you wanting a Theme navigation that has mobile responsiveness inside your pages content ? Or somewhere else on the page ?

    #2076911
    Francesco

    Hi, i need to display a menu inside a page, on the upper left, like the one you can see here : Menu Example

    thanks for your help

    #2076972
    David
    Staff
    Customer Support

    Hmmm… that would require custom development.
    Something that you may be able to work with.

    The theme provides an option in the customizer to set its Navigation locations to a sidebar.
    If thats applied then you should be able to create a shortcode to display that siderbar.
    This PHP Snippet would do that:

    add_shortcode('display_right_sidebar',function(){
        ob_start();
        get_sidebar( 'right-sidebar');
        return ob_get_clean();
    });

    Then you can add this shortcode to the content: [display_right_sidebar]

    That might work 🙂 But would also need some CSS to size it correctly.

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