Blog

Change How Date Fields Display in User Insights Plugin

June 24, 2020 PHP, Plugins, WordPress

Change How Date Fields Display in User Insights Plugin

After adding a new custom field to the User Insights plugin recently, I wanted to change how the date fields were displaying. Luckily, User Insights has provided a filter that we can use.

Read More

How to Adjust the Placement of Related Posts for WP Plugin

February 21, 2020 PHP, Plugins, WooCommerce

How to Adjust the Placement of Related Posts for WP Plugin

By default, the Related Posts for WP plugin displays the lists of posts after the primary content area, which is printed using a WordPress function called the_content(); on each page. …

Read More

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

Let's Talk About Your New Website

View Portfolio Contact Today