BLOG > Category Archives: Wordpress

WordPress Widget-building Resources

Jul
25

The WordPress Widget API (Application Programming Interface) has been part of WordPress since version 2.8. The Widget API allows programmers a formulaic way to create widgets. There have been a number of tutorials and step-by-step instructions built to detail exactly how to use the WordPress API to build simple to complex Widgets. Here are a [...]

Getting Started with the WordPress NextGEN Gallery Plugin

Jul
08

NextGEN is a popular WordPress plugin for organizing and displaying photos. It extends the capabilities for storing and displaying media with WordPress by adding “gallery” and “album” content types. It comes packaged with a few slideshows and embedding options for displaying photos on a blog or website. There are also a number of NextGEN-specific plugins [...]

Enabling WordPress 3.0 Menus

Jun
30

WordPress has inched that much more into CMS-territory with the introduction in WordPress 3.0 of custom menus. Essentially, menus allow users to create custom menu structures using the WordPress Admin GUI. To enable a single custom WordPress menu, add the following code to functions.php: 1 2 3 if ( function_exists( ‘register_nav_menu’ ) ) { register_nav_menu( [...]

Conditional Comments for IE and WordPress

Jun
30

The most common use for conditional comments is to serve version-specific CSS to IE browsers. The basic syntax of a conditional comment is as follows: 1 2 3 <!–[if condition]> (what to output if the condition is true) <![endif]–> Specific Examples Conditional comments allow us to target IE browser versions in various ways. We can [...]

WordPress Tricks: Giving first and last classes to wp_nav_menu items

Jun
30

The WordPress function wp_nav_menu(); allows many useful arguments. The ‘after’ or ‘before’ argument allow a separator to be added. This comes in handy if you are wanting to style a menu to look something like the following: Menu Item 1 | Menu Item2 | Menu Item 3 | You can see I’ve added a “|” [...]