WordPress includes a couple of handy functions for retrieving the links to "previous" and "next" posts. They are get_previous_post_link() and get_next_post_link(). These functions, while useful for retrieving/outputting a simple link (HTML gets output), don't allow for much customization to the
How to Bypass WordPress Login Forms – Automatic Sign In
I created this plugin to use while working locally on my projects. Not that it's a big deal, but I find it annoying to have to log into my local development sites. The WP Auto Login plugin adds a setting to the General settings page. To use the plugin, you do the following: Enter a username
Force GitHub Gist Embed Links to Open in a New Tab
Since I create a lot of tutorials and use GitHub for source control, I embed a lot of gist files to show the code used in my tutorials that include snippets. While the code is displayed in the post, readers often need to view the raw source for easier copying/pasting. In the bottom section of the
How to Retrieve and Display WordPress/JetPack Site Stats
WordPress.com Stats via JetPack In case you're not familiar with JetPack, it's a plugin that includes a variety of different features for your WordPress website. Among these features are things like the JSON API, comment form, markdown, mobile theme, and a bunch more. Most of JetPacks
Add Font Awesome Icons To WordPress Menu Anchor Text
UPDATE: To add font-awesome icons directly to a menu-item's anchor tag, just add the icon markup (i.e. <i class="fa fa-twitter"></i>) to the menu item. I don't know why I didn't just do this the first time around. As long as Font Awesome is added properly, it will work. A while back,
How to Integrate Easy Digital Downloads Software Licensing with Genesis Theme Settings
A while back, Carrie Dils asked me in the Genesis Slack (something I, sadly, have used very little) if I knew of a way to integrate the Software Licensing add-on for Easy Digital Downloads with Genesis. In a nutshell, it's actually quite simple if you're familiar with the coding concepts involved.
How to Automatically Empty Akismet Spam Queue Daily
I recently had to switch back to using Akismet for anti-spam because my previous solution, WP Zero Spam, was causing issues with Gravity Forms, such that forms were not being submitted and I wasn't getting any contact messages. By default, Akismet wipes the comment spam queue every 15 days, which is
Retrieve Custom Post Type Archive Settings in Genesis
When creating custom post types while running the Genesis Framework, you can add a support for the custom post types called genesis-cpt-archives-settings. This support creates an "Archive Settings" sub-menu page for your custom post type where you can set things like a headline, intro text, layout,
- « Previous Page
- 1
- 2
- 3
- 4
- 5
- …
- 13
- Next Page »