Why display all your blog posts on a single page when you can display them separately in a spectacular manner? Moreover, displaying them in different categories helps you provide a unique look over the site, increases readability and the feel of the site. This post teaches you how to add posts to different pages WordPress.
To begin with, There are three main ways to do this
- Using menus
- Posts in pages plugin
- Custom page creation
1: Creating Menus to display your posts on different pages
- To display them using menus, go to Appearance>Menus. The menu editing window pops up.
2. Select the menu which you wish to edit. You can even create a new menu.
3. Select the categories option. In this select the category you wish to add in the menu. In this case, I have selected “How to”. Finally, hit “Add to Menu”. Consequently, the page gets added to the menu.
4. You can reposition your menu item by dragging them up and down the list of menus. After repositioning them select the location where you wish to view those pages. In this case, I am using the header menu.
5. If you wish to automatically add new posts to the top of the page check the box as shown below else leave it blank and finally hit “Save Menu”. You can preview the category menu added to the header menu as shown in this example.
COOL TIP: While re-positioning place your menu to a little bit right to add them as a sub-menu under the main menu
This is one of the three methods to add posts to different pages in WordPress.
WHEN IS THIS METHOD EFFICIENT?
This method can be used if you wish to view posts according to categories under menus. You can also add individual posts to the menu. This method is suitable if you wish to have more control over your menu.
2. Using the posts in page plugin
- Firstly, create a home page. For SEO reasons it is best to give your site name as the home page title. For example, I have created a homepage named “
2. Install the posts in page plugin and activate it. It will take you to a page which has a list of shortcodes, each one serving a specific purpose. For more details on how to install a plugin click here.
3. Go to Settings>Posts in page option. It offers a wide variety of codes which allows you to display them according to your wish. In this case, I am using the shortcode which helps me include posts from specific categories.
Copy the code. You can also display all posts, show posts by ID etc… by using the corresponding shortcodes.
4. Then, click on the plus sign and in the search box and type in short-code. A short code block will appear click on it.
5. After adding the short code block paste the code which you have copied inside the block.
6. Now copy the link of the category which you wish to paste. For example, I am copying the link of how to posts. To copy them first, log on to the site home page. Now click on the category. In this case, I am using the category WordPress.
7. Now copy the site address from the URL box and paste it instead of the word “slug” in the shortcode. Finally hit the update button. Now navigate back to the home page. You can find that all the posts related to the category which you have provided the link for will be displayed. Similarly, you can try and implement other shortcodes. After pasting the URL your shortcode looks as given in the following image.
Finally, go back to the home page of your site where you can find different posts under the specified category displayed automatically. Using this method you add posts to different pages in WordPress.
WHEN IS THIS EFFICIENT?
This method is efficient if you wish to have more control over your site. It helps you display posts based on categories, taxonomies etc…
3. Creating a static home page
- Firstly, create a home page. Give a suitable title for the page. For SEO reasons it is better to name the page with the site title. Finally hit publish. Now create
an anotherpage for adding your blog posts of a certain category. You can create any number of pages depending on your wish and finally publish all those pages which you have created.
2. Then, after publishing all those pages open the site home page. For example, I am going to display posts based on category. Type in as shown in the picture given below.
NOTE: This will be the homepage of your site. This is shown only for an example. Try to make your site more and more attractive. Dull sites will often be looked over.
3. Now navigate to the site homepage and click on a category. This would take you to the page which has all the posts under that category. Then, copy the link of the site from the URL box.
4. Select the part of text you wish to make as a link and click on the pin like button. This opens a link or URL box. Paste the link and hit enter. Repeat the process for the next category too.
5. Finally, Navigate toSettings>Reading.
6. Under Reading settings, check the “A static page” option. Under the Homepage, select your homepage.
After selecting scroll down to the bottom and finally hit the “Save Changes” button.
Congratulations a static home page has been created. This provides links to navigate to other pages which have your blog posts. This is one method of adding posts to different pages in WordPress.
WHEN IS THIS EFFICIENT?
This method can be used when you wish to simply display your posts in different page. But this offers less control over your site.
Frequently Asked Questions
The static page option will not be available if you are trying to view it under the reading settings without creating pages. You can view it after creating pages.
Despite the fact that, both the methods do the same thing(almost), though there is a slight difference between the both. The former one is more efficient than the latter. It directly displays the posts of a category, whereas the latter one asks you to click a link which takes you an another page and it is there your posts are being displayed.
In order to make a page static you have to publish it. Drafts cannot be made as static pages. Check it out.
We strongly believe that the above three methods would help you to add posts to different pages in WordPress. If you have any queries feel free to leave them in the comment section below. Happy blogging!