wp_get_archives – Generates invalid XHTML?
-
Does anyone know why the wp_get_archives function is generating invalid XHTML?
You can see my site here: https://www.construction.freshpages.org
This comment generated invalid XHTML:
<ul><?php wp_get_archives('type=postbypost&limit=5&format=custom'); ?></ul>
This doesn’t:<?php wp_get_archives('type=postbypost&limit=5&format=custom'); ?>
My problem is, I need the links in a list, so I need the ul function. This should be allowed under XHTML?.. does anyone know how to solve this??
Thanks,
-Ryan
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wp_get_archives – Generates invalid XHTML?’ is closed to new replies.