Forums

wp_list_pages (assign the "LAST" in a dropdown menu) (6 posts)

  1. Just_C
    Member
    Posted 1 year ago #

    Hey Guys :)
    The German WordPress-Forum sucks. So you get a try ;-)

    My Problem:
    I want, that the last Page in the Dropdown-Menu get the command "LAST".

    For example:

    <li class="page_item page-item2"><a href="#">...</a>
     <ul class="childen">
      <li class="page_item page-item43"><a href="#">...</a>
      <li class="last page_item page-item 44"><a href="#">...</a>
     </ul>
    </li>

    Here a picture: http://forum.wordpress-deutschland.org/attachments/konfiguration/4538d1292082237-wp_list_pages-last-zuordnen-navigation.jpg

    Just_C

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Can I ask why? You can't add a class to a specific page list item using wp_list_pages. To achieve this, you'd have to code your own page listing using get_pages.

  3. Just_C
    Member
    Posted 1 year ago #

    I want, that the dropdown-menu get round after the last entry.

    Thats now:
    http://img51.imageshack.us/img51/180/navigationi.jpg

    Thats how i want it:
    http://img697.imageshack.us/img697/6248/navigation2.jpg

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Why not just add the round background image to the enclosing ul element?

  5. Just_C
    Member
    Posted 1 year ago #

    I've already used an background-image for the top. Ähh...in the ul.

  6. Just_C
    Member
    Posted 1 year ago #

    Any ideas?! :-(

Topic Closed

This topic has been closed to new replies.

About this Topic