Header title different from website title

  • Posted in : uCard
  • anquadros
    Participant

    Hello there!

    I’d like to have a different word as the title in the header (the one above the rotating words) than the website’s title. How could I accomplish that?

    Thank you!

    serkan
    Moderator

    Hi, Please go to appearance > customize > site identity > re-write the site title and save it.
    Thanks

    anquadros
    Participant

    Thanks for the quick reply, serkan.

    But if I change the site title there, I change the title in both places.

    What I want is to have something like “XXXX” as the site title (the one that will appear in the browser tab), and something like “YYYY” as the main title in the header (the one above the rotating words). Got it?

    Thanks!

    ahmetsali
    Keymaster

    Hi, sorry but this is not possible by default.

    anquadros
    Participant

    Hi, @ahmetsali.

    Could you pls indicate me in which line of the code I could hardcode a different header title?

    Thanks!

    ahmetsali
    Keymaster

    Hi again,

    1-) Go to Appearance > Editor and select “Theme Header (header.php)” on the right side of the screen, then search for (ctrl + F) this code;

    echo esc_html($site_title);
    

    and change it to this one;

    echo 'Your Name';
    

    then hit save.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register