The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
1k views

Force display name as full name

Is there a way I can force all users display names to be Firstname Lastname or alternatively change this to be the default?
1
vote
1answer
161 views

Show different badge based upon the user role

Problem I have authors page and I need to display a different badge for Authors and Subscribers. Authors on the site have certain abilities that differ from Subscribers and I would like to display a ...
1
vote
1answer
807 views

How do I create a separate page for each author?

I am working on a website where I have authors listed on a custom-made author's page using code adapted from this site: http://bavotasan.com/2011/an-even-better-author-list-in-wordpress/. When you ...
1
vote
1answer
583 views

Author can only see own post comment and can moderate

I am trying to make things work like where author can see only them post comment in admin comment section and they can moderate as well. While admin should have all permission. I am having one code ...
1
vote
1answer
115 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
389 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 ...
1
vote
2answers
422 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 ...
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
2answers
341 views

Author website URL

I've assigned a specific html page (let's call it an author bio page) to each user in the 'website' field within the user admin area. How do I get that URL to display within a single page post? I'm ...
1
vote
2answers
779 views

Show info to author only

I'm writing my own plugin. works like this: function myfunc (){ $a = 'hello'; // the sentence what Am looking for: if ( user is logged and is the author of current post / page ){ ...
1
vote
1answer
777 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
275 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
1answer
22 views

Commenter should see only his comments in wordpress

I'm building a site for a research and my participants will be all logged in to use the site. I would like to make these participants able to see only their own comments, so other users' comments will ...
1
vote
1answer
35 views

What do you put in child themes author tag?

What is the common practice in authoring child themes ? I mean, if I make child theme of some free theme should I put myself as author or should I keep the name of the original themes author ? I ...
1
vote
2answers
39 views

How Can I Call Up The Author's Name on a Post

For some reason my by author disappeared and I cant turn it back on. I know where I want to put it on single.php at the end of the post, but I can't figure out what code I have to put in for it to ...
1
vote
3answers
202 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
144 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
54 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
49 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
2answers
4k views

get post author id outside loop

I need to place in post edit dashboard metabox with post author e-mail (or other user meta fields). So it can be edited when admin reviews this post. $meta_id = get_the_author_meta( 'user_email', ...
1
vote
1answer
188 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
2answers
1k 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
381 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
2answers
329 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
54 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
179 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
72 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
155 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
179 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
808 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
302 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
1k 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
176 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
429 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
545 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
707 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
420 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
136 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
84 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
1answer
213 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
120 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
1answer
143 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
392 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
30 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
679 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
338 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?