Support » Themes and Templates » Get current menu title and description as page title?

  • On my theme i have one menu in header position. and menu is registered as “top_menu”. I have searched over the internet but no luck, is it possible to get title and description from menu as a page title.

    For example on my menu i have links like

    Home – About – Services – Contact – Portfolio

    And each menu link have it’s own description. Titles and descriptions are set in admin menu management. And i want them to represent page title and description instead of classic the_title() function.

    So if i click on

    About

    my page title would be

    About
    What we do!

    If i click on

    Portfolio

    My page title to be

    Portfolio
    Our work of magic!

    Is it possible to have something like this ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Actually yes.

    Create the pages with the titles: Our work of magic and when you create the menu change the label to Portfolio. As far as description goes that all depends on whether or not the theme supports it.

    I did created it like this, but this will only display Our work of magic, where i put the_title()

    i want to display it like Portfolio Our work of magic

    I am having the exact same issue right now. Any ideas out there?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Get current menu title and description as page title?’ is closed to new replies.