Blog Category: PHP

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

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

Let's Talk About Your New Website

View Portfolio Contact Today