You are currently browsing the post archives for September 2011.

Change eShop’s Merchant Gateway Images

Posted on September 30, 2011 at 10:13 pm in

The eShop ecommerce plugin ships with a default set of images for the various merchant gateways that can be located in wp-content\uploads\eshop_files. However, if one of these images does not suit your purposes, it’s relatively easy to change it via your theme’s functions.php file. The following example illustrates how to change the Cash icon:

WordPress Memory Issues

Posted on September 27, 2011 at 2:45 pm in

Symptom: Your site crashes and displays a message along the lines of Fatal error: Allowed memory size of xxxxxxxx bytes exhausted Cause: You do not have sufficient memory allocated to PHP within your hosting account. There are a number of ways you can get your site up & running again. The method that works for…

Comments are off for WordPress Memory Issues »

What You Need To Know For eShop

Posted on September 23, 2011 at 3:40 pm in

eShop – the WordPress eShop ecommerce plugin has fairly extensive documentation but there is a lot you can do before you even install the plugin. Answering and checking off the following question before you start configuring eShop should make the eShop set-up process a little easier for you.

Using $s with Double Quotes in WordPress

Posted on September 20, 2011 at 8:02 pm in

I came across a really worrying issue recently when a site running one of my own themes failed a PCI compliance test. The template file concerned was search.php and the offending code was <?php printf( __(“Sorry – I couldn’t find anything on %1$s%2$s%3$s”, ‘theme_name’), ‘<span>’, $my_searchterm, ‘</span>’);?> From the test results, it seemed that $my_searchterm…

Resize the Header in a Twenty Eleven Child Theme

Posted on September 18, 2011 at 11:52 am in

In the WordPress Twenty Eleven theme, the header image needs to be 1000px wide and 288px high. But what if you want to use a smaller (or larger) custom header image? The changes needed to use a wider image are fairly complex and beyond the scope of this article. But changing the header height is…

WordPress Installation and Set Up