Support » Plugins and Hacks » [Plugin: Author Avatars List] list in widget

Viewing 1 replies (of 1 total)
  • Ben

    (@bforchhammer)

    You can add the following code to your theme’s functions.php to make the plugin render the list as a “html list” (instead of “html divs”).

    // Change user list templates to use a list instead of divs
       function custom_aa_userlist_template($default) {
           return '<ul class="author-list">{users}</ul>';
       }
       add_filter('aa_userlist_template', 'custom_aa_userlist_template');
    
       function custom_aa_user_template($default) {
           return '<li class="{class}">{user}</li>';
       }
       add_filter('aa_user_template', 'custom_aa_user_template');

    … and then add your own css styling to your theme’s style.css for ul.author-list and ul.author-list li.

    Does this answer your question? (If not please clarify and provide a bit more context & detail!)

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Author Avatars List] list in widget’ is closed to new replies.