WordPress Quicky: Use the [Shortcode] API

Another quicktipp for wordpress plugin developers. With the shortcode API you can easily provide additional commands for wordpress authors …

Read the rest of this entry »

WordPress Quicky: Exclude Categories

Another quicktipp for wordpress theme developers.

If you want to exclude one or more categories from a page (startpage, category-page), you can call the query_posts function with negative category-ids …

<?php query_posts($query_string . '&cat=-1,-2,-3'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <!-- POST -->
<?php endwhile; endif; ?>

WordPress Quicky: Register Sidebar Widget with 3.0

Another quicktipp for wordpress plugin developers. Registering a sidebar widget can end with a fatal error if you use the code from the wordpress documentation …

Read the rest of this entry »