27 May, 2014 — Development

Font Awesome Releases Version 4.1

Font Awesome 4.1

Font Awesome 4.1

Font Awesome 4.1, was released last week, adding 71 new icons, including one for WordPress, Reddit, CodePen, Drupal, Joomla, Spotify, and others.

Font Awesome was originally designed for use with Bootstrap, which helped it to become popular, but was soon widely used outside of Bootstrap-based projects.

Now that a WordPress icon is included, the font will become even more useful for developers writing plugins and themes that make use of the icons. Some WordPress users have even requested WordPress post format icons to be added to a future release. This could potentially be very useful for theme developers but may not gain enough traction.

Font Awesome also comes with its own free CDN. The BootstrapCDN for Font Awesome, hosted by MaxCDN, is free for anyone to use. What are you waiting for update to 4.1 now!

11 May, 2014 — Development, WordPress

Sitewide Message WordPress Plugin

WordPress Sitewide Message

Sitewide Message Plugin for WordPress is a plugin to allow you to simply add a banner message to the top of your website. It will display all the time on any page.


It’s a simple plugin, but here’s what’s on offer:

  • Like message to any page or website
  • Change the font colour
  • Change the background colour
  • Custom text

Coming Soon

Some funky features are coming soon!

  • Scheduled Message
  • Link Location (new window / same window)

You can install it from the plugin’s page of your WordPress dashboard or get more information and download the plugin from the official Sitewide Message page.

8 May, 2014 — Development, Snippets, WordPress

Scheduled Content WordPress Plugin

Scheduled Content Plugin for WordPress is a plugin for easily scheduling content to be shown or hidden on set dates down to the hour and minute.

I first released this plugin over a year ago now; branded to an old company of mine, however with the recent update I have added some new features; as well as cleaned up the code. You will also see I have re-branded it to That Blogger.


It’s a simple plugin, but here’s what’s on offer:

  • Allows shortcodes in the content
  • Schedule show date
  • Schedule show date  inc time
  • Schedule expiry date
  • Schedule expiry date inc time


Here is a quick example of how to use the plugin. Just install and activate the plugin and wrap anything you want to schedule in a [schedule] tag.

[schedule on='2014-12-01' at="10:01" expon='2014-12-01' expat="13:15"] the content you want to hide here [/schedule]

You can install it from the plugin’s page of your WordPress dashboard or get more information and download the plugin from the official Scheduled Content page.

29 April, 2014 — Development

Debitoor API Helper Class Version 2.0

Last year I published a PHP API Helper class for the ever-growing Debitoor accounting software. The API is a RESTful API meaning it responds to JSON and HTTPS requests.

As I have got to use this class in projects of mine, I have built upon this class adding improvements and a new Debitoor class that will process your requests for you returning a clean PHP array ready for you to use.

So what has changed?

You can find a list below of what I changed in this release and some newly added files.


//Debitoor API Class
// Code by Daniel Roizer - http://thatblogger.co
// v2.0

define(req_code, "REQUEST_CODE");
define(clientID, "CLIENT_ID");
define(clientSecret, "SECRET_KEY");
define(token, "TOKEN_FROM_API");
define(apiURL, "https://app.debitoor.com/api/v1.0/");


$debitoor = new Debitoor();

// Get list of clients as an array()

// Get list of products as an array()

// Add a client
print_r($debitoor->AddClient($name, $address, $phone, $email, $homepage, $cinumber, $vatnumber, $countrycode));

Download Now

You can download version 2.0 of the helper class over at GitHub!
– OR –
View on GitHub

This is not part of Debitoor and is code written by myself. If you wish to have something added or have any questions please comment below or submit a ticket over a GitHub.

25 April, 2014 — Snippets, WordPress

Increase WordPress Memory Limit

If you use WordPress often or have a lot of plugins installed you may have come across a PHP memory limit error. This happens when WordPress doesn’t have enough memory to achieve what you are trying to do.

In version 2.5 the WordPress core team added a wp-config.php option WP_MEMORY_LIMIT which allows you to configure the maximum amount of memory that can be used by PHP.

Changing this option in the wp-config.php will only affect your WordPress site and not any other PHP sites.

The default memory allocated to WordPress is 40MB for normal WordPress installations and 64MB for multisite installs. The core will also take into account the php.ini file if there is one and if this number is greater than the default 40MB allocated by WordPress the higher number will then be used.

To change the WordPress memory limit you just add the following into the wp-config.php.

define('WP_MEMORY_LIMIT', '64M');

If this doesn’t change your allocated memory limit your hosts may not allow you change this setting, if this is the case you should contact your hosting company.