wordpress php code example

These are my personal favorite WordPress code snipets. One of the biggest advantages of using WordPress is the large developer community that is constantly coming up with new functionality. Some of this WordPress functionality is implemented through plugins but many are just snipets of code that you can add to your website. This is a living document so be sure to bookmark this post as it will continue to evolve. The code snipets used in this post are under general public license and when possible attributed to the authors where I found them. To add these code smippets to your website simply edit and drop the code in your functions.php after the opening <?php tag.

Warning: Make sure you have FTP access and backup your original functions.php file before making any changes.

Adding custom text and links to your footer in Genesis

Changing the latest posts on the home page to display only certain categories