Skip to main content
darrinb
  • About
  • Blog
  • Work
  • Code

Code

Display Random Post Tags

Since get_terms() doesn't have a RAND option, I wrote this little script to display random WordPress post tags.

April 15, 2016 by: darrinb
Tagged: WordPress

Bootstrap Link Pages

A handy Bootstrap replacement for the WordPress wp_link_pages() function. This file contains bidirectional Unicode text that may be interpreted or

March 24, 2016 by: darrinb
Tagged: Bootstrap WordPress

Add category Taxonomy Support for all Post Types

Adds category Taxonomy support for all registered WordPress post types.

January 11, 2016 by: darrinb
Tagged: taxonomies WordPress

Add post_tag Taxonomy Support for all Post Types

Adds post_tag Taxonomy support for all registered WordPress post types.

January 11, 2016 by: darrinb
Tagged: taxonomies WordPress

Include All Post Types in category Taxonomy Queries

Instruct WordPress to search on all post types when doing a category taxonomy query.

January 11, 2016 by: darrinb
Tagged:

Include All Post Types in post_tag Taxonomy Queries

Instruct WordPress to search on all post types when doing a post_tag taxonomy query.

January 11, 2016 by: darrinb
Tagged:

Filtering the WordPress Email Fields

I use these two functions to filter the from email address, and the from name for emails sent from the site.

January 11, 2016 by: darrinb
Tagged:

Add an ID Attribute to the WordPress Body Element

An easy way to add a custom, dynamic ID to the body element on your WordPress Posts and Pages.

August 23, 2013 by: darrinb
Tagged: WordPress

Customize the WordPress Post Class

A small script that adds page classes to a multi-page post.

August 23, 2013 by: darrinb
Tagged: WordPress

Customize the WordPress Body Class

A short script to add custom classes to the body element of your WordPress page template.

August 23, 2013 by: darrinb
Tagged: WordPress

External Link Script

A handy jQuery script to add target="_blank" to all external links.

May 12, 2010 by: darrinb
Tagged: javascript

Raw HTML in WordPress Posts

Encodes text in posts between special quicktags.

May 12, 2010 by: darrinb
Tagged:
« Previous Projects

Built with precision. Powered by WordPress.

Copyright © 2008–2022

Powered by WordPress. Hosted on (mt). Theme by (db) ← me.

Do NOT follow this link or you will be banned from the site!