Home Forums Free Themes Photo Perfect Homepage Title on Webbrowser

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7032
    Renieh
    Participant

    Hi all,

    can you please tell me how I can set the title of my “Home”, that will be displayer in the browser.

    Currently it says “Datenschutz” which is one of my posts, but I would like to change that to Home.

    https://www.shotroom.com/i/843/6MR7K

    Best Regards

    Renieh

    #7043
    wensolutions
    Keymaster

    Hi @Renieh, this is what you need to do.

    add_filter('pre_get_document_title', 'change_the_title');
    function change_the_title() {
        return 'Home';
    }

    Make a Child Theme and paste the above code in your functions.php file.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.