Blog

WordPress Function to Easily Include Files

July 6, 2014 Development, PHP, WordPress

WordPress Function to Easily Include Files

When building a website these days, include files are incredibly useful for the common pieces such as the header, footer and sidebar. In WordPress, I usually stick with the basic …

Read More

Keeping $_GET Variables With .htaccess Rewrite

July 4, 2014 .htaccess, Development

Keeping $_GET Variables With .htaccess Rewrite

I recently added a new feature to Internapse that allows visitors to switch between the default feed view and the optional headlines view on the results page. To do this, …

Read More

Stopping WordPress From Redirecting Matched Slugs

July 1, 2014 Development, PHP, WordPress

Stopping WordPress From Redirecting Matched Slugs

A friend of mine asked recently why an old link was redirecting to a similarly named page in WordPress. Even though the page had been deleted, the link was still …

Read More

How to Wait or Delay Script in jQuery

June 17, 2014 Development, jQuery

How to Wait or Delay Script in jQuery

Continuing yesterday’s post involving setTimeout(), I wanted to expand on the useful function and other ways to wait in jQuery. The basic usage of setTimeout() is to execute code inside …

Read More

Easily Cancel setTimeout() Function Through Variable

June 16, 2014 Development, jQuery

Easily Cancel setTimeout() Function Through Variable

For a recent project, I found the need to cancel an event in jQuery currently in waiting through the setTimeout() function. The event related to a custom slider and if …

Read More

How to Show HTML Special Characters in Textarea

June 15, 2014 Development, PHP

How to Show HTML Special Characters in Textarea

After adding Prism code highlighter to this blog, I quickly found out that all HTML opening angles, which look like <, need to be written in their special character form, …

Read More

Only Show Posts in WordPress Search Results

May 30, 2014 Development, PHP, WordPress

Only Show Posts in WordPress Search Results

By default, the WordPress search shows results from pages and posts. One client only wanted to search their blog posts and not the rest of the pages on the site. …

Read More

Show Posts From One Category on WordPress Index.php

May 22, 2014 Development, jQuery, WordPress

Show Posts From One Category on WordPress Index.php

The same client who wanted only one category to show on the calendar also wanted only one category to show on the blog landing page. This was solved with a …

Read More

Show Only One Category on WordPress Calendar

May 20, 2014 Plugins, WordPress

Show Only One Category on WordPress Calendar

On a recent build, the client insisted on having a calendar in the sidebar to show their previous blog posts. The default WordPress calendar widget worked great for this. The …

Read More

Using Vector Icons For Arrows and More

April 15, 2014 CSS, Development, HTML, WordPress

Using Vector Icons For Arrows and More

Vector icon sets are web icons that can be used through CSS and HTML by including a specialized font family. I frequently use vector icons when developing websites for social …

Read More

Let's Talk About Your New Website

View Portfolio Contact Today