Sidebar news gadget not updating
Once you’ve categorized your articles, the second step is to determine what you want to display and where you want to display it.
In this example, the goal is to display a list of popular posts over in the sidebar, so in order to do that, you should open the This line tells Word Press to look through its database and fetch the 5 most recent posts from the “Popular” category.
The difference, of course, is all in how you use them.
Armed with a bit of knowledge and a few lines of code, you’ll be able to use categories to: Turn your attention to the sidebar of this site, where you’ll find lists of posts underneath subheadings like “Must Reads,” “Improve Your Blog,” and “Worth a Look.” As you might have guessed, I use categories to control the content of each list, and now we’re going to examine how you can do the same.
This is a condition where users, when presented with too many options, end up selecting nothing at all. As far as blogs are concerned, categories are the single biggest contributor to both page bloat sins.
Ironically, when used properly, these same categories hold the key to efficient, automated site optimization and content management…
For the sake of this example, let’s focus on the “Must Reads,” which are controlled by the “Popular” category.
used all over the Web, categories have grown to become something that we regard in a purely user-centric light.As luck would have it, that awful category list also turns out to be a very poor presentational strategy for your site…but why? And interestingly, with Website categories, accommodating natural human behavior also turns out to be an excellent .By giving users a list of categories to browse on your site, you are creating a psychological conundrum that usually leaves them with a severe case of analysis paralysis. Dig a little deeper, though, and you’ll find that this form of page bloat is a remarkably poor site-building practice—it’s a condition that should be avoided whenever possible.We think of them as navigational tools and guides for users, but in reality, categories are a powerful tool that bloggers can use to exercise precise control over content in a dynamic environment.
Unfortunately, the true power of categorized content has been masked by the implementation you see everywhere on the Web—the proverbial long, ugly list of category links now appearing on a blog near you. Whether you’re selling products, writing copy, or designing interfaces, you can benefit from playing into basic human psychology.
Once you’ve acquired the appropriate posts, all you need to do is loop through them, displaying only the information you want.