News & Blog

Responsive Filemanager

Responsive Filemanager Showing Blank Screen or Errors

February 4th, 2014 - Posted by Steve Marks to Javascript / jQuery, PHP, Server Management, Software, Web Development.
I recently upgraded to version 4 of TinyMCE and needed a file manager that worked with this new version so that the user could upload and insert files into the WYSIWYG. Fortunately I came across an excellent file manager called ‘Responsive filemanager‘ which was relatively easy...
Overwrite Modern Tribe Event Plugin Labels

Overwrite English Labels in Modern Tribe Events Calendar Plugin

January 29th, 2014 - Posted by Steve Marks to PHP, Web Development.
I recently installed and setup the Event Calendar plugin from Modern Tribe on a WordPress site. It worked great out of the box and was so easy to customize through use of the templating system that it comes with. I could get it looking exactly how the client wanted, with the exception of a...

Performing a Radial Search with WP_Query in WordPress

January 27th, 2014 - Posted by Steve Marks to MySQL, PHP, Web Development.
If you’re building a site in WordPress that performs some kind of radial search, it can be difficult to know how to do this using the standard functionality included through use of the built-in WP_Query class. I found myself in this exact scenario recently on a site I was developing,...

Why My php.ini Changes Weren’t Taking Effect

January 26th, 2014 - Posted by Steve Marks to PHP, Server Management, Web Development.
Today I needed to change a PHP directive in my php.ini file after needing to increase the maximum POST size allowed. The directive that needed changing was ‘post_max_size‘ from 8MB to 24MB. As a bit of a background before I begin, the server is a 1and1 dedicated server and is r...

Resolving WordPress Widgets Snapping Shut

January 23rd, 2014 - Posted by Steve Marks to PHP, Web Development.
I came across a peculiar problem recently when setting up widgets for a WordPress site I was working on. In summary, I was registering sidebars and adding widgets when a scenario arose whereby I was unable add widgets. I would drag and drop an available widget into the respective sidebar a...

Hashing ACF Password Type Fields in WordPress

January 16th, 2014 - Posted by Steve Marks to PHP, Web Development.
The release of version 4 of the Advanced Custom Fields plugin saw the addition of a few new field types. One of these was a type of field called ‘password’. By selecting a field to be of type ‘password’ it would mean that the entered characters would be starred out ...

Why My WordPress Loop Was a Post Short

January 6th, 2014 - Posted by Steve Marks to PHP, Web Development.
Earlier today I was working on adding a blog to an existing site. This is a pretty standard task and one I’ve done many times in the past. This time it went a bit different than normal however as I got stuck in a situation that I just couldn’t figure out. The Problem I created ...

How To Use WordPress Functionality From a Bespoke PHP Script

December 20th, 2013 - Posted by Steve Marks to PHP, Web Development.
As a WordPress developer there might come a time when you need to write a bespoke PHP script that sits outside of the WordPress file structure, yet needs to use the standard functionality available from within the CMS. This was exactly the scenario I found myself in recently, whereby a com...

WordPress Custom Post Type Single Template Not Working

November 13th, 2013 - Posted by Steve Marks to PHP, Web Development.
I can’t think of the last WordPress site I did that didn’t use custom post types. They’re a feature I use all the time. As a result of using these custom post types, they often require a different layout to each other, and to the standard posts. To do this you can use the...
wordpress-menus

Add Unique Class To Individual wp_nav_menu() List Item in WordPress

November 4th, 2013 - Posted by Steve Marks to (X)HTML / CSS, PHP, Web Development.
If you’ve ever built a site in WordPress, you’ve probably set up and managed the navigation through the ‘Menus’ section. Doing so makes it easy to manage menus, but also allows the client to control the layout too. A couple of times over the last few years I’v...