WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Is there a way to have a different name for page title and menu name? (5 posts)

  1. fifthhouse
    Member
    Posted 4 years ago #

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

  2. Dene
    Member
    Posted 4 years ago #

  3. esmi
    Forum Moderator
    Posted 4 years ago #

    Yes. Something like:

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

    in page.php should work.

  4. fifthhouse
    Member
    Posted 4 years ago #

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

  5. Calicosun
    Member
    Posted 4 years ago #

    Thanks so much from me too!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.