• Resolved valley

    (@valley)


    Hello,
    How can you remove the clustering of page list in the side bar menu ?
    http://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”>

    Business/Sales

    <li class=”page_item”>

    Kathakali – A fantasy in poetry!

    <li class=”page_item”>

    Kathakali honours

    ++++++++++++++++++
    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 ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter valley

    (@valley)

    By removing the UL tags from the code

    • <h2><?php _e(‘Our Pages’); ?></h2>

      <?php wp_list_pages(‘title_li=’); ?>

    Yeah… it removedthe UL tags…. but the LI tags remain…. that’s the way it’s supposed to be.

    -tg

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove the <UL> </UL> tags from pagelist in sidebar ?’ is closed to new replies.