Support » Fixing WordPress » possible to add ID element to subnav <ul> in wp_list_pages

  • greggo


    The code generated by wp_list_pages when displaying a second generation of pages is as follows:

    < li class=”page_item page-item-2 current_page_ancestor current_page_parent”>< a href=”″ title=”Project Overview”>Project Overview< /a>
    < ul>
    < li class=”page_item page-item-9″>< a href=”″ title=”Advocacy”>Advocacy< /a>< /li>
    < li class=”page_item page-item-15″>< a href=”″ title=”Funding”>Funding< /a>< /li>
    < /ul>
    < /li>

    Is it possible to add an ID element to the

      that is generated for the second level navigational elements?
  • The topic ‘possible to add ID element to subnav <ul> in wp_list_pages’ is closed to new replies.