How to remove the <UL> </UL> tags from pagelist in sidebar ?
-
Hello,
How can you remove the clustering of page list in the side bar menu ?
https://www.affiliatesexcel.com/wordpress/index.php/The code in the sidebar.php
- <h2><?php _e(‘Our Pages’); ?></h2>
-
<?php wp_list_pages(‘title_li=’); ?>
outputs :
- <h2>Our Pages</h2>
-
<li class=”page_item”>
Biz Tips<li class=”page_item”>
Business/Sales-
<li class=”page_item”>
Successful Salespeople<li class=”page_item”>
Kathakali – A fantasy in poetry!
<li class=”page_item”>
Kathakali honours-
<li class=”page_item”>
Chennithala Chellappan Pillai
<li class=”page_item”>
GURU KUNJU KURUP++++++++++++++++++
The Codex however states the UL tags will be removed
+++++++++++
title_li
(string) Text for the heading of the Page list. Defaults to ‘__(‘Pages’)’, which displays “Pages” (the __(”) is used for localization purposes). If passed a null or empty value (”), no heading is displayed, and the list will not be wrapped with- ,
tags. See the example for Display No Heading.
++++++++++++++++++++
But the tags are still there.
Is there a way to remove the tags ?
- The topic ‘How to remove the <UL> </UL> tags from pagelist in sidebar ?’ is closed to new replies.