Wordpress Tips and Tricks

Customise each category with a different masthead or intro

Tests for a specific category-ID using the in_category function. If the category returns the appropriate test result, a different CSS class will be displayed. From Codex: Style_Posts_From_Some_Category_Differently

Exclude any posts listed under a specific category from being seen on index.php

Tests for a specific category-ID using the in_category function. If it is true, The Loop will skip processing that post and go to the next one. From Codex: Exclude_Posts_From_Some_Category

Making it look like multiple blogs on the same page

You can style a category of posts to look like a separate blog by creating multiple Loops. From Codex: Multiple_Loops

 
lists/wordpresstipstricks.txt · Last modified: 2023/08/13 12:54
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki