remove li from wp_list_pages
-
I’m new to wordpress and I’m trying to figure something out.
In my sidebar.php I have the code:
<div class="title"><?php _e('<a href="https://www.oxi-design.com/website"><h2>Oxi-design</h2>'); ?></div>
<?php wp_list_pages('sort_column=menu_order&exclude=79&title_li='); ?>
this outputs in html:
<div class="title"></a><a href="https://www.oxi-design.com/website"><h2>Oxi-design</h2></div>
<li class="page_item"></a><a href="https://www.oxi-design.com/website/index.php/intro/" title="Intro">Intro</a>
li is making it into a list and that is something I do not want. For the categories I fixed it with the
list=o
attribute but that does not seem to work with the pages. How can I get it to work.
Thanks in advance!!
Niel
- The topic ‘remove li from wp_list_pages’ is closed to new replies.