From time to time, we like pulling titles out of the normal flow of the page and put them somewhere else. Like above the content-sidebar div (or whatever div holds the page content). This causes problems, though; a customized homepage layout ends up with an unwanted title, category and archive pages display the first post [...]
Evaluate Types & Views Content; Don’t Display Empty Fields
CPT Single Post Template with Content Check
This code is written to work with Pippin’s Easy Custom Post Types. While we’re making heavy use of Types & Views these days (check them out, they’re effin’ awesome), we thought this code might be handy to someone out there in WP land. We used this function to create a custom post type for listing [...]
Use custom field to assign content well background
Members-Only WordPress menus
// register the new sidebar; this will hold a WP custom menu widget, give it a logical name register_sidebars(1,array(‘name’ => ‘Members-Only Menu’, ‘before_widget’ => ‘<li id=”%1$s”>’, ‘after_widget’ => ‘</li>’, ‘before_title’ => ‘<h3>’, ‘after_title’ => ‘</h3>’ ) ); // create function to display widget // this menu is limited to user levels above “subscriber” function widgetized() [...]