Formatting the title from list_cats
-
Hey all, I hope you’re having a good Easter weekend!
I’m trying to format the title of the list produced by this code:
<ul>
<?php _e(''); ?>
<?php list_cats(TRUE, 'ALL', 'ID', 'asc', '', TRUE, FALSE, TRUE, FALSE, TRUE, TRUE, FALSE, '', FALSE, '', '', '', TRUE);???></ul>
The listed items come out great; I just want to format the title of each list in
<h2>
.Is there anyway to do it? I tried this:
<ul>
<?php _e('<h2>' </h2>); ?>
<?php list_cats(TRUE, 'ALL', 'ID', 'asc', '', TRUE, FALSE, TRUE, FALSE, TRUE, TRUE, FALSE, '', FALSE, '', '', '', TRUE);???></ul>
But it gave me an error and wouldn’t validate.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Formatting the title from list_cats’ is closed to new replies.