Here's a few code snippets for customizing the WordPress Read More link displayed in post content (with the <!--more--> tag) and post archives. For the most part, customizing the link is pretty straightforward but users sometimes run into problems when using custom excerpts (excerpts written
Create Sidebars for Each Post Category in WordPress
I wrote up some code in response to a question on the Genesis community forum. What it does is register a sidebar for each post category (including new ones) and outputs the sidebar when a single post has the corresponding category and the sidebar has a widget in it. Note that this code is specific
Create Custom Genesis Layouts
Creating Genesis Framework Layouts This tutorial walks you through creating a new, custom layout in the Genesis Framework. In this example, I'll show you how to create a simple layout that adds two custom sidebars (one-half in column width) after the main content section. In the code
Create Invoices with Gravity Forms and WordPress
This tutorial shows you how to create a custom, line-item invoice system using the Gravity Forms plugin, Advanced Custom Fields Pro plugin and a few code snippets. I wanted to come up with a simple way to create my own invoicing method that integrated seamlessly with WordPress but I didn't want to
How to Set Default and Conditional Featured Images in WordPress
I hate not being able to find a good image for the featured image. Most of the posts I write are tutorials with code snippets, not images. As a result, many of my posts can easily not have featured images. Unfortunately, though, that would (and did) cause an inconsistent flow on my post index pages
How to Change the “go” Permalink Base in the Simple URLs Plugin
The Simple URLs plugin is a great tool for managing links (i.e. affiliate links). It not only manages your links, it also masks them and lets you know how many clicks a particular URL has received. This plugin is one of my most frequently used plugins because it's useful for almost any type of
How to Create a Custom Social Author Box in Genesis
For a project I'm working on, I wanted to add a few social profile buttons to the bottom of the Genesis Author Box. While Genesis is loaded with awesome actions and filters, the author box is one area that could benefit from a few more. Since these social buttons would be inside the author box, I'd
How to Set a WordPress Custom Post Types Archive as the Home Page
As I write this, I'm working on a project that called for a number of custom post types for creating and managing content (six to be exact). To provide some context, the project is a sports blog and the custom post types are for each sport written about (NFL, NBA, MLB, etc.) on the blog. I could
- « Previous Page
- 1
- …
- 4
- 5
- 6
- 7
- 8
- …
- 13
- Next Page »