Remove White Space

Plugin version: 1.0
Requires WordPress version: 2.5+
Tested up to WordPress version: 2.8.5
Download: Click here to download...

Description

This simple little WordPress plugin removes white space from the wp_list_pages and wp_list_categories functions.

This white space can cause layout issues in IE6 and some other browsers so if you’re having problems with lists not displaying correctly in IE6, this plugin may help to fix it.

Simply call wp_list_pages or wp_list_categories as usual:

<?php wp_list_pages(); ?>

To ensure there is no trailing white space around the first and last items, you should remove any white space between you <ul> tags and the PHP function:

<ul><?php wp_list_pages(); ?></ul>

Feedback and Support

Please leave comments with feedback below.
If you require support, it is best to post it in the WordPress.org Forum.

Donate

new york attorney general
steroids online

3 Responses to “Remove White Space”

  1. ferries Says:

    easy to fix it! thanks a lot!

  2. Charles Likas Says:

    Help, Ben. I downloaded your plugin, but still white space between comment title and comment body. What to do ???? Thanks so much in advance for your help. Charles Likas

  3. Ben Says:

    What do you mean “between comment title and comment body”?

    This just removes the whitespace that can sometimes appear between list items in older versions of Internet Explorer.

Leave a Reply