The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
1k views

Get the user type of an author

I'm working on a site and I need to get the type of user the author is so I can mark it. The idea is that if an Admin level user post something it has a [ADMIN] tag or something next to their name. I ...
1
vote
1answer
166 views

Sidebar random author spotlight

I'm trying to utilize the authors from wordpress to create a spotlight block in the sidebar that selects 1 random author from multiple users and only displays that 1 users information. I want to ...
1
vote
1answer
70 views

Multiple Unique Author Profiles

I'd like to create multiple user profiles are unique, without just using a "if/then/else" php statement on the author.php template? All I need is the ability to create two different types of profiles. ...
0
votes
2answers
841 views

Show author archive pages for authors with no posts

I have one page for each author, but if the author doesn't have any posts I can't get its variables, because the loop is empty. The page returns empty, no avatar, no info and stuff, the whole site is ...
0
votes
2answers
194 views

Lists Top Authors by Most Recent Posts

I'm trying to display a table format of the top authors listed by the most recent posts. It should display the author, its avatar, the date, and the title of the post (with a link). I have it ...
1
vote
1answer
1k views

Remove author archive

I'm using wordpress as a CMS. Various users on the staff write posts that get incorporated into pages manually. As far as the outside world is concerned, this is just a bunch of static pages. I ...
0
votes
2answers
178 views

Add Post Author body class to WordPress

I'm trying to add a custom body class to WordPress which should be the author of the post which is displayed. I looked at different how to's and tried to create some code but it doesn't work: ...
0
votes
1answer
316 views

Plugin for an author bio popup box?

Looking at the below article, I took a liking to the way the author included his bio (as a clickable little bio box that pops up). http://saveyourself.ca/articles/why-does-pain-hurt-so-much.php ...
0
votes
1answer
81 views

Use Author Ids or Names to echo different output inside loop

