WordPress.org

Ready to get started?Download WordPress

Forums

Author Url (2 posts)

  1. joskjos
    Member
    Posted 1 year ago #

    How to create a All author's listing page.

    url should be,

    http://www.mydomain.com/author/

  2. vahidd
    Member
    Posted 1 year ago #

    First, add this to your functions.php:

    function authors_function( $atts ) {
    	return wp_list_authors('exclude_admin=0&optioncount=1&show_fullname=1&hide_empty=1');
    }
    add_shortcode( 'authors', 'authors_function' );

    Then use this shortcode into you editor:
    [authors]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.