Category: Basic WP

Post Formats in WordPress

This is simply a feature flag that you can turn on or off in your functions.php file. If your theme intends to use the built-in post formats, or a subset of them, you can enable them. Post formats are essentially a way to customize the display of certain types of posts. This is most commonly […]

How to add CSS Class to body HTML node

Context: This functions adds on to the body_class() function that assigns CSS classes to the body HTML node. The default body_class()function returns many useful classes that you can hook into with your CSS styling, but sometimes you need something special. In the case of the Twenty Eleven theme, the preceding function appends classes to the […]