• brandonpetersondesigns

    (@brandonpetersondesigns)


    Hello anybody reading this! I’m working on a blog and I really like how Huffington Post has the post title directly in the menu.

    Example: Go to the link I added, or visit any Huffington Post article and start scrolling down.

    My question is simply: How can you add the current page title as the menu label?

    Is there an easy way to do this that I am missing? I’m assuming not. Searched tirelessly, but I couldn’t find anything (and I’m not a developer). Thanks ahead of time!

    The page I need help with: [log in to see the link]

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

    (@jcastaneda)

    THEME COFFEE MONKEY

    From a quick look it appears they are using a cloned menu. Essentially the second menu gets displayed because a CSS class gets added when the sticky menu is created.

    I know there is a filter that can be used for wp_nav_menu which could be useful but would require some code in order to make it happen.

    Thread Starter brandonpetersondesigns

    (@brandonpetersondesigns)

    I’m not very code savvy but yeah it does appear that they use 2 menus. However, that’s besides the point. I just need to know how to add the current Page/Post Title to the menu.

    Can’t find the solution anywhere.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do you add the current Post/Page Title as a Menu Label?’ is closed to new replies.