Reply To: The changes are not displayed

Home Forums Support The changes are not displayed Reply To: The changes are not displayed

#161128
Tom
Lead Developer
Lead Developer

Hi Dani,

Generally there’s no title on the blog page – it just shows your posts.

However, you can add a title quite easily with this PHP:

add_action( 'generate_before_main_content', 'generate_add_blog_title' );
function generate_add_blog_title()
{
	if ( ! is_home() )
		return;
	?>
	<header class="page-header">
		<h1 class="entry-title" itemprop="headline">My Blog Title</h1>
	</header>
	<?php
}

Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

Let me know if you need more info 🙂