WordPress Permalinks on a Namesco Zeus Server

Monday, 1st March 2010

I had a bit of a problem recently trying to convert a WordPress .htaccess file to a rewrite.script file for a Zeus server. My knowledge of the syntax for rewrite.script was non-existant so I tried the .htaccess converter provided in the Namesco admin.

This managed to get me part of the way there but the permalinks included “index.php” before the custom permalink setting.

Read the rest of this entry »


Customise the Terms and Conditions Checkbox and Link in WP e-Commerce

Tuesday, 9th February 2010

By default the terms and conditions link on the checkout page in WP e-Commerce activates an overlay popup containing the terms and conditions text you have specified in the admin.

But what if you want the link to redirect to a page instead of triggering this popup? You just need to make a small change to your checkout template. Here’s what you need to do…

Read the rest of this entry »


List Pages at Depth 1.1

Monday, 25th January 2010

Just released an update to the List Pages at Depth plugin for WordPress.

This update fixed a pretty major bug which prevented the list showing the correct branch of subpages when the start depth was greater than 1 (secondary level pages).

Now this is fixed you’ll be able to display a list of only tertiary level pages – Useful if you have a site with a horizontal navigation with drop down menus for secondary level navigation, and want to show and subpages of the secondary level as a list in your sidebar.

What’s more the plugin now includes a widget so you can easily add a list of subpages into your sidebar.

Read the rest of this entry »


How to ensure WordPress template tags work properly when using multiple WordPress Loops

Tuesday, 8th December 2009

There are many occasions when you may want to create multiple WordPress Loops – instructions on how to do this can be found on the WordPress Codex.

If you need to keep the original query, it is suggested you create you second loop by creating a new query object.

<?php $my_query = new WP_Query('category_name=special_cat&posts_per_page=10'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
   <!-- Do special_cat stuff... -->
<?php endwhile; ?>

This works fine, but if you use more template tags after this loop, they display the content from the last post in the $my_query loop. So, if you want to reference the original loop how should you go about it?

Read the rest of this entry »


WP e-Commerce XML Sitemap WordPress Plugin

Saturday, 28th November 2009

I was just about to update an old plugin I created to create an XML site map for products in WP e-Commerce…

…then I stumbled across the WP e-Commerce XML Sitemap plugin by Lee Willis.

The plugin worked well with WP e-Commerce 3.7.5 (the latest version) apart from a few minor issues. I got in touch with Lee and suggested a few tweaks/fixes – he has just released an updated version:

  • Unpublished products are now not added to sitemap.
  • Is now compatible with WordPress installations with custom table prefix.

You can download the latest version here…