How to Make WordPress Pages Act and Look Like Posts

How to Make WordPress Pages Act and Look Like Posts

For whatever reason (we’re not here to judge), some people would like their Pages to act like Posts.

In other words, they’d like them to be able to put them in categories and assign tags to them. They’d also like them to show up on the homepage when published (as Posts do in traditional blogging style).

If that’s what you want, you can do it. We’ll show you how below.

Categories and Tags for Pages

The first part of this equation is to get categories and tags for Pages.

You can do that with a plugin called Post Tags and Categories for Pages.

Once installed, as you can see below, you will have your categories (and tags) show up in your editor.


Your Pages will now also show up on your category pages.

Getting Pages to Appear on the Homepage

Even though the plugin above will assign Pages to categories, and those Pages will show up on your category pages, they will not show up in the stream of Posts on your homepage.

If you’d like them to, then go to your theme’s functions file, and insert the following code. (Appearance > Editor > Theme Functions – functions.php)

add_filter( 'pre_get_posts', 'my_get_posts' );
 function my_get_posts( $query ) {
 if ( is_home() && false == $query->query_vars['suppress_filters'] )
 $query->set( 'post_type', array( 'post', 'page') );
 return $query;

As you’ll be changing your theme’s files, you will want to first create a child theme.

Displaying Dates + Category & Tag Links

On a typical Post, you will have a date displayed, and also links to your categories and tags.

On a typical Page, you’ll probably have none of this.

All this is controlled by the template files in your theme. And so if you would like these things to show up on your Pages IN THE EXACT SAME WAY as they do on your Posts, you will need to find how your theme displays them for Posts and do that for Pages (page.php) as well.

Unfortunately, as different themes go about doing this is very different ways, you’ll just have to hunt around and track down how your theme does it.

You might see code with explicit references to pulling in categories and dates, etc. Or you might see them pulling in “entry-meta,” for example.

If you run into problems, contact your theme author.

All that said above, there are also snippets of basic code you can put in your theme files that will bring in things like your categories and the date. Of course your theme may style them differently, and so just putting in these snippets should give you the info, but it might not look exactly the same as it does on your Posts.

CATEGORIES: For categories, you can use something like this:

Categories: <?php the_category(' '); ?>

See more about the_category function here.

TAGS: For tags, you could use something like this:

Tags: <?php the_tags(); ?>

See more about the_tags function here.

DATES: For the date, you could use something like this:

<?php the_date(); ?>

See more about the date function here.