Blog

How to Check if a Variable Includes a Number

July 17, 2013 Development, PHP

How to Check if a Variable Includes a Number

For spam checking in an email script, I wanted to see if the name field had any numbers in it. Spammers write code that automatically fills out contact forms and …

Read More

Turning Off the Pixel Grid in Photoshop

July 1, 2013 Design

Turning Off the Pixel Grid in Photoshop

While editing an image in Adobe Photoshop recently, I zoomed far enough in that white lines appeared. These lines create a pixel grid which simply outlines the small dots so …

Read More

Assigning Roles for BackWPup to WordPress Users

June 28, 2013 Plugins, WordPress

Assigning Roles for BackWPup to WordPress Users

I recently installed BackWPup, a plugin for WordPress that lets you download your MySQL database and backup your website on a schedule. It’s an incredibly useful plugin and does the …

Read More

How to Implement the WordPress Featured Image

June 26, 2013 HTML, PHP, Plugins, WordPress

How to Implement the WordPress Featured Image

In WordPress, you’ll notice on the right side of the add/edit post screen a box that says featured image. Some themes take advantage of this area and this is how …

Read More

PHP Function to Grab WordPress Theme Location

June 25, 2013 Development, HTML, PHP, WordPress

PHP Function to Grab WordPress Theme Location

Sometimes when I look at WordPress code, especially on older sites, I’ll notice the following line of code: HTML <img src=”/wp-content/themes/my-theme/images/my-image.jpg” alt=”My Image” /> There are a couple reasons to …

Read More

Quickly Hide the WordPress Admin Bar When Logged In

June 25, 2013 Development, PHP, WordPress

When users are logged in at a website built on WordPress, they’ll see an admin bar at the top of the page by default. There are some cases where I’ve …

Read More

Adding Bookmarks in Google Drive

May 24, 2013 Online Tools

Adding Bookmarks in Google Drive

In Google Drive – which used to be called Google Docs – you can add bookmarks which can act as a table of contents. They are shortcuts to specific places …

Read More

Change Separator Used in WordPress Title Tags

May 21, 2013 PHP, Plugins, WordPress

Change Separator Used in WordPress Title Tags

In the SEO Yoast plugin for WordPress, you can change the format of your title tags to have consistency across your site as well as strong SEO value. You can …

Read More

Remove Unwanted Items from $_POST Array

May 21, 2013 Development, PHP

For a contact form script, I was using a PHP foreach loop to run through the $_POST array and print out the visitor’s message no matter the number of fields. …

Read More

Redirect One Webpage Extension to Another

May 21, 2013 .htaccess, Development

I needed to redirect all webpages that had the extension of .html to the equivalent page with the extension of .php. For example, apple.html to apple.php, orange.html to orange.php and …

Read More

Let's Talk About Your New Website

View Portfolio Contact Today