Questions tagged [list-authors]

Displays a list of the sites's authors (users), and if the user has authored any posts, the author name is displayed as a link to their posts. Optionally this tag displays each author's post count and RSS feed link.

Filter by
Sorted by
Tagged with
4
votes
1answer
1k views

Get all authors with at least one post of 'custom post type'

How can i achive that? I found count_user_posts and get_users, but how would I merge them into the desired result? Do I really have to use a WP DB Query?
3
votes
1answer
300 views

Pagination Help on Crazy Custom Authors Page

I've got a custom authors page for a multi-author blog. http://blog.securitytechnologies.com/meet-the-team/ Here's the code I'm using to generate the page (thanks to other folks in the support ...
3
votes
1answer
2k views

Modifying WP_LIST_AUTHOR Functions to output all users in a grid (and Paginate)

The title says it all. I've been taking WP_LIST_AUTHOR and modifying it to create more of a member directory than just a list of authors while leaving a lot of the original options intact (and I am ...
2
votes
1answer
2k views

How can I list all WordPress users, their email adress, post title and post status?

I am looking for a way to return something like the following: User, email, post title, post status User, email, post title, post status repeated.... Each user on my site has only 1 post. It is a ...
2
votes
1answer
1k views

How can i list current author's categories?

My Code getting authors written post categories but just 2 ID has author lists category.. I replace $current_user->ID but it is not worked. <?php $categories = $wpdb->get_results(" ...
2
votes
1answer
218 views

wordpress plugin that show my reputation (points) in any stackexchange project in my wordpress blogs

I'm seeking for a plugin show my points (reputation) of Stackexchange (not Stackoverflow) in my Wordpress blogs. or other projects in stackexchange like : Superuser Security Serverfault SharePoint ...
2
votes
1answer
286 views

Show list of authors with latest post NOT older than a month

I found two bits of code. One gets me posts NOT older than a month the other bit gets me a list of authors and their custom fields, names, etc. Can someone please help me integrate the two. One runs ...
2
votes
2answers
170 views

Custom Author Fields + Existing Taxonomy - Integrating the Two Dynamically?

I am trying to integrate both the values from an existing custom taxonomy and custom author profile fields. I would like the values to be used as the options from which an author can select when ...
2
votes
1answer
137 views

How can I list random authors from current post category?

The following lists authors of the current category. But I want this to be a list of 6 random authors from current post category. foreach((get_the_category()) as $category) { $postcat= $category-&...
1
vote
2answers
6k views

Get List of all the Authors

How could i get List of all the Authors? author.php file shows the Information about Individual Author. for example: http://domain.com/author/bj that returns the Bj's Profile. if i enter http://...
1
vote
3answers
231 views

Add gravatar to author list

I am using this code for listing out all authors on the site in my sidebar. It works, except I also need to pull in their Gravatar image. It's working in a loop on the homepage with this <?php ...
1
vote
3answers
283 views

how to randomly list 5 authors with at least 3 published posts

Bit of a newbie here... As the title states, I am trying to generate a list of 5 random users (taken from authors, editors and administrators) who have published at least 3 posts each. (Also, I ...
1
vote
2answers
3k views

Custom Author Loop

Essentially what I'd like to do is have the same effect as the wp_list_authors tag, but instead of just listing the name or their post count, I want to be able to do a loop with the IDs. Ultimately I'...
1
vote
3answers
2k views

List authors of site with link and gravatar

I'm trying to do something I assumed would be easy. I assumed wrong. What I want to do is list all the authors of a site on the sidebar, with a link to their respective author page, number of posts ...
1
vote
1answer
112 views

Posts with multiple authors with different roles

I want to assign multiple authors per post. I'm aware of the excellent Co-Authors Plus. I want to assign different roles, per author, per post. That is, author one could be 'writer', author two could ...
1
vote
1answer
3k views

Automatically adding categories and authors in custom menu?

I've spent a couple of days googleling around, looking for a way to automatically add categories and authors to my custom menu as soon as they are created (the same way that pages are automatically ...
1
vote
1answer
485 views

Author List page: Exclude based on last post date

I have a Author page that I built using this code and it works fine. However, I have several writers that range from frequent to one-time writers. I would like to seperate out writers that have not ...
1
vote
3answers
2k views

Authors list Pagination?

WordPress has a built in function to display a list of all of your site’s authors. But there is no option to display their avatars, so all you really get is a text list that links to the author’s page,...
1
vote
1answer
57 views

implement authentication and authorization to user

i want to get authentication to my website like to be the page with name and password as a file reference to log in as visitor with detected authorization to each person want to visit the website how ...
1
vote
1answer
40 views

Remove admin role from the “Author” user listing on individual post screen

How to remove the admin role from the Author listing screen from the individual post? Which hook to use to do this? Can anybody help me? Check the above screen
1
vote
1answer
86 views

Display Authors in a grid loop

I currently have the following php code which gives me a list of all the current WordPress authors, including their name and avatar. <?php printf('<h1>%s</h1>', the_title()); ...
1
vote
2answers
40 views

author list not linking to correct page

I have an odd problem with the author list. I am using the below code in my sidebar to pull in the gravatar and link to author's profile. However, the links it's actually generating are wrong. It just ...
1
vote
1answer
646 views

Display email address field next to author in wp_dropdown_users

the post_author_meta_box uses wp_dropdown_users showing the user name of authors. How do I display the email address in brackets next the author's name? Can one filter the wp_dropdown users do to this?...
0
votes
3answers
2k views

List total number of users that are authors

Question I want to display total number of Authors and total number of subscribers on the blog but exclude the admin in this way: 56 Authors so far 15 Subscribers so far Code that is close to ...
0
votes
2answers
228 views

Different values for get_author_posts_url and get_the_author (posts 2 posts)

Caveat- I'm not a programmer, I'm a designer that has taught myself basic php/wordpress theming. This is a very specific question, I realize, but I'm hoping the experts can help me find some ...
0
votes
2answers
385 views

What does the class look like that is returned from WP_User_Query?

$wp_user_search = new WP_User_Query( array( 'role' => 'author' ) ); $author_list = $wp_user_search->get_results(); foreach($author_list as $author) { // author properties? } Can you point me ...
0
votes
1answer
73 views

How to create pagination for users list using custom array?

After searching I didn't found any solution, So I'm wondering how can I create pagination for users list like that? I'm highly appreciated your help, Thanks. <?php global $wp_query; $...
0
votes
1answer
2k views

Author's Id from wp list authors function

I'm new in wordpress. I want to display all author list with its ID. I'm using wp_list_authors function but didn't get any author id from the author list. So, How can I get Author's ID in listing of ...
0
votes
2answers
2k views

Authors Page : A page of authors

I'm looking for a way to create a parent authors page and then use the author.php for the individual author pages. I've been out of the loop (no pun) for a couple months and am wondering the best way ...
0
votes
1answer
449 views

How to do a WP_User_Query in Wordpress 3.0.1?

How do I query a list of authors / users in Wordpress 3.0.1? I'd upgrade but my theme doesn't support WP 3.2.1
0
votes
1answer
26 views

Filter to wp_list_authors

I am using wp_list_authors, to, how function name says, make a list of authors, but i want to show only "Authors". Now in my site, any account who publish a text ("Admin", "Editor") show his name in ...
0
votes
1answer
75 views

wp_list_authors() returning the wrong member url

I've recently started work on a site which includes both BuddyPress and bbPress. When I use the wp_list_authors() function the list returned to me links to each author's BuddyPress profile. ...
0
votes
1answer
89 views

I'm trying to create a custom version of the wp_list_authors function that includes custom post types

I'm trying to create a custom version of the wp_list_authors function that includes custom post types. I have 3 authors on the site I'm working on (www.healthyeatingadventure.org). Two of them only ...
0
votes
1answer
21 views

Filter authors on meta value

I have added a section to my user profiles called ArtistCategory. This can be value X or Z. I'm using the code below to get a list, which I use in a menu and show after the artists display_name the ...
0
votes
1answer
211 views

how to add <span> around each author using wp_list_authors

how to add span around each author using wp_list_authors, so the result would be like this <span class="abc">author A</span><span class="abc">author B</span>
0
votes
1answer
101 views

Recent Posts Listed by Author, Can I exclude authors?

I'm working on a multi-author blog, and I'm trying to produce an authors list with recent posts like this page (site is drupal): http://www.internationalrivers.org/blogs I'm working on a draft here: ...
0
votes
1answer
82 views

The loop does not show users

I'm trying to show all post made ​​by the author. Code author.php <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if( get_post_type() == 'post' ) {?> <?php }...
0
votes
1answer
85 views

Comment_author_url doing nothing

I have this function: <?php function top_comment_authors($amount = 5) { global $wpdb; $results = $wpdb->get_results(' SELECT COUNT(comment_author_email) AS comments_count, ...
0
votes
2answers
558 views

Listing wordpress users with a search function

I'm having trouble finishing off this code that I adapted from Cosmoslabs excellent tutorial. Everything is working (listing and pagination etc) except the search function whic is returning nothing i....
0
votes
1answer
807 views

How can i list random post from multiple category?

I have an author page, and I want to list posts from current author's categories. e.g. I'm viewing John's page, and John wrote in Sport, Tech, News, Computer categories. Then my code list from this (...
0
votes
1answer
363 views

How can i list random author?

Im listing current category of all author list but I want to list random author list from current category. I was try 'order' => 'RAND', RAND code its not worked. My Code: function ...
0
votes
1answer
78 views

Display all authors in a theme template

I was having an issue the other day and successfully got a very good answer which helped me alot achive what I wanted. this is the post which I created and have all the correspondence: wordpress....
0
votes
1answer
143 views

Add formatting to Array

This displays authors by date of their latest post. I'd like to: add formatting around each author list additional properties (avatar, latest post title and excerpt) <-- I have the bits for this, ...
0
votes
1answer
223 views

Only show authors with posts

I thought the code below would work... but no dice. Something like "AND post_count > 0" function contributors() { global $wpdb; $authors = $wpdb->get_results("SELECT ID, user_nicename from $...
0
votes
3answers
6k views

How can I list posts by author?

How can I list posts as sub-items of authors? It should look like: <ul> <li>Author</li> <ul> <li>Post1</li> <li>Post2</...
0
votes
1answer
140 views

How to show list authors with at least five posts published

i'm wondering if there is a way to use wp_list_authors to list only the authors with at least five (or even more, but anyway more than just one or two) published post in the blog. Actually I don't ...
0
votes
1answer
524 views

Latest 5 post excerpts from 5 different authors in Sidebar

I'm attempting to display the latest 5 post excerpts from 5 different authors in my blog sidebar. Below is the code I'm using which I tweaked from this thread: Find most recent authors So far, I've ...
0
votes
0answers
29 views

Top Authors list by highest post views with Ajax pagination

I'm trying to create an users list to sort all users by the highest post views for each user, I added $output = array_slice($topuser, 0, 10); to get 10 users when i click load more in the next page, ...
0
votes
1answer
76 views

Why is wp_list_authors not picking up Authors from CPT's?

Why is wp_list_authors not picking up Authors from CPT's when I have the supports option enabled? From what I have read elsewhere it looks like I have everything covered but the authors of CPT's ...
0
votes
0answers
28 views

Wordpress For Loop Prints Unwanted Extra Paragraph Element

I have the following code to list my authors in my sidebar except for the admin account. It works very well in function. However, it prints an extra paragraph element that includes two ancor tags with ...