Removes white space from wp_list_pages and wp_list_categories (nice for IE6 - prevents gaps in vertical lists).
This function removes whitespace from the list items outputted by
This white space can cause layout issues in IE6 and some other browsers such as gaps between each list item even when there is no margin or padding applied.
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>
Requires: 2.8 or higher
Compatible up to: 3.4.2
Last Updated: 4 years ago
Active Installs: 100+
0 of 1 support threads in the last two months have been marked resolved.
Got something to say? Need help?