Pass PHP Varibale to Javascript – The Easy Way

Young Blanding's Turtle stretches out its neck.

Taking a variable from PHP and sending it to javascript seems like a really simple thing to do. But it’s not. I’m sure if you ended up here, you’ve tried and tried to get it to work with little success. I’m not sure what the people online are talking about, none of those solutions seem to be functional in most … Read More

Passing a PHP Variable to Javascript in WordPress: The EASY Way

Close Buildings

If you’ve made it here, odds are you’ve already been through the depths of the internet, full of “simple” tutorials talking about how easy it is to pass a variable in your PHP code to Javascript in WordPress. Maybe they even have simple, foolproof examples. The only thing is, they don’t work. WHY don’t they work? Who cares! They are … Read More

Eliminate Banding in Gradient Layer Masks – Photoshop

Starry skies with cars driving by

This one had me stumped for quite a while. Whenever I used gradients in my layer mask for an image later, I would end up with really obvious banding, which really just ruined the photo in my case. Even with dithering enabled and using 16-bit color mode as all the identical online “solutions” suggested, I was still getting the banding … Read More

Limit Word Count in WordPress Excerpt

Word-limited Post Excerpts

I came across a great way to limit the number of words displayed in the excerpt for a WordPress post, brought to you by the good folks at Cuppa (update – link removed because the site is gone). This method will allow you to choose a specific word limit every time you use the_excerpt or get_the_excerpt in your template files, … Read More

Remove Apps Icon Shortcut from Bookmarks Bar – Chrome

The Apps Icon in action, chrome browser

It’s happened again… The good people at Google have made a change that no one really wanted! The new Google Chrome 29 comes with a feature that includes an Apps Icon that acts as a shortcut so you can easily get to all the great Chrome apps that neither you nor anyone has installed. Okay, so you don’t really want … Read More

Can’t Add Pages to Custom Menu – WordPress Solution

Book Page

A common problem with beginners to WordPress after they create a new site is that they are unable to add anything to their custom menu. In some cases, there are just no options to choose from to add to the menu, in others there is just a vague heading saying, “no items” as well as numerous other problems. here are … Read More

“Username and/or API Key invalid” – Envato Toolkit Error

Keys on Keychain

If you are getting this error and are frustrated with the lack of help on the internet, have no fear! I’m here to help. The error, “Username and/or API Key invalid” is actually very common with Envato’s Toolkit, which is a WordPress plugin that allows you to easily update your Envato themes. So how do we solve this issue? Just … Read More

Manual Sort Order for Authors or Users – WordPress

Sorting Cat. Get it? Like "Sorting Hat?" Any Harry Potter Fans out there?

Sometimes it’s necessary to manually select the order in which to sort your authors on your page listing all your authors or users. It is a little tricky to do, but I’ll break it down for you in this simple tutorial. First, you are going to need to add a custom meta field for your users. There are many ways … Read More