How to Display the Title for the Posts / Blog Page in WordPress

Displaying proper page titles is very important for allowing a WordPress website visitor to know what section of the website they are currently viewing. Unfortunately WordPress doesn’t make displaying a proper page title for the ‘Posts’ aka ‘Blog’ page all that easy. In this tutorial we will teach you a simple method for displaying the title on your WordPress posts page.

Step 1: Create the WordPress Posts / Blog Page

In the first step of this tutorial we will need to create the page that you want to designate as your Posts / Blog Page. Follow the steps below:

  1. In the WordPress Dashboard visit ‘Pages’ -> ‘Add New’
  2. Title your page; we will title it ‘Blog’ for the purposes of this tutorial
  3. Publish the page

Step 2: Adjust the WordPress Reading Settings

In the next step of this tutorial we will need to adjust the ‘Reading Settings’ in the WordPress Dashboard to reflect our desired setup. Follow the steps below:

  1. In the WordPress Dashboard visit ‘Settings’ -> ‘Reading’
  2. Look for the first section titled ‘Front page displays’
  3. Check the option that says ‘A static page’
  4. Select whatever page you want to display as your ‘Front page’
  5. Select the page we created in Step 1 as your ‘Posts page’

Step 3: Display the Title for the Posts / Blog Page in the WordPress Template Theme File

In the final step of this tutorial we will display the title for the posts / blog page in the WordPress template theme file. Open the index.php template theme file, then copy the code below and paste it wherever you want to display the title in your code.

PHP

<?php single_post_title(); ?>

Troubleshooting

If you are having problems getting this tutorial to work please reread the tutorial and try again, if you still cannot get it to work please leave us a comment below and we will respond as soon as possible. Please do not email us with problems regarding this tutorial, only comments will be responded to.