If you ever wanted to only show the content of the category you were on in the category view of WordPress (instead of the category you are on plus all of it's subcategories - you can easily do so by adding the code below to the template that ... Read More »
SDAC Posts Tagged: WordPress Logic
All SDAC Tags:
Ajax aMember Apple bbPress bbPress Theme Bug Fixes Code conditional CSS exclude flash Graphic Design gravatars HOWTOs HTML Javascript Liquid-Web Logic Nagios Network-Monitoring News PHP SDAC-Blog SDAC-Inc SDAC-Recommends SDAC Blog Security-Updates Security Fixes Smarty Update Web-Development Web Design Web Hosting WordPress WordPress 2.3 WordPress 2.5 WordPress Blog WordPress CMS WordPress Logic WordPress MU WordPress Plugins WordPress Theme WordPress Updates XHTML XOOPSI needed to be able filter out the text "Private:" for posts and pages that were password protected but did not want to edit any core WordPress files. To filter out that text, I added the following code into my functions.php file (within my theme directory): [php] function remove_private_prefix($title) { $title = str_replace( 'Private:', '', $title); return ... Read More »