Rename "Blog" when using GeneratePress
When using the GeneratePress WordPress Theme, the blog page is by default named “Blog”. If you want to change that name, you can use the following snippet:
add_filter( 'generate_page_hero_post_title', function ( $title ) {
if ( is_home() ) {
return 'This is my new blog name';
}
return $title;
} );
Related Posts
- Always show "Read more" when using GeneratePress
- GeneratePress - Add Wrap Around Content
- Rename Categories and Tags Using Genesis Framework
- Rename Categories and Tags
- Rename or Change Post Type Name Using SQL Statement
- Rename or Change Taxonomy Name Using SQL Statement
- Use Google Fonts Locally With GeneratePress