The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
914 views

Is it possible to search authors by profile field?

Yeah, is there a way to add a search function that only searches through author profiles? For example, if someone is searching for authors called John Smith, is there a way to have a search form that ...
1
vote
1answer
325 views

Set default post author to none on new post

On a large multisite install with 200 authors I need the author on new posts to default to none. I unset the post_author div and moved it to the publish box (where it should be anyway) and wrote a ...
1
vote
2answers
2k views

How to link to the current User/Author Profile page?

Is there a way to link to the authors profile page? At the moment i can access the authors profile by visiting the url like this: http://mysite.com/?author=1 Is there a function that i could use to ...
1
vote
1answer
195 views

Display the number of user comments

I would like to display, on the author/user/contributor page, the number of comments the user has posted, and the number of comments he has received on his posts. Is it possible? Thank you !
1
vote
1answer
80 views

Transferring author information from a custom field to a proper author

A WordPress site I'm doing a redesign for has around 1.400 posts by approximately 30 different authors. Unfortunately the authors of the posts have so far been entered as a custom field within the ...
1
vote
1answer
457 views

Getting $curauth->ID to work inside a shortcode

Im wanting to show a profile/logo pic on author.php via a simple shortcode: function wpaluploader_showauthorimage() { $wpaluploader_authorlogo = '<img src="' . get_bloginfo('url'). ...
1
vote
1answer
567 views

Recent comments on author page?

I'm creating an author.php page and I'd like to show comments as well as posts from a custom post type. I already have the list of posts but I'm looking into an efficient way of displaying the most ...
1
vote
2answers
774 views

Paginate Author's Post List on Custom Author Page (ANOTHER THEORY)

Ok so here's another story for my Custom Pagination on Custom Author's Page. What i want to happen there is display the Author's avatar, description, website, and some additional fields, and of course ...
1
vote
2answers
439 views

How to create rewrite endpoints it in author.php?

i'm trying to separate categories/subcategories in author.php so they each have their own endpoint link. It's very similar to this question BUT for the life of me I can't enable the plugin provided: ...
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 ...
1
vote
3answers
140 views

What is wrong with this code?

function themeperauthor_need_switch() { global $post; if ( $get_post_type == 'weblogs' ) { return get_the_author_meta('themeperauthor', $user->ID); } return ""; } It doesn't return ...
1
vote
0answers
50 views

check if author has published posts in custom post type, then send mail

I have a site where people can submit drafts to a custom post type from the frontend. Once a user submits the form, a new WP user is created. If the user is logged in the submitted user e-mail ...
1
vote
1answer
61 views

Custom loop for custom post type for current author

I need to edit the below code to only display posts for the current logged-in user/author. It is currently within a Wordpress theme page template file and works well. Any help would be appreciated as ...
1
vote
1answer
277 views

Change Comment Author Display Name

I am trying to change the comment author name (or more specifically, the review author in WooCommerce) to be First name Last Initial (e.g., "John D." for "John Doe"). I got most of the way there with ...
1
vote
1answer
83 views

Authors in menu, template list post by author

Can i get a specific author in main menu and when you click on it to see all the post buy this author. Also i need to see all posts ordered by authors too in the menu. In what template should it ...
1
vote
0answers
125 views

How to change the Author Slug from Username to Nickname and deal with Special Characters

I need to change the author slug from username to nickname: This is what is set by default: http://domain.tld/author/(username) This is what I need: http://domain.tld/author/(nickname)-(author-ID) ...
1
vote
0answers
188 views

Include admins in author drop-down on edit post screen

In the back-end when editing a post there is a dropdown to select post author which is populated by registered usernames. But, users with an admin role do not appear in the list, there is an "Admin" ...
1
vote
0answers
82 views

Co-Authors Plugin Displaying Wrong Author

I'm using the Co-Authors Plugin and some posts have multiple authors: in functions.php function my_get_multiple_authors(){ if ( function_exists( 'coauthors_posts_links' ) ) { ...
1
vote
1answer
283 views

edit comments capability for authors

I am using wp site where registered users have authors roles. I want authors to have permissions to edit their own comments. Now only admin user have capability to edit comments and even editors do ...
1
vote
0answers
195 views

Link to Author archive from Navigation Menus in dashboard?

I'd like to display a grid of authors on my site showing the name of the author and their avatar. The tricky part is, I'd like to be able to control this from the Menus page in the dashboard so I have ...
1
vote
1answer
623 views

Only display authors who have posts

I am using the code below to display all authors and their posts (in a custom post type called "publication"). This works, however it also lists users who do not have posts. How can I adapt this code ...
1
vote
1answer
31 views

How can an author be subscribed to the posts of another author and receive notifications of the new posts?

What I'm trying to achieve is to implement a function that will enable an author, when registered and browsing the front-end, to have the option of following other authors of the site and receiving ...
1
vote
1answer
831 views

Showing author page if user has no post

I have a page with profiles in which people can post or comment on a post. The problem is that if this user chooses to comment instead of post, he or she will not get an author page until it has ...
1
vote
1answer
454 views

Remove wordpress author's capability to moderate comments on their own posts

WordPress authors have permission to edit others comments on their own post. How to disable this and still allow the authors to edit their published posts?
1
vote
1answer
71 views

limit post by a taxonomy in the admin

I have a site with authors from different locations. I have created a taxonomy called locations and has different countries (ex. Canada, Germany). Each author need only to see his country's post for ...
1
vote
0answers
116 views

Change base URL of pages created by certain users

Currently on wordpress all pages are created under the base URL (example.com/{PAGE}). Currently I am aware you can change the permalink of posts to example.com/{author}/{POST} but can this also be ...
1
vote
1answer
690 views

Display posts from an author using search parameters (not author template/query_posts)

Is there a way to retrieve a list of all the posts by an author using search (example: ?s&author=xxx)? I can't use query_posts or author template (don't ask why, take it as a condition). And it ...
1
vote
1answer
345 views

