Site logo

Archived topic

Translate Blog Title

5 replies · Started by Sergei on October 26, 2018

Viewing posts 1–6 of 6

Hello! Can­'t find place where to rename/translate Blog title. In Appearance>Menus i rename/translate my pages and blog page too, but shows Blog title when i click on my blog page. Any way to resolve it? Image Here

Hi there,

do you have a header Element set to the entire site?
If so then in its display rules, Exclude Blog.
Then create a new header element the same as your original and in the Hero content add your own title e.g:

<h1>my Blog title</h1>

And in the display rules set this to the blog.

Im using the Article theme from Site Library. And i have three header elements Home/Posts/Global. Hmm.. Nothing changes.

The Blog hero title will say "Blog" by default, but it can be altered with a filter:

add_filter( 'generate_page_hero_post_title', function( $title ) {
    if ( is_home() ) {
        return 'Your blog title here';
    }

    return $title;
} );

Thank you Tom. You made my day.

Glad I could help! :)

This archived topic is closed to new replies.