A few weeks back, I redesigned my plain looking footer to include Popular Posts, Categories, Most Recent Posts and also all the other websites & blogs where my article has been featured(All those bloggers have been kind enough to send me a logo to reuse on my site).
I didnt realize this at first, but one of my readers pointed out that some of my posts are not available. Since then I have been looking all around my site to see what may have been leading to a 404 page on my site, and until yesterday I couldnt figure out that my “Recent Posts” section was also displaying the posts that I have in a “draft” stage for future publishing.
This was really embarrassing to let my readers think I have published a particular article when I havent yet completed the same. So I started looking around to fix this and found it was pretty simple to filter out the non-published ones from appearing here.
If you are facing a similar problem, you can use the code below to rectify the issue.
Latest posts by Praveen Rajarao (see all)
- Nespresso VertuoLine vs OriginalLine - December 5, 2017
- Black Friday Deals Comparison Spreadsheet in PDF – 2017 - November 23, 2017
- 5 Must Have Eco-friendly Kitchen Gadgets - November 16, 2017