Support » Plugin: Custom Permalinks » Custom Permalink and Current Page/Ancestor in Menus

  • Is your Custom Permalink plugin able to interact with Menu classes?

    For instance, I have a menu that includes the parent as one of its list items. If a page, say, includes that menu, the list item for will get a class, something like current-page-ancestor. This is useful for styling that link so users know what section of the website they are on.

    But I will have pages whose parent will not be (a feature I can’t change), but I want it to appear that is the parent. For instance, the page is So I’m using the Custom Permalinks plugin to change the permalink to But in doing this, the menu does not recognize that is the parent, and no class is added to the menu’s list item. Is there any workaround for this?

  • The topic ‘Custom Permalink and Current Page/Ancestor in Menus’ is closed to new replies.