WordPress.org

Ready to get started?Download WordPress

Forums

Authors in Menu (8 posts)

  1. Twister48
    Member
    Posted 3 years ago #

    Hi,

    I want to list the authors of my blog into the menu. (Linked to the author pages of them) Can anybody tell me if there is a opportunity to add them to the navigation?

  2. MichaelH
    Member
    Posted 3 years ago #

    Figure out the URL for each author page, then in Appearances->Menu use the Custom Links to add each URL.

    Or use the Page Links To plugin and create Pages that redirect to the author page.

  3. Twister48
    Member
    Posted 3 years ago #

    Thank You. I thought first there will be an easier way to do this - but it isn't such a big effort :)
    Secondly I would like to know how to put the second navigation level into a diffrent div-container (e.g. in the sidebar).
    Thank you very much for your answers and ideas :)

  4. MichaelH
    Member
    Posted 3 years ago #

    (e.g. in the sidebar).

    Use a Widget instead.

  5. Twister48
    Member
    Posted 3 years ago #

    To Use a widget is in my case not possible, because the menu should be shown into a php-widget.
    I'm looking for a code that i can put into this php-widget. Then should be shown the menu.

  6. MichaelH
    Member
    Posted 3 years ago #

  7. Twister48
    Member
    Posted 3 years ago #

    THX, but the PHP Code Widget i've already included. I'm looking for the php-code that i can put into this to show a menu of my choice.

    The display of the menu depends on the php-code i write in the Widget (thats because i can't use the menu widget)

    Thank You!!!
    ...and sorry for the chaos :)

  8. MichaelH
    Member
    Posted 3 years ago #

    Use the template tag, wp_list_authors().

    <?php
    wp_list_authors();
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.