Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [author]

'Author' in the WP context can refer to two different things: the person who has written a certain post/page or the role a user has.

0
votes
1answer
24 views

How to update author display name on blog posts based on user role

I'm trying to add a verify author badge to my blog and i have been able to use this code function add_verification_bagdge_to_authors($current_user) { global $post; $current_user = ...
0
votes
1answer
9 views

Author name length character limit?

In comments, I want to limit author names. For example, the author's name should be no more than 10 characters. I'm looking for a way to do this. Thank you very much in advance.
0
votes
0answers
15 views

Related posts by many fields with OR - WP Query

I would like to have related posts on my webpage. The idea is to show everything that is related to this post, so the author could be the same, tags or category(I assume that post have only one) - ...
0
votes
0answers
22 views

Show posts with a specific category or aithor

Im creating a custom feed for users on my website, where each one can follow users and categories and see post from them. I'm not really sure how though. I have tried to use author__in and ...
0
votes
1answer
23 views

author.php not showing content if Author has no Posts

I am making a custom Genesis theme, and have a custom author.php file that pulls in various custom fields (Using Advanced Custom Fields), and author meta information to the page from the author ...
0
votes
0answers
17 views

In WordPress, Is it possible to allow a user to edit some of the posts created by others, but not all of them?

guys. I'm wondering if in WordPress, it is possible to allow a user which does not have the right to publish a post, to edit some of the published posts but not all of them? Say, I've published 3 ...
0
votes
0answers
13 views

How do I get all authors posts of a custom post type outside loop

I'm trying to create a utility script that to add some metadata into all posts of a certain post type. Right now I have it set up to loop through all users $blogusers = get_users(array( 'role'...
0
votes
1answer
14 views

How to display latest posts with authors image

how can U get latest posts from a specific category and post them with the picture of the author. All authors are signed as an author on WordPress and they all have profile picture. Actually it will ...
2
votes
2answers
23 views

Display only custom post type count for current author on the “At a Glance” dashboard widget

I am using this code to display all custom post types along with their count on the "At a Glance" dashboard widget: add_action( 'dashboard_glance_items', 'cpad_at_glance_content_table_end' ); ...
0
votes
0answers
5 views

How to limit each author user to post only in admin-pre-selected taxonomies?

I need to manually select different taxonomies for each author on the website I'm developing. The selected taxonomies have to be already checked when the author creates a new post, and he can't select ...
0
votes
1answer
30 views

How do I tag every author in their posts that they have made previously

So here is the situation, I have a wordpress blog site that is a few years old, and every user had a different account to post with. Now what i want is a plugin/script that automatically adds the ...
0
votes
1answer
11 views

Show all authors in drop down panel while choosing author for a post

I would like to see all authors when i am choosing author for a specific post, yet i can only see around 25 of them. We have around 230 authors, how can i see them all? Thank you.
0
votes
1answer
20 views

WordPress does not find author pages in search

I have created a custom child theme based on twentytwelve. I assumed that searching for 'Addy' should return results, as I have an author named 'Addy'. Url is here: https://www.nvk-keramiek.nl.
0
votes
1answer
40 views

How to allow different authors to use same post slug?

We have a multi-author WordPress site where different authors need the ability to use the same slug (post_name). Right now WordPress will append a -2 to the slug but how can we prevent WordPress from ...
0
votes
0answers
28 views

Author Rank the most post

I want to determine the author rank by the number of posts, To add rank to the top 5 authors in most posts list I can most posts list top 5 authors Example; MEX (700) ALEX (300) CLARA (100) JENNY ...
0
votes
1answer
30 views

Why is wp_list_authors not picking up Authors from CPT's?

Why is wp_list_authors not picking up Authors from CPT's when I have the supports option enabled? From what I have read elsewhere it looks like I have everything covered but the authors of CPT's ...
1
vote
1answer
44 views

Show Author information on post page on dashboard

