Built-in WordPress Taxonomy & Post Type Reference

Below is a list of WordPress built in taxonomy names and built-in post type names. Never name your custom taxonomies and post types with one these to avoid collisions. Taxonomies category — Categories (Posts) post_tag — Tags (Posts) nav_menu —…

Angular On Enter Key Directive

I’ve been doing a lot work with Angular.js lately, and I continue to find directives more and more useful. Here’s a common directive I frequently use to trigger a scope method when the `ENTER` key is pressed.

Pulsating Text with CSS3 Animations

The following snippet of HTML, CSS and JavaScript will provide you with a pulsating text effect that fades in and out infitately over a 3 seconds. This is nothing new or spectacular, but it was hard for me to find…

JavaScript Object Comparisons

The lodash library’s isEqual() method provides a deep comparison between two JavaScript objects: var user1 = { name : “nerd”, org: “dev” }; var user2 = { name : “nerd”, org: “dev” }; ( user1 == user2 ) // returns…

SiteOrigin Page Builder Content Conditional

I’ve been working with the Site Origin Page Builder plugin a lot lately, which is wonderful and I highly recommend it for WordPress CMS development. I found myself in need of a basic SiteOrigin Page Builder conditional function to check…

Static Site Engines with Node.js + Express

Last night (February 13, 2015) I presented at the Boston Node.js Meetup hosted by LogMeIn. I shared an approach I’ve used working to build a static site engine using Node.js for MIT Technology Review. It was a fun experience, I…

Wildcard Find & Replace in Sublime Text

This should have been easier for me to understand, but regex still gives me headaches. For anyone wanting to run a search and replace in Sublime Text that contains wildcard values this can be used: [^<]+ For example, we could…

A Simple Node Static Server

Serving static HTML, images, stylesheets and scripts with Node.js isn’t as out of the box as you might expect. Most developers coming from a PHP or Rails background might be surprise to find that you’ll need to configure a static…

WordPress Sample Content

When you’re designing or developing a WordPress theme it’s important to provide the proper CSS styles for the various elements that the TinyMCE editor can output. Use this sample WordPress content to quickly test out the way headings, lists, paragraphs,…

WordPress Themes, Meta Boxes & Modern Layouts

Modern websites have many different templates and page layouts. Quite often these templates can’t be effectively managed using just a WYSIWYG editor. To build a successful custom WordPress theme you need to make managing modern page layouts as easy as…

Integrating Pardot & WordPress

Pardot is a wonderful marketing automation tool that can automate some of the tedious tasks of integrating a website with SalesForce. Integrating a website with Pardot is a multi-stage process that varies from organization to organization. From a high level…

Remove The “Posts” Menu From WordPress

I found myself in a scenario today where I needed to remove the “Posts” menu item from the WordPress admin. I worked with this function to do it, so I thought I would share it here. If anyone else out…

Working With Dublin Core Metadata

The Dublin Core is a relatively up and coming metadata standard that assists with describing a digital document or resource. By providing a set of standard elements that to accurately describe the contents of a webpage, the Dublin Core is…