• Resolved the_duck

    (@the_duck)


    Diane, I love your plugin. Currently, when a main menu category is clicked, the category archive page is shown. One functionality that I would like is to disable the category link, so that, when the mouse is over a given main menu item, only the sub-menu is displayed and clicking the category text does nothing. Is this possible? and, if so, can you give post the code changes? If you cannot, can someone else help?

    http://wordpress.org/plugins/category-posts-in-custom-menu/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi the_duck,

    the easiest to achieve this is to create a Link (Appearance > Menus > Links) without URL. Then, below that link, you create a category for which you tick “Create submenu containing links to posts in this category.” and you set “Remove original menu item” to “Always”

    Kind regards,
    Diana

    Thread Starter the_duck

    (@the_duck)

    Hi Diana,

    Your solution worked perfectly! I really love your plugin as it gives me great versatility for setting up navigation (the sort function is an added bonus as each menu item can be sorted uniquely). I have combined your plugin with one that allows Pages to given categories and tags. Now, I just create a page, assign it to the target category and it is automatically added to the right menu item.

    I look forward, with great anticipation, to your next plugin.

    Keith

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove the link from the category text?’ is closed to new replies.