Topic: WordPress Development

Tips, tricks, and tidbits of working with WordPress. Writing functions that work to extend the WP core and extend the user experience. Developing for needs vs. wants. Using WordPress as a CMS. Extending WordPress beyond. (9 Articles)

Adding and Filtering Raw HTML in WordPress Posts

How to avoid manually encoding code in WordPress posts.

Digging Into the WordPress functions.php File

In this article, we’ll discuss some recommended useful functions to include in your WordPress “functions.php” file.

Adding a Custom ID to the Body Element in WordPress

In this article we’ll discuss an easy way to add a custom, dynamic ID to the body element on your WordPress Posts and Pages

Customizing the WordPress body_class() Function

In this article we'll discuss a short script to add custom classes to the body element of your WordPress page template.

How to Paginate a Custom WordPress Query Loop

On a recent project for a client I needed a way to have a WordPress Page contain both static content editable by the client and dynamic content added/updated every time they made a new Post. Additionally the dynamic content had to be paginated. Ultimately the goal was to a have…

Opening External Links in a New Window Using jQuery

In this article we’ll discuss working with external links and the semantically correct user‐friendly developer‐friendly way to get them to open in a new window or tab using the jQuery library and a small jQuery script. Additionally we’ll review how to implement this in a WordPress installation. Linking to external…

Excluding Certain Posts Or Pages From Search Results In WordPress

I recently needed a way to exclude certain posts and pages from showing up in WordPress search results. The purpose was to exclude certain posts tagged with certain key-words and all non-post Pages from showing up in the results. The current cproject I’m working on involves using some posts in…