This topic has 16 replies, 2 voices, and was last updated 9 years by d_enajetic.

  • Author
  • #85909
     d_enajetic
    Participant

    Hello All,
    While coming up with new ideas for my tutorial / community site, I think I found a missed opportunity for the devs. I love the idea of a side menu, but there’s only one that can be site for the entire site. How about the ability to set a custom side menu per page? In my case, I have video tutorial series and would like to have all of the videos in that series in the side menu. I’m currently using a full width page on a boxed layout so a sidebar would kill the design. A side menu where I can create the menus in advance, then select one for each page would be incredible. Of course I’m no coder, so I don’t know how difficult it would be to implement, but I think a lot of people would gravitate to that feature.

    Just my thoughts. Thanks.

    Attachments:
    You must be logged in to view attached files.
    #85926
     sharmstr
    Moderator

    Try this plugin https://wordpress.org/support/plugin/menu-items-visibility-control

    You can use this code: https://codex.wordpress.org/Function_Reference/is_page

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #85927
     sharmstr
    Moderator

    moving to feature requests forum

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #85946
     d_enajetic
    Participant

    Thanks for the response, Sharm. I’ve installed it and looked over the options, but I’m unclear how to implement this for my purpose. I’ve thought about the page ID example, but each video is on it’s own page. That would mean possibly listing 30+ IDs. I’m also unsure of how this would actually trigger the side menu to open on those pages. Any guidance you’re willing to offer is greatly appreciated.

    Thanks

    #85952
     sharmstr
    Moderator

    I think you are thinking about that backwards. The page id is for the page to show the link on. Its not the id of the video page.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #85953
     d_enajetic
    Participant

    I appreciate you responding, Sharm, but I’m very confused. Let’s go at it this way.

    I have a video series that contains 10 pages. Menu A contains all of those pages. How would I get side menu A to show on those pages?

    #85954
     d_enajetic
    Participant

    Let me also add, there’s another series that has 15 pages and needs to display side menu B.

    #85960
     sharmstr
    Moderator

    You only use 1 menu.

    in menu items 1 – 10 (assumes page ids are 1-10, obviously not so change to suit)

    COPY CODE
    
    is_page(array('1', '2', '3', '4', '5', '6', '7','8','9','10'));
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #85962
     d_enajetic
    Participant

    I think I understand you now. Create 1 menu containing all items for Menus A, B, etc. In those menu items I want to display in Menu A, use the page array code. Correct?

    #85963
     sharmstr
    Moderator

    Yep. That’s why its called Menu ITEMS Visibility (LOL). See if this makes sense. Notice the difference between Series A and Series B as far as the page IDs go. I havent tested this but I think it should work ok.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    #85965
     d_enajetic
    Participant

    Dude, you’re a genius. Makes perfect sense. I’m going to try it out now.

    One final question: Is there a way to make the side menu pop automatically? Or will you have to click the side menu icon every time?

    #85966
     sharmstr
    Moderator

    I vaguely remember seeing that asked before. Do a search.

    Also, let me know if that doesnt work. I have another idea, but I like this menu items approach better.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #85969
     d_enajetic
    Participant

    Man, I was so hopeful. It’s not working. Any other suggestions? I’m still researching on my end as well. I thought about this, but I haven’t heard back from the creator yet.

    http://codecanyon.net/item/popping-sidebars-and-widgets-for-wordpress/8688220

    #85975
     sharmstr
    Moderator

    respond privately with a link and credentials.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #85997
     d_enajetic
    Participant
    This reply has been set as private.
    #86005
     sharmstr
    Moderator

    So, it works perfect on my site. I think the issue is that you’re also using Nav Menu Roles. It’s even popping up a warning about it in WP Admin

    “Nav Menu Roles has detected a possible conflict with the following functions or classes: Menu_Items_Visibility_Control”

    The other idea I had was to use widgets. Create a new sidebar, add a text field for each series, put links to each page in each series, use a plugin like conditional widgets to control display then add the sidebar in theme options > side menu.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #86006
     d_enajetic
    Participant

    Ahh, I wondered if that would be an issue. Ok. I’ll try your other idea. I also heard back from the creator of that other plugin I spoke of.

    “The plugin has Visibility settings that will help you choose on which pages/posts/etc you want your overlay to be visible on.”

    Worst case scenario I’ll go with that. I’d still suggest implementing this into Kleo though.

    Thanks for the help, Sharm. I greatly appreciate it.

Viewing 17 posts - 1 through 17 (of 17 total)

The forum ‘Feature requests’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?