Greetings, ever evolving stranger on the internet! So, I am assuming that you are interested in WordPress, which the best free blogging platform in the online realm. Or maybe, you want to decode the practice of WordPress blogging. Either way, I am here to guide you through a specific process on this platform, where the magic of creation can be experienced. The essence of the article is on how to create WordPress Blog Post Pages on this platform.
In this article, we will be dealing with the process of creating a separate landing page on your blog.
If you have even a slight bit of experience working on WordPress, you might already know that the default WP mode is the home page. The home page is where you customize and align the blogs that you create. As you update and add more blogs, the home page also keeps on changing. Whenever you update and build a blog, the home page also keeps on changing.
But what if you desire to change the static homepage and add a separate blog post in place of the home page? Seems a bit out of norm? Well, fear not.
You only need to follow the simple steps below:
- Go to your WordPress Admin Page
- Go to Pages » Add newto create a new page.
- Name this page according to your preference. For example, Home.
- Go to Page Attributes on the right hand side of the present page, and then choose a template. (Refer to the image below)
By following these steps, you can create separate pages. Once this is done, you will need to add your own touch to the pages. WordPress uses template files called page.php for determining the appearance and layout of your page. Thus, in order to experience the true freedom of page customization that WordPress offers, you will require a bit of background knowledge perusing HTML, CSS, and PHP.
Firstly, WordPress should know that the page you’re referring to is your FrontPage. Now, it would be glorious if spelling it out would’ve been enough, but sadly, it isn’t.
So, what you need to do is to open the editor on notepad and add the following code to the top of the file.
<?php /* Template Name: Front Page Template */ ?>
The template name can be anything and it need not be “Front Page Template.” You can add any name you like, depending on the content that you want to put up in place of the home page. But, as an example, we would be using Front Page Template as the name of the file right now.
Once the code is pasted, save the file to your desktop with .php as the suffix. Here, let’s just use the instance, template-home.php
Now, connect to your website using the File Transfer Protocol (FTP) network.
Next, go to the Child Theme or current theme folder. This is usually found in:
Upload the custom page template to your theme.
Now, if you observe, the “Pages Attribute” box will have the “Front Page Template” Option.
Click on this, and you can select the template you just created.
Next go to the top right corner and select, “Screen Options.” This will open up the “Show on Screen” box.
Select the discussion box, so that discussion is visible on the screen. (refer to the image below)
Once the above discussion box appears, you’ll have to uncheck both comments and trackbacks. This will efficiently disable the discussion on the home page making it static in nature.
When you have completed the above steps, you’ve successfully created a customized home page.
Follow the same steps above to create a page for blog posts. You can disable the discussion option even on the blog post. This way, only blog posts will be added to this page as you upload but no discussions will be shown. This will give the blog page a neat and organized countenance.
Many WordPress themes come with different templates and can be used for Homepage as well as Blog Page attributes. But if you have a theme that does not provide separate templates, you can always choose the default theme and this way you need not use extra plugins.
Till now, we have created two customized pages. Now, the next step is to tell WordPress which page is our static homepage and which one will be used for WordPress blog posts pages. Again, our layman imperative commands won’t work efficiently on WordPress.
So follow the following steps:
- Go to Settings » Reading
- Select “A static page” under the “Front Page Displays” option.
- Below that choose your designated Front Page and Posts Page from the drop down menus.
- Save changes.
Next step is making sure that your WordPress Blog Posts Page shows up in the navigation bars and menus.
For this, simply go to: Appearance » Menus and add the designated blog posts page.
Remember after doing all of this, save your changes.
Once this is done, reload your site and check all the changes you’ve made.
Hope this article helped you. Do let us know if you have explored and found out better ways of doing this. There are no limitations in the digital wilderness after all and we also serve WordPress Development Services .