WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Is there a way to have a different name for page title and menu name?

[Resolved] Is there a way to have a different name for page title and menu name?

  • fifthhouse

    @fifthhouse

    I want to have one name for my page title and a different name for the link in the navigation menu. Is it possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I use the ‘All in one SEO’ plugin to do this.

    Leave the page title as you’d like it.

    Add the navigation menu name in the field called ‘Menu Label:’.

    It will be at the bottom of the page once you have installed and activated the plugin.

    Good luck.

    esmi

    @esmi

    Forum Moderator

    Yes. Something like:

    <h2><?php
    if( is_page('Foo') ) echo 'Bar';
    else the_title(); ?></h2>

    in page.php should work.

    fifthhouse

    @fifthhouse

    Thank you both for your help. I have All in One SEO and I used that method. Worked like a charm 🙂

    Thanks so much from me too!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Is there a way to have a different name for page title and menu name?’ is closed to new replies.
Skip to toolbar