-
AuthorPosts
-
April 5, 2015 at 2:04 am #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?
April 6, 2015 at 4:27 am #423753Hey 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,
RikardApril 6, 2015 at 4:32 am #423757On 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)?
April 6, 2015 at 2:24 pm #423932Hi!
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, 8 months ago by Yigit.
August 19, 2015 at 12:53 pm #489995Hi,
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,
SebastianAugust 20, 2015 at 6:57 am #490562Hey,
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,
RikardAugust 20, 2015 at 10:02 am #490630Hi 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,
SebastianAugust 21, 2015 at 12:06 pm #491290Hi,
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,
RikardAugust 21, 2015 at 5:04 pm #491496Hi, 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!
SebastianAugust 25, 2015 at 10:59 am #492780Hey!
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 -
AuthorPosts
- You must be logged in to reply to this topic.