Is there a way to use the author ids (or names) to echo different output for different authors (in this case author id 7 and author admin? I tried the following but it didn't work. ?php if ...
0
votes
1answer
659 views

Display only author posts in dashboard all posts panel

I would like to display only authors own posts in dashboard all posts section. As of now it displays everything. I found some code here which is written by @t31os Its working correctly. function ...
0
votes
1answer
131 views

When I use rewind_post() it shows menu items in my loop

I have code like below (I removed all the uneeded HTML and stuff for this post). The code is for my author.php page. So it shows some author data at the top of the page then runs rewind_post() so ...
1
vote
1answer
152 views

How do you set up a WordPress blog with multiple authors to allow something like StackExchange's “community wiki” feature?

I'm thinking about having a blog with multiple authors. In the WordPress Roles documentation, authors can publish posts but only edit their own and not posts by other authors, which is what I'm ...
0
votes
1answer
266 views

Author template help. How to check if field exists in the profile?

I'm coding my author template. I want something like this <?php if(Author filled about me)) { ?> <div class="title">About me</div> ...
4
votes
3answers
785 views

How can I publish a post with two or more authors?

A friend and I have a Wordpress blog and we want to be able to publish a post with more than one author. How can I do this?
0
votes
1answer
228 views

Improving Co-Authors Plus Plugin [closed]

I've been using the Co-Authors Plus plugin for assigning multiple authors to posts. The authors are very particular in the ordering of the names on the public-facing side of the website so I need the ...
-2
votes
2answers
311 views

author slug in the backend

hi and thanks for reading i try to grab the authors slug in the backend. get_the_author_meta( 'user_nicename' ); is empty. i tried to google this issue, but cant find any concrete info on how to ...
0
votes
1answer
209 views

Is it possible to get_terms by author?

I get terms from all my posts with get_terms, $tags = get_terms( 'mytags', '&number=5&orderby=date&order=desc&hide_empty=1' ); foreach ( $tags as $tag ) { echo '<a ...
0
votes
1answer
764 views

wpdb->get_var - count author posts, meta value

In an author.php template, i count the author post in a custom post type with $wpdb->get_var, $post_author = $curauth->ID; //author id $count = $wpdb->get_var( "SELECT COUNT(*) FROM ...
0
votes
1answer
712 views

pagination in author.php template returns 404 error

Hi to the community!!! I need some help with pagination in author.php template. I have pagination working in all my loops except in authors.php that i get a 404 error. In my settings/reading i have ...
3
votes
1answer
2k views

Echo author ID in author.php

This is probably a super simple question. But how do I echo the ID of a user on author.php? I've tried the_author_meta('ID') But it didn't seem to want to work. I want to echo it at the end of a ...
4
votes
1answer
989 views

Help to condense/optimize some working code

WordPress by default shows ALL posts to users who are Authors. I wanted Authors to only be able to see their own posts so I came up with the following code which works well. Any suggestions to ...
0
votes
1answer
212 views

Get author total post votes from post meta

In author.php, i have the list with the posts written by the author. I'm trying to get the total number of votes, from the author posts. All posts have a post_meta with a numbered value. i need to ...
0
votes
1answer
259 views

How can I include author (their archive page) in search results?

How can I include author archive pages in the default search results? For example if I have an author name Billy Joe and I type his name into the search box a link to his author archive would ...
10
votes
2answers
4k views

How to check if a user (not current user) is logged in?

I need to display the online status (online/offline) for each author page (custom author page template). is_user_logged_in() only applies to the current user and I can't find a relevant approach ...
1
vote
2answers
1k 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);
0
votes
1answer
239 views

Query posts in a category and include only one post per author?

I'm attempting to list posts from a category (a random selection). However, I only want to display one post per author. Thoughts? Appreciate the help.
0
votes
1answer
248 views

Clean links in: the_author_meta('description')

I need to clean any links returned from the_author_meta('description') The code I use is simply that: <p><?php the_author_meta('description'); ?></p> I Searched old question but ...
0
votes
1answer
155 views

WordPress comments on users profile

I have a profile page and I need to make a comment system on it. The comments system should work exactly the same way as standard WordPress comment system, but instead of posts it should work with ...
0
votes
1answer
280 views

Allow an editor to change the author

I am using wordpress multi user and have a set of users set up as Editors who wish to ghost write for another user who is an author. How can they change who the author of the posts is without the ...
0
votes
1answer
47 views

Authors posts on a author created page

Any suggestions/ideas on how to get posts made by certain author to be displayed on a page that same author has created without using author.php? To clear this up a bit, I have a site where author ...
0
votes
1answer
227 views

Don't send notification if author comments his own post plugin help?

is there any way to set an IF statement, that If the author of the post commented or replied on his own post that the wp notification is not sent to him, only if a different user comments he would ...
0
votes
1answer
3k views

Get avatar of the logged-in user in Wordpress

How can I get a user avatar to display in the header of my WordPress site? I've tried: <a href="<?php echo get_author_posts_url($post->post_author); ?>" title="<?php the_author_meta( ...
1
vote
1answer
151 views

Creating author profiles with extra fields and exporting that data?

I'm trying to find a way to let my subscribers sign up to my site and enter details in their author pages to confirm their attendance at an event. In order to create the additional fields, I've been ...
1
vote
2answers
665 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 ...
5
votes
2answers
3k views

Extend WordPress search to include user search

There is many a WordPress plugin out there that enhances WordPress search but I have yet to find a plugin that will add user search. Search Everything used to have the functionality but was removed ...
0
votes
1answer
413 views

Guest author's post not display in author template

I am using this filter to display guest author on post, but i want guest author's posts to appear in the author.php template also. This is my guest author code (inside functions.php). <?php ...
0
votes
2answers
294 views

Comments do not respect display_name setting, how to make plugin to overcome this

When I post something on Wordpress, it's posted with my display name. However if I change my display name, posts posted by me will be updated with the new author. Comments will stay with the old ...
1
vote
1answer
1k views

How to link avatar and nickname to profile

On the single post page I want to link the avatar function to the author profile, but I tried <a href="<?php the_author_posts_link(); ?>"> <img src="<?php echo ...
0
votes
1answer
112 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
305 views

Change author permalink using htaccess?

The original urls for users look like /author/user-name/ Is it possible to replace login by user's id? (something like: /author/34/ (34 is user id)). I found the solution given here, to not work for ...
1
vote
0answers
119 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
263 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
votes
1answer
562 views

Replace author with custom field in feed

I'm doing some customization on a theme that was previously written by someone else. Rather than use multiple user accounts to assign articles, they created a taxonomy for the custom author name(s) so ...
1
vote
1answer
2k views

Possible to search by author name with default WordPress search function?

I realize improving WordPress's search function is a huge can of worms, but the ONLY additional thing I need it to do is to show results when I search for an author's name. For example, if we have an ...
0
votes
1answer
991 views

Prevent 404 of Author pages without posts

How do I prevent author archives without posts from 404ing?
0
votes
1answer
445 views

List ALL posts by author on author archive

I'm having trouble setting up an author archive. I've come up with a few different loops, but I can't seem to get them quite right. I just want it to list all posts by the current author. This shows ...
1
vote
2answers
2k views

Show selected value in a drop down menu

I have a multisite setup and I am adding some additional information fields in the profile edit screen in my theme's dashboard. I am primarily using text fields however I have a drop down selection ...
1
vote
1answer
458 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 ...
0
votes
1answer
194 views

Restrict Search Results to Post Author

Is there a way to restrict search results to only those posted by the logged in user? I have a front-end form the user fills out. Every user has a front-end dashboard and is able edit their own ...
0
votes
3answers
549 views

Commentlist: bypostauthor problem with children list

I have a rather annoying problem with my commentlist. After trying out a lot and playing around with the CSS stylesheet I don't think this is a CSS problem anymore which is why I decided to post here ...