WordPress.org

Support

Support » Requests and Feedback » Format wp_list_pages and wp_page_menu without <li> tags

Format wp_list_pages and wp_page_menu without <li> tags

  • Would that be possible to have the functions wp_list_pages and wp_page_menu with an option to display pages in a “flat” format like the functions wp_list_bookmarks or wp_tag_cloud or wp_get_archives?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am doing it thru CSS :
    <div id=”my_own_style”>
    <?php wp_page_menu(‘sort_column=menu_order&include=5,11&title_li=&show_home=0’); ?>

    CSS :
    #my_own_style ul li {
    list-style: none;
    }
    Hope it will help.

    MP
    ———————
    http://www.KurzyPotapania.sk

    Hi palkovic,

    I do the same for general list items in my own WP theme:

    li, ol, ul {
    list-style:none;
    }

    This question i raised is for WP developers to add to the listed functions additional controls/arguments so it would be easier, cleaner and more aesthetical to manage this widget plug-ins.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Format wp_list_pages and wp_page_menu without <li> tags’ is closed to new replies.