Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wizzud

    (@wizzud)

    Since you haven’t provided any clues – such as the settings you’re using – I’m guessing that you may have set Children Of to one of Current Item, Current Parent Item, or Current Root Item, and that the widget’s configured menu does not have an item that points directly at the post in question. If there is no current menu item found in the configured menu, then there will be no output from the widget.

    Alternatively, you could have set Must Contain “Current” Item, which, again, would result in no output from the widget if it failed to find current menu item within the configured (and filtered) menu structure.

    [ Of course, I could have completely misunderstood your problem, but since Custom Menu Wizard only deals with items from a WordPress custom menu, and it has no idea (nor does it care) what those menu items might represent, there is actually no such thing as a “Category in Custom Menu Wizard”. So I can only assume that you have a menu item that shows you a Category of posts, and that when you click on one of those posts, the widget no longer produces any output. ]

    Thread Starter NenadDim

    (@nenaddim)

    HI wizzud,
    Sorry for privies post for not to be complete. Maybe I did not understated you well.
    My settings are:
    Children Of to one Current Root Item
    Relative to “Current” Item (if found)
    Must Contain “Current” Item
    I made custom menu from category
    Level 1
    sublevel 1
    sublevel 2
    For each this menu i have post lat say for Level 1 i have 118 post etc. So you are right when I click on one of those posts, the widget no longer produces any output. What shell I do to have Custom Menu Wizard be visible on post page?

    Plugin Author wizzud

    (@wizzud)

    On its own, Custom Menu Wizard will not do what you are trying to get it to do.

    The widget will only work within the constraints of its configured menu. If you have set a Category as a menu item (which you have), then the widget is informed (by WordPress) that the page being displayed is a Category listing of posts and that the appropriate menu item is now the “current menu item”. As soon as you navigate away from that Category listing page – for example, by clicking to view a post in full – then the Category listing page is no longer the “current menu item”, and the menu has no other item that directly relates/leads to the full post currently being displayed. The configured menu thus has no “current menu item” within it, and because of your settings it will not display any output.

    The only way to get the widget to show output on all of your category posts is to set an instance of Custom Menu Wizard to show the top level of your custom menu, and do not set Must Contain “Current” Item, or anything else to do with current item; then use another plugin, such as Dynamic Widgets, to only include that Custom Menu Wizard widget on the full post pages where the post is in the relevant Category. You may need 2 instances of Custom Menu Wizard – one for the menu and one for the full posts … I’m not sure, because I haven’t tried it and I can’t recall for certain whether Dynamic Widgets (or similar) is flexible enough to do both jobs on one widget.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Menu Wizard disappeared on post page’ is closed to new replies.