When your website means business.

PHP, Template Tags, WP/CP | Type: PHPDisplay the Title for the Posts / Blog Page

You can’t use the standard the_title(); template tag for the page name of the page that displays the blog listing (index.php); that tag will display the latest blog post title rather than the page title.

Instead, use this template tag:

<?php single_post_title(); ?>
We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept