WordPress.org

Support

Support » How-To and Troubleshooting » How to Display a Different Page Title on Page vs Menu Title

How to Display a Different Page Title on Page vs Menu Title

  • I have a site

    http://www.beheardantibullying.info/

    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

    thanks

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘How to Display a Different Page Title on Page vs Menu Title’ is closed to new replies.
Skip to toolbar