Title: Link on Menu title ?
Last modified: August 24, 2016

---

# Link on Menu title ?

 *  Resolved [l r](https://wordpress.org/support/users/lainyrache/)
 * (@lainyrache)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/link-on-menu-title/)
 * Hi
    This plugin is doing very nearly exactly what I would like it to… I would
   like the branch title to appear as a title for the menu… but I would like the
   title to link back to the page. Eg **About us** <– Links to About us page
    -  Our Work
    - People
    - Commitee
 * Is this possible?
    Thanks
 * [https://wordpress.org/plugins/custom-menu-wizard/](https://wordpress.org/plugins/custom-menu-wizard/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [wizzud](https://wordpress.org/support/users/wizzud/)
 * (@wizzud)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/link-on-menu-title/#post-5958855)
 * Sorry, but at the moment there’s no easy way to do this.
 * CMW effectively consists of 2 parts : there’s the code that controls and builds
   the widget, and there’s the code that does the actual filtering and builds the
   menu. The title is really part of the widget code, but the widget allows that
   title to be overridden by a value passed back to it from the filter code. Unfortunately,
   the filter code currently _only_ passes back the menu item’s title, nothing else
   about the menu item (such as its href).
    It’s still possible to hook into the
   widget’s `widget_title` filter and wrap the title in an anchor, but your code
   would have to go fetch the menu for itself, scan through the items for a title
   match (hoping there’s only one!), construct the link using the item’s href, and
   pass it back to the CMW widget instance. As I said, not easy.
 * I’ll look into providing an option for CMW to do it … but I can make no promises.
 * PS. I’ve made an assumption that you are configuring CMW for Branch = Current
   Item, **however** if you are using it with a specific menu item as the Branch
   then you might be able to use something like the [Widget Title Links](https://wordpress.org/plugins/widget-title-links/)
   plugin?
 *  Plugin Author [wizzud](https://wordpress.org/support/users/wizzud/)
 * (@wizzud)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/link-on-menu-title/#post-5959065)
 * I have just released v3.1.4, which, besides a couple of bug fixes, has a new 
   option in the Output section – below `Set Title from` – that might do what you
   asked me about.
 *  Thread Starter [l r](https://wordpress.org/support/users/lainyrache/)
 * (@lainyrache)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/link-on-menu-title/#post-5959127)
 * Thanks Wizzud!
    Sorry for the slow reply- I’ve only just got round to working
   on this again… and yes your new upgrade does the job perfectly! Thanks for all
   your help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Link on Menu title ?’ is closed to new replies.

 * ![](https://ps.w.org/custom-menu-wizard/assets/icon-256x256.png?rev=1381901)
 * [Custom Menu Wizard Widget](https://wordpress.org/plugins/custom-menu-wizard/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-menu-wizard/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-menu-wizard/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-menu-wizard/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-menu-wizard/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-menu-wizard/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [l r](https://wordpress.org/support/users/lainyrache/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/link-on-menu-title/#post-5959127)
 * Status: resolved