Source site » Wordpressgarage.com


1 Star2 Stars3 Stars4 Stars5 Stars

How to list the 4 latest posts with only one post per author in WordPress

Recently, one site we were working on needed a sidebar that would show the 4 most recent posts on the site. But here’s the catch: they wanted only one post per author. And, each author had to have the role of “author” as opposed to contributor or admin.

Category: Posts | Source: | | Report Broken Link
Processing your request, Please wait....

1 Star2 Stars3 Stars4 Stars5 Stars

Search Categories and Child Categories

Recently, we had a client who wanted a special recipe search. There were 2 ways to extend the search functionality – manually or dynamically

Category: Search | Source: | | Report Broken Link
Processing your request, Please wait....

1 Star2 Stars3 Stars4 Stars5 Stars

Using PHP to alternate background colors for comments or posts

Some blogs have alternating background colors for their comments and posts, i.e. a green background for every even comment and post, and a grey background for every odd comment and post. How do they do that?

Category: Themes | Source: | | Report Broken Link
Processing your request, Please wait....

1 Star2 Stars3 Stars4 Stars5 Stars

How to rename widgetized sidebars in Wordpress

You can manage multiple sidebar widgets in WordPress. To do so, you go to the Widgets page in the Admin, and select the Sidebar you want to manage. If you have 1 widgetized sidebar, the name “Sidebar 1″ is not a big deal for managing it. But what if you have 5 or more, and they’re named Sidebar 1, Sidebar 2, etc. Ah yes, now what was that wily sidebar 3 for?

Category: Widgets | Source: | | Report Broken Link
Processing your request, Please wait....