The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
668 views

Author custom fields post meta, the code?

If I wanted to get a custom field of the current user I would use something like this. <?php echo get_user_meta($user_info->ID,'address_line_2',true);?> This time however I want the author so ...
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
2answers
250 views

Showing Post Counts of One's (Author) Own in the admin post list

How can I show user's post counts of one's (Author) own in the admin post list (edit.php) instead of all post count of the system? like published (10), Draft (5) ... of his own or logedin user. ...
1
vote
3answers
22 views

Why are authors allowed to approve comments on their posts? How to revoke privilege?

I was under the impression that only admins/editor roles can approve comments however our authors are able to do so as well on their own posts. I want to disable the ability for an author to approve ...
1
vote
1answer
36 views

Change media attachment author via mysql query

How does one bulk change the media attachment author via an sql query? I have hundreds of media attachments that need to be moved to another author so the original author can be deleted; but that ...
1
vote
1answer
29 views

Completely hide user info

I'm wondering if there's a way to make 100% sure a user's info is not available to the public. Our theme is not currently using a profile page, but I did notice that there is a 'Posts by author' page ...
1
vote
1answer
26 views

Where is the information about the authors for articles stored?

I have recently been appointed to maintain a Wordpress powered news site. I don't have much experience with wordpress and have been teaching myself as I go. The site I am maintaining was recently ...
1
vote
1answer
59 views

How to create a page for authors? like www.myblog.com/author/

I have author.php and it's working fine for authors separately. eg: if I click author1 and it goes to www.myblog.com/author/author1 and shows his details if I click author2 and it goes to ...
1
vote
1answer
84 views

Remove /author/ from the author profile url

I'm trying to figure out the best way to remove /author/ from the profile URL of my users. I tried using the method in the link below and although it worked, it also prevented me from accessing any of ...
1
vote
1answer
307 views

Getting a list of custom posts by author

I'm trying to have a page where a user can view all of the custom post types after they click on an author from a previous page, but I'm having no luck with anything I can find in the built-in PHP ...
1
vote
1answer
212 views

Get author ID with attachment ID

I have a page, outside the loop, that display a media attachment with some basic info about it (title, uploaded date, etc). I have the attachment ID available to me via a form submitted before the ...
1
vote
1answer
204 views

Author bio Social Links

I'm using simple code to show user social link in author bio. in functions.php <?php function add_remove_contactmethods( $contactmethods ) { // Add Twitter $contactmethods['twitter'] = ...
1
vote
1answer
50 views

Same email for all comments

I have An administrator must always approve the comment checked, as well as Email me whenever Anyone posts a comment. This sends an email to the post author. I don't want that. I have one person in ...
1
vote
1answer
91 views

How to automatically remove links from WordPress Biographical Info?

I want to automatically remove any kind of links from author's Biographical Info instead of doing it manually everytime. Whenever a user adds any link to the Biographical Info box, it should be ...
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. ...
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 ...
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
663 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
163 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
79 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
367 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
508 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
608 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
382 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
1k 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
132 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
1answer
11 views

Getting author page slug from get_users() or get_userdata() functions

wp_list_authors() gives a list of author pages permalinks (site.com/author/john, site.com/author/jenny, etc). I want the same links using get_users() or get_userdata() functions instead. I need these ...
1
vote
0answers
10 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
27 views

How to redirect author subdomain pages to each author pages on www

I need to redirect author subdomain pages, for example: http://www.studionews24.com/author/author-name/ I noticed that if I'm on a specific subdomain URL like ...
1
vote
1answer
55 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
1answer
28 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
481 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
219 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
50 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
2answers
470 views

Get current custom user taxonomy

I’m using the plugin User Groups which lets me group users with categories. The plugin is working essentially the same as using the manual method (custom user taxonomies) described by Justin Tadlock ...
1
vote
1answer
340 views

Search posts by post author name

I want to search posts publish by particular author. For this purpose I added a filter in functions.php: function wpse_29570_where_filter($where){ global $wpdb; if( is_search() ) { ...
1
vote
0answers
72 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
139 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
18 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
0answers
58 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
41 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
147 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
1answer
228 views

How to let a user choose an authors and save it to the database?

I have a multi-author Wordpress site which reads different rss feeds and posts them to my page. I was wondering if it is possible to make a code that would provide an opportunity to registered user ...
1
vote
0answers
16 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
143 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
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
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);
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
262 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 ...