Blog

How to Tell if a Variable is Odd or Even

July 17, 2013 Development, HTML, PHP

How to Tell if a Variable is Odd or Even

While creating divs for a recent project, I wanted to assign a class to the even containers so they would float right. Container #1 would float left, #2 would float …

Read More

Creating a Custom Excerpt with Two Paragraphs

July 17, 2013 Development, HTML, PHP

Creating a Custom Excerpt with Two Paragraphs

For my website, I have written a lot of news articles over the years and I wanted to print out an excerpt for each one. Instead of writing an excerpt …

Read More

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

Let's Talk About Your New Website

View Portfolio Contact Today