Get current menu title and description as page title? (4 posts)

  1. Aleksandar
    Posted 1 year ago #

    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


    my page title would be

    What we do!

    If i click on


    My page title to be

    Our work of magic!

    Is it possible to have something like this ?

  2. 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.

  3. Aleksandar
    Posted 1 year ago #

    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

  4. Kyprulez
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic