The author tag has no wiki summary.
1
vote
3answers
2k views
show author image in posts
I need to display author image along with posts. I used the following code to display posts with author image.
$the_query = new WP_Query("post_type=post&paged=".get_query_var('paged'));
while ( ...
0
votes
1answer
53 views
Set Default User Role
I'm using WordPress 3.3.1. When a user registers, I want to be able to set the new user to an author. How would I do this?
0
votes
2answers
285 views
If statement for is_author of a post
I want to show something in the sidebar of a post only if the author of the post equals a specific author or username. I was looking at is_author() but that doesn't seem to do the trick.
1
vote
1answer
702 views
Is there any function available to echo current user's profile url?
As of now i'm using this code to echo user's profile url.
<?php echo esc_url( home_url( '/' ) ); ?>user/<?php echo $current_user->user_login ?>"><?php echo ...
3
votes
1answer
600 views
How to add author details in the post sidebar?
I would like to add author details in the sidebar instead of bottom of the post?
Can anyone tell me how to do that?
As of now i'm using like this in the loop
<?php $curauthor = ...
0
votes
1answer
155 views
WordPress Authors not showing with User Submitted Posts plugin
I'm using the User Submitted Post plugin to allow people to post to my blog. However when i run <?php wp_list_authors(); ?> I see none of the authors listed on the posts page in the dashboard. ...
0
votes
1answer
246 views
How to Add Author Editing Capability to Existing Post by Admin
I apologize if this is mentioned on here but I can't find any information!
Anyway, I am building a WordPress site where I created the content with my administrator account. However, once the site is ...
0
votes
2answers
273 views
Multiple Authors on a Single Blog
I'm currently researching into using WordPress and so, apologies in advance if this seems like a very basic question.
Our main requirement is to have a single blog, but allow multiple users / ...
0
votes
1answer
103 views
How to display Author names by Birthday and Profession? [closed]
I need to know a method by which i can input information of Birthday and Profession for all authors. Then, i want to display the author name by profession, birthdays.
Eg: A list of Professions will ...
0
votes
4answers
868 views
Automatically assign posts by author to a specific category
Some of the authors in my blog must always add their posts to a specific category each time they post.
Sometimes they forget this so therefore I'm wondering if there are any ways to automatically ...
0
votes
1answer
106 views
How to Insert A List of Posts in A Category Written by the Author into the Author Archive
What I want: http://i.imgur.com/jH6Dj.png (sorry for linking out, I am a new user here so can't post an image inline)
How does one list posts by an author within a category, with a count for each ...
2
votes
1answer
155 views
Is there a way to prevent author change when editor/administrator edits a post?
As an administrator when I change or edit a post of an author (for example add a category through quick edit) the author of the post changes. We do not want this to happen. Is there a way to prevent ...
1
vote
1answer
535 views
Show only oldest post by author
I am working with a heavily customized install of WP. I've set up a specific post type, taxonomy, and roles that gets to use just that post type.
Ideally, I'd like to restrict members of that role ...
0
votes
2answers
725 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 ...
1
vote
1answer
4k views
How to get a buddypress user profile link and a certain user profile field for the current post author?
I want to replace get_author_link() and get_the_author_meta($feld)
with something equivalent to point to the author of the current post Buddypress user profile page and retrieve a specific profile ...
3
votes
2answers
76 views
What's a good way to put authors into groups
I have 7 companies contributing to one blog, and each company has 3 authors. I'd like to show all posts by all authors of one company. Is that possible?
1
vote
2answers
543 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
119 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
64 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
394 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
150 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
733 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
131 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
211 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
67 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
432 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
104 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
143 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
174 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
394 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
174 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
209 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
137 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
565 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
503 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 ...
0
votes
1answer
902 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 ...
3
votes
1answer
734 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
162 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
122 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 ...
6
votes
2answers
2k 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
859 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
168 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
174 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
119 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
192 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
38 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
149 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
1k 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( ...
0
votes
1answer
113 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 ...
0
votes
2answers
444 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 ...