The Best WordPress Code Snippets

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

About John Schuster

My passion is helping business owners and entrepreneurs use the internet to find customers and make money. This includes email marketing, social media marketing, content marketing, PPC, and SEO. I work hard to be the best, and with that bring an arsenal of tools to help you business. Call me (206) 235-4131 Please feel free to use me as a resource and contact me with questions.
This entry was posted in Web Development. Bookmark the permalink.

Leave a reply