Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #423541

    Currently the title of the current page that you’re on is displayed in the browser tab. How can I make it so that the same tagline/title is displayed on each page, or be able to customize individual page taglines/titles without changing the actual title used for the page in wordpress?

    #423753

    Hey caminator!

    You can change the site title and tagline under Appearance–>Customise–>Site Title & Tagline. Default behaviour is Page/Post name | Site Title. If no page or post is viewed, for instance on the blog feed page, default is Site Title | Tagline

    Best regards,
    Rikard

    #423757

    On all of my pages I’m getting Site Title | Page Name. How would I go about changing it so it’s always Site Title | Tagline on every page or Site Title | (whatever I want, not page title)?

    #423932

    Hi!

    Please try using a plugin such as this one – https://wordpress.org/plugins/wordpress-seo/ to have more control over page titles.

    Or you can add following code to Functions.php file in Appearance > Editor

    add_filter('avf_title_tag','avia_new_title');
    function avia_new_title() {
    $title = "Enfold | Here is my custom tag";
    return $title; 
    }

    Best regards,
    Yigit

    • This reply was modified 9 years, 7 months ago by Yigit.
    #489995

    Hi,
    I am using Enfold child theme but I was not able to make this code working there, it works only when functions.php in enfold folder is edited. Is there any way to make this customization in the child theme only?
    Thanks in advance!

    Best,
    Sebastian

    #490562

    Hey,

    It should make no difference, paste the code in your child themes functions.php and it should work the same way as the the parent themes file.

    Best regards,
    Rikard

    #490630

    Hi Rikard,
    If I just add it to child themes functions.php, I am having an error and the page loads with non modified functions.php. If I copy the content of enfolds functions.php to the child themes one and add the mod code, I am receiving an error message.

    Best,
    Sebastian

    #491290

    Hi,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Thanks,
    Rikard

    #491496

    Hi, sure, login details attached. :)

    I also encountered a problem in Safari (both iPhone and MacBook), when smooth page transition is enabled, clicking browser back results in blank page.

    Thanks!
    Sebastian

    #492780

    Hey!

    which kind of error message do you get? I tried Yigit’s code on my own installation without any error messages. I could not see that it’s implemented in your child theme’s functions.php though. Please put it inside.
    You could also just use the plugin he mentioned, because with it you have much more options.

    Best regards,
    Andy

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