-
General
How to add new variables to Paid Memberships Pro email templates
In a recent project I was looking to add new variables to the email templates add-on of the Paid Memberships Pro plugin for WordPress. The...
-
Wordpress
How to get posts by page template in WordPress
For a recent project I wanted to get all pages by page template. Looking at the codex for WP_Query I wasn’t able to find anything for...
-
General
Dear "I have an app idea I want built, but I'm afraid to share it",
I know it can be a scary, but an exciting moment when going down the path of building your own app. We know there takes a lot of work and...
-
HTML
Building responsive and fixed aspect containers with HTML and CSS
Here’s a simple way to build containers that maintain aspect ratio as screen size changes. The cool thing with this method is that...
-
Parse
Use Moment and Moment Timezone with Parse Cloud Code
So you want to use Moment and Moment Timezone on Parse.com using Cloud Code. The first thing you’ll probably see is that the Moment...
-
Javascript
How to create a CSV export on the client-side (with javascript)
This is a really awesome script which works great for javascript applications. If you’ve saved JSON objects in the DOM, use the...
-
General
How to redirect www to non-www with the .htaccess
I’ve seen this done many ways, but my go to script is simple and doesn’t require any customizations for each domain....
-
General
Remove iPhone Safari blue highlight on phone numbers
This is a simple one, but on a mobile responsive theme I noticed in Safari the phone numbers where automatically highlighted in blue,...
-
Javascript
How to trim all cells in Google Spreadsheets
I’ve been using Google Spreadsheets to clean data and I recently discovered this little script to trim (remove leading and trailing...
-
Cordova
Cordova iOS Disable "Shake to Undo"
As a developer building iOS Cordova mobile apps that have forms I’ve come across the “shake to undo” feature multiple times....
-
Javascript
How to make a div sticky to the top when you scroll
I’ve seen this one done many different ways, but I wanted the simplest way to do this with just jQuery and some CSS, no extra...
-
CSS
How to vertically (and horizontally) center a div within a div?
This is a handy trick that I’ve been using a lot lately that is definitely something you should keep in your toolbox. It’s...