• Hi,

    I have a blog. I added the blog title in setting, and it appears on all pages and posts. Good. However, I want to customize the title only on front page (home), is it possible? I know I can use Yoast plugin or any other SEO plugin for that, but is there a way to do it in the theme itself? I do not want to use these plugins.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can use custom CSS to do this very easily.

    But we need to see and examine your site before we can give you the CSS code to use.

    Standing by.

    Thread Starter AJ20152015

    (@aj20152015)

    I am not sure you have understood my question. I will explain further.

    Example your blog name is “I Love WordPress – Tutorials | News | Ideas”

    Basically, your blog name is just “I Love WordPress”. The “Tutorials, News and Ideas” are just a short description. On the homepage, you want this to appear like that. But this will appear on your post titles as well because this has been added in your General Settings.

    What I want is, to make this appear only on homepage and while the rest of the pages or posts, only “I love WordPress” is added to the titles.

    Ooops, my bad.

    I read “front” as font, which is why I mentioned CSS ??

    The <title> tag is very likely in your theme’s header.php file, which is included on all pages. But you should able to add a conditional tag (ie if this is the homepage, use this specific title… otherwise use the normal scheme for generating titles) to have a unique title for the homepage.

    That’s easy enough to do in 30 seconds if you’re to edit the theme file directly. But this is generally not a good thing to do, because you’ll lose your changes when you update the theme. The solution to this is to use a child theme, which complicates matters somewhat.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change front page title only’ is closed to new replies.