how i can put the the widget as list?
how i can put the the widget as list?
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!)
You must log in to post.