When an admin clicks on a post in the WordPress dashboard, is it possible to display the author of the post's details, like meta content? ie. name, phone, email?
0
votes
1answer
67 views

Following/Followers Users list Using Ajax Pagination inside Author Profile

I will try to be clear, I'm using "Users Following System" plugin. And I added a list of the following/followers users into the author.php profile, now I'm trying to use Ajax pagination. For sure ...
0
votes
0answers
20 views

Polylang: Display author´s bio in default language/disable author´s bio translation

I use to output the post´s author bio. In this field I just add the telephone number of the author so that´s in every language the same. Is there a possibility to say Polylang that it won´t ...
0
votes
1answer
22 views

Author name is not working on category page

On my category page post author name is not getting displayed This is what I am using <?php echo get_the_author_meta('display_name', $author_id); ?> Here is my loop <div class="a-article-...
0
votes
1answer
13 views

How To Display Author Popup on Entry Meta (Genesis Framework)?

How to when the mouse pointer on the author name can display Author Popup like this site? https://www.dietdoctor.com/low-carb/keto Thank you!
0
votes
1answer
33 views

I've removed my /author/ slug but it clashes with new and existing pages. Any fixes?

I've successfully removed my author slug using this tutorial: https://wp-snippet.com/snippets/remove-author-prefix-from-slug/ so it's like website.com/author/cixxy to website.com/cixxy My question ...
0
votes
1answer
25 views

How do I edit disclaimer/contact information?

I inherited this wordpress website called RxStudyGuides to use as a study tool for pharmacy students. However, the owner and creator of the website still has there contact information on the website ...
0
votes
1answer
15 views

How to add author on WordPress Pages? Not blog article page

I am having trouble adding author on each pages of a website built in WordPress. Any idea how can I do that automatically? Thanks
2
votes
1answer
24 views

Display only entire most recent post on author page?

Is there a way to display only the most recent post in its entirety on the author web page instead of all the posts? In other words, I would like the author web page to look just like a single post ...
1
vote
0answers
18 views

Show posts by a custom post author

I have a listing site and various authors create custom posts (job_listing) On the listing post itself, I would like to show the links to the last 5 NORMAL blog posts by that author Is this anywhere ...
0
votes
0answers
24 views

User Comments on separate author page

I have added the user comments to author page (archive template), after the blog posts if any. So on page www.my.blog/author we have blog posts and all the user comments display below the posts. ...
1
vote
1answer
119 views

Permit users with author role to edit a custom post type

I have this already coded project which has a custom post type with a certain behavior: it is only a single post and admins/editors/authors can only edit its content. it's content is a custom data ...
0
votes
1answer
20 views

Display Random Post in Author Page

By default when we open any author's page, WordPress displays latest posts from that author first. What I want: If anyone opens any author's page, it will display random posts from that author. I ...
0
votes
1answer
14 views

Need to display author's email id in the “Edit post” field in wp dashboard. How do I do this?

I have created a custom post type & have enabled frontend posting for the same. I need the Edit post page to display the original author's email id. I already have "post author" displayed, but ...
0
votes
0answers
28 views

How to force authors to 'submit for review'?

So currently when authors add a post they can publish it straight away. How can i change it so that all their posts need to be reviewed first? I've seen a few codes that can solve that but when it ...
2
votes
3answers
105 views

htaccess rewrite for author query string when WP is in subfolder

