Do You Know How To Move A Post To Another Page In WordPress?
August 15th, 2016 | by Ravi Chahar || 2 Comments |
There are many people who crave to show their latest posts on the home page instead of showing the static page. I have recently noticed that people are asking for how to move a post to a new page in WordPress? If you’re thinking that you can shift your old published post on from the tenth page to the third page then it can’t be done.
But you can show it on your first page. In this post, I am going to cover a few things related to the shifting of the post and setting the home page of your website.
How To Move A Post To A New Page In WordPress?
If you are developing a WordPress and want to show the post of any category on the home page then you can set the no. of posts using the “wp_query” shortcode used in the theme development.
It is an amazing shortcode used in many places. You can use it to set the related posts under each post. It is dependent on your code whether you want to show the recent posts, random posts, post with categories. You can check the shortcode from the WordPress developer’s website.
You have to place the loop using the conditional statements to show the static home page. A file with the name “front-page.php” is required to create a custom home page.
If you just want to show your recent posts as the home page of your website then you can do that from the WordPress admin panel. Let me show you the steps.
Step 1:- Go to settings>>reading from your WordPress dashboard.
Step 2:- At the top of the page, the first option is to set the “Front Page display”. Just click on the radio button stating “Your Latest Posts” to show on the home page of your website.
Step 3:- If your theme has a custom home page then you can set the “static page” then select that custom page as the front page and the blog page as the posts page.
Move Posts In WordPress.
To set a particular post on any page, you can create a new category and then add the post in that category. It would help you set the page place.
You should know that the most recent posts are displayed on the blog page of your website. If you want to show your old posts on the front page then you can add the last updated code in your theme.
It would show the last updated date, not the published date. it would help you to shift your old posts on the blog page so that people can see the posts just after landing.
Have You Set The Home Page For Your Blog?
The above-mentioned process can be used to set the homage page and the blog page according to your wish. If you have a custom theme which as an amazing home page then set that home page as the static page from the reading section.
The blog page should be showing the list of the blog posts. If you want to move posts in WordPress then you can use the “wp_query” function or you can delete the old post and publish it again on the desired category and redirect that page to the new one.