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)
- Coffee The Only Energy Boost That’s Good For Your Body - August 17, 2017
- Everything You Need to Know About WordPress Survey Plugins - July 18, 2017
- Top Rated PS4 Games in 2017 - July 12, 2017