WordPress

/WordPress

Looking for WordPress Developers

February 2nd, 2017|Web Programming, WordPress|

Are you a talented and hard working freelance programmer, with specific skills in PHP, JQuery, WordPress and other current web technologies? If so, I'd be happy to utilise your talents on an ongoing basis. You [...]

Restrict WordPress Registration to Certain Email Domains

December 12th, 2016|WordPress Snippets|

Recently for a project it was necessary to restrict WordPress registration to a select few specific domains, for example: domains with an email address from a certain company, i.e. email addresses ending with @warrenchandler.com. Rather than [...]

WooCommerce Product Unavailable Out of Stock Problem

November 8th, 2016|Web Programming, WordPress Snippets|

Recently, a client was reporting that they were seeing an out of stock message on their product page, which wasn't correct.  All of the settings and product variations were correct and in stock, but the [...]

WordPress Resize at Upload Plugin mysql_real_escape_string() Error

June 26th, 2016|PHP Snippets, WordPress Snippets|

If like me you use the WordPress plugin Resize at Upload, or Resize at Upload Plus, it's quite likely that you'll be getting a mysql error when changing the settings.  Something like: Access denied for [...]

Create a Widget Area in WordPress

August 31st, 2015|WordPress Snippets|

Today's WordPress themes are becoming more and more flexible where web design is concerned, but I'm still asked from time to time to create custom widget areas for clients.   Fortunately, the process is a [...]

WordPress Login Redirect For Different User Roles

August 29th, 2015|WordPress Snippets|

From time to time clients come to me requesting login redirects in WordPress. The following handy snippet below allows you to specify where the user lands once they've logged in, based on user roles. In [...]

Avada Image Link in Lightbox

July 4th, 2015|WordPress Snippets|

I recently built a site for a client using the fantastic Avada theme, and they asked me how it was possible to have images showing up in a lightbox rather than a standalone file or [...]

Increase WordPress Upload Size from 8MB (Multi-Site)

March 6th, 2015|Web Programming, WordPress|

WordPress installations can be confusing at times, and when combined with the PHP environment in which they reside, uploading can be one area that causes quite a bit of confusion. To give an example, recently [...]

WordPress Search Syntax in URL for Custom Post Types

January 25th, 2015|WordPress, WordPress Snippets|

WordPress isn't exactly Google when it comes to searching. The system is long overdue an overhaul, but while we wait for the never-arriving necessity you can still get much more out of your WordPress searches. [...]

Add Excerpt to WordPress Pages: How To

August 27th, 2014|Web Programming, WordPress Snippets|

From time to time, as a web programmer you come across things that deviate from the norm. This is certainly one of them - adding an excerpt box to WordPress Pages. As you probably already [...]

Redirecting WordPress Tag Pages for SEO

December 6th, 2013|Web Programming, WordPress|

If, like me, you've had the necessity to redirect WordPress tag pages to another page or pages for SEO reasons, you might have found a number of different methods to do this.  It's actually a [...]

You don’t have permission to access / on this server 403 error

December 3rd, 2013|Web Programming, WordPress|

WordPress errors can be extremely frustrating at times, but here's a little fix that should help those that are getting 403 server errors on WordPress sites. If you've seen the 403 internal server error You [...]

WordPress Custom Post Types Memory Exhausted Fix

December 1st, 2013|Web Programming, WordPress Snippets|

As a web programmer, I'm often asked to fix the problems that others have, but when I see problems appearing on sites I've had a hand in, I'm infinitely more concerned. This is exactly what [...]

WordPress RSS Widget: Open Links in a New Window

June 4th, 2013|PHP Snippets, WordPress Snippets|

I've recently come across a slight problem with one of my clients whereby they wanted the RSS feed widget to open all incoming links in a new window. And why wouldn't they? Especially if they're [...]

Gravity Form Columns – Styling Gravity Forms

June 2nd, 2013|CSS Tricks, General, Programming Tips, Web Design Essex, Web Design Frinton, WordPress Snippets|

Most WordPress developers are familiar with Gravity Forms. It's a contact form plugin that allows you to easily build and publish your forms in just minutes, with the minimum of hassle. No mess, just quick [...]

How to Stop Timthumb Hacks Using .htaccess

April 1st, 2013|Programming Tips, WordPress Snippets|

How To Block Timthumb Hack Attempts Like many developers I manage a large number of WordPress sites, and in days gone by I'd use TimThumb to handle my images. Sadly, a few years back this [...]

Gravity Forms: Three Handy Tips

October 11th, 2012|WordPress Snippets|

Today was essentially my first experience of Gravity Forms, the WordPress forms plugin and it would be fair to say it came with its fair share of use niggles, but nothing that I couldn't overcome. [...]

How to Check if WordPress User is Admin

February 27th, 2012|WordPress Snippets|

A few people have asked me this question, so I thought I would share it with you all (yes, both of you).  It's a tiny snippet that's not rocket science and you can find it [...]

Google Maps Shortcode for WordPress

March 21st, 2011|WordPress Snippets|

Note: This method no longer works as intended due to changes in WordPress and Google maps. However, if you paste the iframe information from the Google maps page, WordPress automatically converts the frame to its [...]