- Recent
- Popular
- Tags (4)
- Subscribers (38)
- How To: Display WordPress Categories without ChildrenToday
-
About a week ago I decided I was unhappy with the archives plugin I was using to display our archives, so I decided to build a custom archives page. This archives page is fairly basic in that it displays the categories and archives side-by-side, then all the posts below it. This way people can use Ctrl+F to quickly find posts they are looking for.
After getting the page built, I realized all of the “child” categories I use for the WordPress Hacks theme was causing some problems, so I decided to remove them from the display. After all, these posts can also be found in their parent category.
If you are displaying your categories somewhere and would like to remove the children, here is the code you’ll need (for WordPress 2.5+):
<?php wp_list_categories('title_li=&depth=1&show_count=1') ?>
The depth=1 is the important one for the purpose of this hack as it is what tells WordPress not to display more than your parent categories. By default, it is of course set to depth=0 (shows all categories). If you are wondering what other options you have, here is what the WordPress Codex lists for the depth parameter:
- 0 - All Categories and child Categories (Default).
- -1 - All Categories displayed in flat (no indent) form (overrides hierarchical).
- 1 - Show only top lev
- Will the WordPress 2.7 Core Update Feature Work With My Web Host?Yesterday
-
One of the most anticipated new features with WordPress 2.7 is the new core update feature which will automatically update your WordPress installation, removing the tedious process of installing the software yourself or waiting for Fantastico to update with the latest version of WordPress.
However, this new feature is not necessarily compatible with every web host, so it looks like the WordPress community has created a very nice list of Web Hosts that the Core Update Feature is Compatible With. It probably won’t affect whether you upgrade or not, but you can check this list to confirm your web host is included.
Related posts:
- What Plugins Are Compatible With WordPress 2.7?Yesterday
-
Due to the number of changes in WordPress 2.7, it is likely that once it is released, a number of people will quickly upgrade only to find that there theme is now broken or some plugin they rely upon no longer works correctly.
Fortunately, thanks to the availability of WordPress 2.7 beta, many plugin authors have gotten a jump on making their popular plugins compatible (or were able to confirm their plugins work fine with WordPress 2.7), and have been compiling a huge list of WordPress plugins which have been confirmed to be compatible with WordPress 2.7. If you plan to upgrade around release time, you’ll first want to determine which plugins you can’t live without and verify they are all included on this list. If any aren’t on that list that you need, you’ll want to hold off on upgrading.
Note: You can now also confirm compatibility of some WordPress themes as well.
Related posts:
- WordPress Review Site: Premium Theme and PluginYesterday
-
Have you ever wanted to run one of those review websites? They’ve been sprouting up all over the place over the past year and you may be wondering how people are building these sites so easily. WordPress users now have that option with a single premium WordPress plugin and premium theme called WP Review Site.
With this premium theme and plugin combination (you get both), you can easily create a bunch of small niche review sites by simply uploading and activating the plugin/theme combination! The theme has everything setup upon activation, so there is no need to do anything.
WP Review Site Plugin Features:
- JavaScript star rating system added to comment forms
- Posts sorted by weighted average
- Works for posts or pages
- Powers an entire website, or just selected parts of it
- Horizontal/List or Vertical/Table displays
- WordPress Affiliate Link Management
- Complete Premium WordPress Theme
- Admin panel integration (Ratings show up in comment moderation screens, and only approved comments influence the average ratings displayed on any post or page.)
- Free Upgrades for Life
Here is a sample of how WP Review Site will look using the default theme:
- “WP” WordPress Domain Name for Sale: WPTavern.comNovember 19
-
Over the past year the WordPress blogging niche has really grown and there has been a number of great people contributing to the WordPress community with their blog. Unfortunately, the popularity of the niche has resulted in every decent “WP” domain to get registered, leaving someone who wants to launch a WordPress blog without many options for quality domain names to use.
While digging through my domain portfolio yesterday, I discovered that I actually have a quality “WP” domain which I will not end up needing, so I’ve decided to sell it. The domain is WPTavern.com which stands for WordPress Tavern. Taverns are known for being great places for discussions, so I originally registered the name with the idea of either building a forum or some sort of place to discuss WordPress thoughts and ideas. In the time since that domain was registered, I actually acquired WPForums.com and a couple weeks ago launched a WordPress Forums with that domain name. I also think that this domain would also make for a great domain for a WordPress niche blog.
Long story short, if you’d like to own and develop WPTavern.com, please contact me with your offer. It is registered with GoDaddy and is trademark free. I will collect offers for 48 hours and then sell the domain.
If you have any questions about the domain or about how to acquire a domain name, please let me know.
