You can see that WordPress shows your latest post in the Front page or Home page by default with older posts available via post navigation on Page 1 , Page 2 etc.Today we’re sharing a tutorial on How To Show Latest Posts on a Custom Page in WordPress.
We all use different theme, and this tutorial will be helpful for those who want to show their blog post on yoursite.com/blog or yoursite.com/yourpage and for those also who wants to use a static or custom page as their home page to show latest post in a business WordPress theme.
We’re using WP_Query loop to display your blog post and its other page.
For example:
- Yoursite.com/blog – Displays Latest Post
- Yoursite.com/blog/page/2 – displays second page of posts
- Yoursite.com/blog/page/3 – displays third page of posts
How Helpful is this tutorial to you?
If you’re a pro blogger and doesn’t sell any service then this post is useless for you, but if you’re in a professional business and selling your own product or you’re affiliated to sell any product then this tutorial will definitely help you to fix all the issue related to showing WordPress blog posts.
If you want to show a custom business front page on your site and doesn’t want to install new WordPress on Yoursite.com/blog to show your latest blog post then this tutorial will help you to show your existing blog post on yoursite.com/blog.
Remove the Business template and Show posts on the Front page
This tutorial helps to set a custom homepage which shows all the latest post on a custom page.Imagine if you’re facing a problem that you installed a business wp theme like Parallax one WP theme.
This theme doesn’t show latest posts in the front page.Instead of showing all post in the front page it shows business template.If you’re facing the same problem then follow these steps to fix this issue.
Step 1.Create a Page and upload it on server
In the first step create a new page template named page-blog.php and paste this code.If you want to more than 5 posts per page then change 5 to 10.After create the page-blog.php named page, upload it to the server.
query('showposts=10' . '&paged='.$paged); while ($wp_query->have_posts()) : $wp_query->the_post(); ?> " title="Read more">
1) { ?>
Step 2.Add New Page From WordPress Dashboard
Now go to your WordPress Dashboard and create a new page named Blog or what you want from WordPress dashboard.
Click on the left menu>>Page>>New Page>>Enter the name and done.
Step 3.In the third step, search for the “Page Attributes” option and select blog in the template option in the right sidebar.
Now open the page yoursite.com/blog you’ll see that all the post will start showing on a custom page.
Nice Tutorial…Good Going Brother…Wordpress Main Bohot Logo Ko Bohot Confusion Rehti h…I Like Your Post..Keep It Up.
Nitin recently posted…Nokia to Launch Virtual Reality Headset In A Week?
Hi dear,
Nice tip. Its very help for to customize the wordpress latest post.
Thanks for sharing awesome post.
amna recently posted…Sexy Mini Lace Clubwear Dresses For Women
awesome web site to informativ i like it keep touch with you in future…. thnxxx
Very nice blog thanks for sharing.
thanks for sharing keep on sharing…..
Thanks for this method.. I think you are a coder. If i want add style to the page what should i do ?
Himanshu katiyar recently posted…Bangistan Movie 2015 Release Date ,Promo, Preview,Cast
Hi Vinayak,
WordPress makes it easy to display your blog posts just about anywhere. In this article how to display posts on any page using a custom WP_Query loop that supports post navigation, which can be super-useful when configuring WordPress as a customized CMS.Thanks for shared.
Eva Rays recently posted…Get CM Browser for PC Download & Surf Web Securely
Vinayak, thanks for the detailed tutorial. I knew I needed to add a blog to my website but if I haven’t done something before, I really struggle unless I have detailed instructions to follow. This post is perfect. Thanks!
Peter recently posted…Masonry Restoration Chicago
nice post…its very helpful information….
Thanks for awesome share this post i like this site..
zubicool recently posted…SolidWorks 2015 Crack, Serial Number Full Free Download
Tattvaa Yogashala offers the opportunity to journey into the depths of your yoga practice. Located in Rishikesh, the yoga capital of the world, on the banks of the holy Ganges River, our school offers a natural haven for those who seek an experience and environment in which to evolve in body, mind and spirit. We are globally known for world class Yoga Teacher Training in Rishikesh, India.
Yoga Teacher Training in Rishikesh || Hatha Yoga Teacher Training in India
200-hour residential new to ashtanga yoga teacher training course in India with Yoga Alliance USA RYT 200 Certification at Yoga School Tattvaa Yogashala, Rishikesh.
Yoga Teacher Training in Rishikesh || Hatha Yoga Teacher Training in India
300-hour residential Ashtanga Vinyasa yoga teacher training courses in India with Yoga Alliance certification at yoga school Tattvaa Yogashala, Rishikesh.
Yoga Teacher Training in Rishikesh || Hatha Yoga Teacher Training in India
500-hour (200 Hour + 300 Hour) residential Ashtanga Vinyasa yoga teacher training courses in India with Yoga Alliance certification at yoga school Tattvaa Yogashala, Rishikesh.
Yoga Teacher Training in Rishikesh || Hatha Yoga Teacher Training in India
Uttarakhand Tour Package
Uttarakhand Tour Package – The Amazing Uttarakhand provides all type of Packages in Uttarakhand like Honeymoon tour, Trekking Packages, family tour packages.
Uttarakhand Tour Package | Family Tour Packages for Nainital | Nainital Tour Package for Family | Nainital tour Package | Nainital Honeymoon Package | Nainital Family Tour Package | Chardham Yatra Package | Chardham Tour Package
Viral Uttarakhand: All about Uttarakhand with latest news and elections, BJP and Congress battle. Issues in Dehradun due to Covid-19. Unemployment in Haridwar, Rishikesh. Migration in the hills.
Viral Uttarakhand recently posted…नैनीताल सीट फतेह करने वाली पहली महिला रही हैं सरिता आर्य, जानें कैसा रहा है सफर
Yoga Teacher Training India
Vishwa Shanti Yoga School is Rys 200 and Rys 300 conducting affordable intensive residential 200, 300, and 500-hour hatha yoga teacher training international certification courses affiliated with Yoga Alliance USA in Rishikesh, India for beginners, intermediate to advanced level yoga practitioners. The Program includes of few Ashtanga yoga sequences.
yoga teacher training rishikesh | 200 hour yoga teacher training india | 200 hour yoga teacher training rishikesh | 300 hour yoga teacher training india | 300 hour yoga teacher training in rishikesh | 500 hour yoga teacher training in india | 500 hour yoga teacher training in rishikesh | oldest yoga school in rishikesh | yoga school rishikesh | yoga school india | best yoga school in india | best yoga school rishikesh
We offer Yoga teacher training in Rishikesh, designed for beginners to advanced yoga practitioners, with international yoga certifications (RYT 200 & RYT 500) recognized by Yoga Alliance.
Yoga Teacher Training in Rishikesh || 200 Hour Yoga Teacher Training India || 300 Hour Yoga Teacher Training India || 500 Hour Yoga Teacher Training India || 200 Hour Yoga Teacher Training Rishikesh || 300 Hour Yoga Teacher Training Rishikesh || 500 Hour Yoga Teacher Training Rishikesh