Make user as Default contributor for all Blog Posts

I need to get a different requirement, where a particular user need to set as default contributor. I'm not sure whether wordpress actually makes a user default. But for now i need to make a user as ...
1
vote
0answers
24 views

Author Pages For Custom Post Types [duplicate]

Possible Duplicate: Refine custom posts by author I need a way to display author archive pages for custom post types. I already know how to include custom post types into the default ...
1
vote
1answer
384 views

No authors in change author dropdown

I have added a custom post type "Review", and a custom role "Reviewer". The issue is when logged as admin I take review which current author is admin and I want to change author to a Reviewer I have ...
1
vote
0answers
65 views

Advanced author permalinks

I'm trying to build permalink structure for author archives that would allow me to display different custom post types posts in 'subpages/subarchives' of author archive. So the idea is to change ...
1
vote
1answer
45 views

Post list based on the page author

I'm sorry if this question is already been done, but I couldn't solve my problem after reading similar questions. I would like to have customized author pages, in which each author can write text and ...
1
vote
1answer
234 views

Change get_current_user_id code to the author's profile

I've been modifying a long abandoned plugin project that provides a Stackoverflow inspired badge system for Wordpress. I have upgraded some of its code so it functions with the new Wordpress version. ...
1
vote
2answers
170 views

How can I add an author-box below a post?

I would like to have a box below each blogpost with information about the author. These screenshots are examples for what I would like to have: Links that could help: I've found these links ...
1
vote
0answers
18 views

Enable comments for author.php [duplicate]

Possible Duplicate: Commenting in user profile page? Question I have an author.php page and I need to enable comments so when other users come to that authors page they could leave a short ...
1
vote
0answers
163 views

How to set post author to custom post field via front-end form?

hope someone can help. I have my WP install configured to capture posts via a front-end form. Users do not log in, which is an explicit requirement. The author should be set based on a custom post ...
1
vote
2answers
3k views

Permalink to user profile

How can I retrieve the permalink to a user (author) profile dynamically outside the loop by ID? an alternative to the_author_link(), but for outside the loop. Example: get_author_link($user_id);
1
vote
0answers
126 views

How to filter the edit comments admin page, show only current logged in author comments [duplicate]

Possible Duplicate: Filtering the Admin Comments List to Show Only Comments from the Current User? I am trying to get the edit-comments admin page to only show comments for the logged in ...
1
vote
1answer
509 views

Wordpress Author Page

Whenever I click on the Author link, I get redirected to the home page. I've set up the author.php page according to the instruction on codex, but still no luck. Does anyone have any other ...
1
vote
4answers
734 views

Restrict user role Author from viewing comments in admin interface

I want to add an user as an Author to my blog, so that he can publish posts. But i don't want him to be able to view all the (unapproved) comments in the admin interface. Is there any code snippet / ...
0
votes
2answers
105 views

Author List page: Exclude based on last post date not working correctly

Using the following code from this post I thought I had found the answer to my problems of showing authors that have posted in the last 6 months. Unfortunately the way the function checks the date it ...
0
votes
1answer
207 views

Making Wordpress author follow button, need missing ingredient

So i'm trying to make a follow button in wordpress where users can press a button that allows them to follow an author they like. (No, i'm not interested in buddypress) What i've done so far is use ...
0
votes
1answer
399 views

How to check if commenter is the_author?

What's the best way of checking if my commenter is also the author of the post that he post comment on? I know there's a css way (.byauthor), but how about PHP? How to compare post author with ...
0
votes
1answer
441 views

How to implement friend system for Wordpress?

At the moment my users posts are only viewable to them. I would like to implement a system where they can choose to share any post with other users they know. The problem I'm having is, how do I make ...
0
votes
2answers
44 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
54 views

How to get all possible arguments for a wordpress function

I'm trying to get all arguments for function get_the_author_meta() or the_author_meta() because I have custom profile fields such as "parent name" and so, not only the normal arguments which is in ...
0
votes
3answers
3k views

How to get author's name by author's id

I want to show recent posts like this. <ul id="recent-posts"> <?php foreach( wp_get_recent_posts() as $recent ){ ?> <li> <a href="<?php echo ...
0
votes
2answers
1k views

How to conditionally hide author name on Single.php if category is “news”, otherwise if category is something else display author name?

I would like to be able to conditionally hide the author's name on the Single.php if the Category name is equal to "News" and otherwise if the category is something else hide it. How do I go about ...
0
votes
1answer
137 views

How can I merge two authors?

I noticed on one of my WordPress installs I have two admin authors with the same email address. Both of them have posts attributed to them. They are both for the same person, so I'd like to combine ...
0
votes
1answer
247 views

Display Notification Bar on Header on Certain Post Count

I want to display notification bar on header in my Wordpress theme when user submit certain number of post. I want to notify my author once they are submit amount of post. e.g. if (authorpost === ...