How to Display a Different Page Title on Page vs Menu Title (2 posts)

  1. eddyj
    Posted 6 years ago #

    I have a site


    If you see on the menu i have titles like

    workplace, elderly

    when i click on them it takes me to the page and displays on the page the same wording

    Problem is i want to have a longer wording on the page, how can i do that without making it the same on the menu as I only have limited space on the menu bar so the reason why i have it in short form


  2. jonradio
    Posted 6 years ago #

    You could hand-code a menu, which is probably the best solution if your menu is only one level deep. Otherwise, I would create a custom page template that does not display the title of the page. In it, you would remove the line <h2><?php the_title(); ?></h2> and then hand code your own <h2> title in the page itself using Edit Page.

Topic Closed

This topic has been closed to new replies.

About this Topic