The tag has no usage guidance, but it has a tag wiki.

learn more… | top users | synonyms

0
votes
1answer
25 views

Allow authors to post only in categories they create in WordPress

I'm looking for a way to allow users with an assigned WordPress role (in my case, author) to create new categories and then automatically be restricted to only posting in those categories or the ...
1
vote
2answers
21 views

Author archive doesn't work

I'm trying to solve an issue on my website : www.jack35mm.fr I didn't make the theme (just bought it), but the thing is : the author archive page doesn't work. I mean : ...
1
vote
1answer
782 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 ...
10
votes
6answers
5k views

Select subscriber as author of post in admin panel?

I want to be able to select a subscriber an author of a post in the admin so it displays their name as having written the post, but I do not want to give them any additional privileges (if they login ...
0
votes
1answer
794 views

How to remove “Image Information” and “post date/author” from a media page?

I'm trying to use Wordpress to setup a simple website for my business, and I'm having issues with the gallery page. Once an image is clicked and brought to it's specific page, it includes author and ...
1
vote
1answer
443 views

Author posts url… way to get display name to be url instead of user's ID?

I'm trying to get my authors blog post byline content to link to their archive page of posts. I've got everything working, but would rather the author post link be: ...
1
vote
1answer
57 views

Limit posts per author role (excluding admin) in home page

I have multiple authors in my site and want to show just one, the latest post from each one, excluding the administrators. So, if for example: admin1 has posted 4 posts admin2 posted 3 posts ...
0
votes
2answers
61 views

Create Wordpress bio without backend

I am trying to give users the option to create a user bio, so that it will be displayed in author boxes. However, I do not give my users the option of going through the backend of my website. How ...
1
vote
1answer
76 views

How to use Buddypress xProfile field as Wordpress Bio

First time using this forum. I need some serious help with this question. I am trying to display a user's bio without using the backend. Reason being, I do not allow my users to go through the backend ...
3
votes
1answer
1k 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
1answer
443 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 ...
2
votes
1answer
730 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 ...
0
votes
3answers
1k views

How to give capability (publish contributors posts) to author role?

I am not a PHP programmer, just a simple WordPress user. How can I allow author role to allow publication of contributors posts? What's the technical name for this?
0
votes
1answer
17 views

List of authors posts minus very latest

I'm creating an authors.php page to display all the posts for the author clicked. But the list(s) needs to show the very first / latest post so I can style it diferently than the rest of the posts? ...
1
vote
1answer
447 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 ...
0
votes
1answer
57 views

Modifying get_author_posts_url() in Multisite

I'm not sure if this is a known WordPress Multisite bug, or the way the Multisite I am working on was setup. The kind of issue I am having is similar to this one. The links created by ...
0
votes
1answer
22 views

How to restrict author to only access one custom post type ?

My installed Wordpress have 4 custom post type and 1 default post type. Basically what i want is that the author can also access particular one custom post type. Author must not see other post types.
0
votes
0answers
11 views

Show authors own posts AND all other authors published posts in dashboard

In the Backend Posts section I'm looking to show only the logged in authors posts and all other published posts. e.g. Author 1 has 3 drafts and 1 published post. Author 2 has 4 drafts and 1 published ...
0
votes
0answers
37 views

Display a link to the author's twitter account

I would like to amend some code to provide a link to the twitter page of the post author, where it exists, instead of the standard link to the archive of that user's posts. I have used the following ...
6
votes
3answers
14k 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 ...
0
votes
0answers
21 views

Displaying friend's posts only

So I am using the WPMU Dev friends plugin which adds functionality for WP members to search for friends and to add new friends etc. There is a specific function defined in the PHP file which says it ...
0
votes
2answers
18 views

Display emails of users who already posted at least once

I need to display on a page the list of emails of the users who already posted once on my site. I have this snippet of code: global $wpdb; $min_posts = 1; $author_ids = $wpdb->get_col("SELECT ...
1
vote
1answer
105 views

How to show featured image block in custom post type for Author?

I made a custom post type "Dream". Here is the code: //Add custom post type by Akash add_action( 'init', 'create_post_type'); function create_post_type() { register_post_type( ...
1
vote
1answer
20 views

List user comments in author page

I'm trying to display a list of the author comments in the authors page but it only shows No comments made. How can I list user comments in the authors page? <?php $args = array( 'user_id' ...
0
votes
3answers
47 views

Custom css author role

I need a code snippet to load css (extra style sheet?) when a author is logged in. This is for a custom dashboard and post "page". The screenshot is what i mean by post page. I want to hide stuf by ...
2
votes
0answers
50 views

Change the author slug from nickname to ID

I've changed the default registering option by allowing people to sign up with their e-mail addresses. They also have an option to add their firstname, lastname but it's not required. // Allow email ...
0
votes
3answers
2k views

the_author() not working outside the loop

I have the following code on index.php and I want to include this line of code (bellow) to display author info on top of the loop. <?php include 'author-top.php'; ?><!--author--> I ...
0
votes
1answer
16 views

Assign a category to all articles

I have a database of 4000 articles and I need to assign a specific category to all of this articles. How I can do? If I try by selecting all in the CP and trying to modify them, i get an URI too ...
0
votes
2answers
37 views

How do I change the user via SQL?

I change a user via SQL in wordpress: SET @old_user='old_user'; SET @new_user='new_user'; UPDATE wp_users SET user_login = replace(user_login, @old_user, @new_user); UPDATE wp_users SET ...
1
vote
2answers
639 views

Order query by post meta value

//Displaying latest post per author on front page function filter_where($where = '') { global $wpdb; $where .= " AND vipwp_posts.id = (select id from {$wpdb->prefix}posts p2 where ...
0
votes
1answer
56 views

Show one post per author and limit query to 8 posts

I want to show 8 recent products from multiple authors on the frontpage. Need to show 1 recent product per author. Currently i'm using basic wp query to show recent 8 products. $args = array ( ...
1
vote
1answer
33 views

Send transactional email: first user's post

I want to add this piece of code to my functions.php file, so that when a user creates its first post, he receives an email to congratulate him. function set_mail_html_content_type() { return ...
0
votes
0answers
11 views

add meta box in author tag in wordpress post

By default the Author Metabox on the post editor displays only a drop down to set the author of that respective post/page. I'd like the author's contact info (email address) displayed on the Author ...
0
votes
1answer
33 views

Display Recent Posts in BuddyPress Profile

This is the code I use to get recent WordPress posts. <h2>Recent Posts</h2> <ul> <?php $recent_posts = wp_get_recent_posts(); foreach( $recent_posts as $recent ){ ...
0
votes
1answer
15 views

Individual Comment Notification Setting For Post Author

Is there a way (Either plugin or custom function), to let every author individually choose, if he/she want's to receive comment notification for his/her posts? Some of my autors need to receive those ...
0
votes
1answer
38 views

Display a list of all post from the Author in the author's page (author.php) in alphebetical order

wordpress noob here. I'm trying to get a php code that will list all of the author's post in the author's page, or in author.php file, in alphabetical order. If anyone here knows how, please help.
0
votes
1answer
19 views

Prevent author from editing comments from others in their post

I want to prevent other authors from editing other people's comment made in their post. Does anyone here know how to do this?
0
votes
0answers
16 views

inserting an if statement in wp_notify_postauthor

I'm trying to use the following code below in a plugin i made to send an email to the post author on a comment update. It works but causes problems when creating the custom post type "ticket". I have ...
0
votes
1answer
50 views

How to restrict an author scheduling their post date to a maximum X days ahead from the current date

How would I restrict an author in scheduling their post X (let's say 8) days ahead of the current date?
3
votes
1answer
1k views

Publish author posts only with editor approval?

I run a multi author blog and i am looking for a non plugin solution. The default author user role in Wordpress can publish posts without any approvel - look at Role Capabilities Wordpress Codex. ...
1
vote
2answers
98 views

How can I add an Author filter to the Media Library?

By default the WordPress Media Library allows you to filter results by their type or date. How can I add a third drop down to list and filter by author? Currently we have this: I'd like to have ...
1
vote
1answer
374 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 ...
1
vote
1answer
33 views

Comment displaying full name even after setting another display name?

I've tried everything ... Changing the display name of the user: Changing the author name of the comment: But it doesn't work. The author name of the post is still the user's full name: Why ...
2
votes
2answers
705 views

Comment Author Name In Reply Form

I have enabled comment replies in my blog. Lets say there is a comment Nick has written... when I'm gonna reply, I want to display a message "Replying to Nick" in the reply's form header. Anyone knows ...
0
votes
1answer
33 views

Get author image for posts in loop on custom type posts page

I am archiving all the posts from particular custom post type on a page using the following code. <?php /* Template Name: List-all-shorts */ ?> <?php get_header(); ?> <div ...
2
votes
1answer
230 views

Current post's author name in the author meta tag

I am trying to add the current post's author as the content for the meta author tag. I wrapped this particular meta in an is_single condition and then tried: <meta name="author" content="<?php ...
0
votes
1answer
10 views

Author information on all pages

I want to post inforation about the author of the website on every page. This means it needs to display the 'author' avatar, name, biography (x chars) of id 2. Is this possible?
1
vote
1answer
58 views

Showing author's page with no posts

I'm building a meet the team page, which will be included all team members. I'm using the author.php file template. I have a page that shows all authors (it works with authors who have no posts). ...
4
votes
1answer
2k views

Can I set a default dashboard layout for all users?

I'm creating a multi-author blog, and have recently added the "Dashboard Notepads" plugin. This allows me to add 1 to 3 dashboard widgets which I can write custom notes in, like news or notices. Is ...
0
votes
0answers
55 views

Author info does not show up when author has no posts

When author has no posts, it does not display author name or bio (below code). I tried http://codex.wordpress.org/Author_Templates#Custom_Author_Information but it give me Notice: Trying to get ...