I have successfully forbidden access to any kind of author pages whether trough /author/username/ or the ?author={#id} query string. I did this with this added to the beginning of my htaccess file: &...
1
vote
1answer
70 views

Hide Author.php template from specific user role

I have a author.php template that styles a user profile (custom role: agents,etc) I have a blog and Editors & Contributors can post articles. Problem When a viewer on the blog clicks an ...
0
votes
1answer
132 views

Add Date and Author to Posts

I need to add the date and author to blog posts. The line needs to read like this example: Posted on January 20, 2018 by Name Clicking on the date will take you to a page with all posts published on ...
0
votes
2answers
46 views

Yoast SEO plugin open graph add meta tag to fetch Avatar from Author Page

I'm trying to create a new og:image for author avatar when the users sharing their author profile page to Facebook. I'm a newbie with WordPress, After searching for more than 6 months but i'm always ...
0
votes
0answers
12 views

Styling the post author meta box without editing the wp core

I'm using Advanced custom fields so that I could place a checkbox 'Certified' in user panel. I look at the user profile and check the box if the user meets certain criteria. I would like to style the ...
1
vote
0answers
10 views

wp-comment author- url +, email filter hook

Don't know how to change '@' and 'HTTP/S' in ALL comment-stuff, so those will be displayed in WP as unclickable contents. Do you have the knowledge and patience to straighten the following lines? ...
0
votes
0answers
19 views

Send email to users when they get new followers

I'm using a simple plugin "user following system" And all what i need to do is sending an email after the users get a new followers. I think this is the important part of the plugin code: function ...
0
votes
0answers
17 views

Author Archive Page just Show Default Post, not my CPT created using Pods Framework

I had a little problem when I created the archive page for the Author to show my CPTs and Default Post created using Pods Framework on a page, at a time. I made some CPTs called "Literature" and "...
0
votes
0answers
191 views

How to get the count of Following and Followers for users

I'm using a plugin "Favorite-Authors" and the plugin owner stopped updating, and i just want to get the followers count of who followed me or the others, I can get the following count by using the ...
0
votes
1answer
14 views

Creating User Profiles using author.php

I am trying to create a user profile template using author.php. However, the template remains blank if I try to see the profile of a user that has not created any posts. www.website.com/author/user1 -...
0
votes
1answer
132 views

How can I disable author pages without 301 redirects?

I have disabled the author pages on my WordPress blog using the Yoast SEO plugin, but I saw that when I click the author name, it just redirects me to the homepage. Can I change the URL myblog.com/...
0
votes
0answers
27 views

How to add verified badges after the names of authors, admins, editors, contributors?

If user = author, admin, editor, contributor (in Post, Comment, Author Bio < Everywhere), then #name:after { font-family: FontAwesome; content: "\f058"; font-size:18px; font-weight:...
0
votes
0answers
35 views

Wordpress Yoast Seo open graph automatic fetch Avatar from Author Page

I'm trying to create a new og:image for author avatar when the users sharing their author profile page to Facebook, i used wpseo_opengraph_image filter, but when i share the link for the first time ...
1
vote
1answer
20 views

URL rewrite add author as base

Im trying to get an author as slug for my designers website. I will give a example below of what im trying to do: I have a designer named "Designer A" with nicename "designer-a". I have an art object ...
-1
votes
1answer
52 views

How to get the total count of Favorite/Favorited authors

I'm trying to get the total favorite/Favorited count for each user, i'm planning to add the counts into author.php to show how many authors Favorited him and how many he favorite others, this the ...
0
votes
0answers
10 views

switch_to_blog author meta

I'm running WP Multisite (7 sites), I'm using switch_to_blog to get some posts from another blogs in my network, with posts i don't have any problems, but when i try to get for example author meta ...
1
vote
1answer
30 views

Dynamic User Id

How do I get the user id of my users dynamically from a custom function? As in not just the id of the currently logged in user but all users depending on which user's profile that you're on. Any help ...
0
votes
1answer
37 views

Trouble with calling an imploded variable in an array

I'm having trouble with calling an imploded variable that is then formed to an array and called in a post loop argument. $user_id = um_profile_id(); // Get current user ID $...
0
votes
1answer
45 views

Comments counter only for Authors Posts

I am building a blog website with many authors. So i have been trying to keep privacy for each author in the back end admin area. I have been using a nice plugin (https://wordpress.org/plugins/view-...