I have this code:
<?php wp_list_cats(); ?>
<?php wp_list_pages('sort_order=DESC&title_li='/*&exclude=4'*/); ?> <!--you can use the exclude to keep the post about damon out of there -->
The output however, makes for a sore eye. The list_cats functions puts a hard return at the end of each link and before the
</li>tag, effectively creating one bit of white space at the end of the li item. I am running mine in a list inline, with side borders, and this creates for awkward spacing.
Is there any way to get the output to not put that hard return in ?
- The topic ‘wp_list_cats & wp_list_pages funny output’ is closed to new replies.