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

'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.

1
vote
1answer
37 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
44 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
11 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
0answers
11 views

Set function to skip Buddypress profile page/tab

I am using the following code, within my function.php file, to set the author links to point to the buddypress profile pages for each author, rather than the default author archive pages they'd ...
0
votes
1answer
18 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
12 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
0answers
14 views

Allow users to use certain authors in posts

Would it be possible to limit which author name users can use in backend? Lets say there is user (A) and hes only allowed to change post author to (A) or (B) and then there is user (C) and he can use ...
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
14 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
21 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
17 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
68 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
18 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
13 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
17 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
65 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
66 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
77 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
38 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
9 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
18 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
14 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
158 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
73 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
24 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
29 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
19 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
40 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
9 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
29 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
31 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
44 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-...
0
votes
0answers
27 views

Can't use Persian/Farsi in Author slug (returns 404)

I have modified author links to show nickname instead of username, using this tutorial. It works correctly with English names, but when I use Persian, it returns a 404. What's wrong? I've also tried ...
0
votes
1answer
14 views

Show author image at home page latestest posts plugin

On my home page, I'm showing the last 3 blog posts with their respective titles, texts and their featured images. I need to change the featured image at homepage to each blog to the image of the ...
0
votes
1answer
19 views

Post by category+author not working!

Hi guys, someone know why this code is ignoring the author id and is giving to all logged user the same post, i want to show a single post related and published by logged user? all user has a post in ...
0
votes
1answer
32 views

Disable Wordpress Comment Author Name

I am using the Wordpress theme Switty and was wondering how to entirely disable the comments section's poster. I need to create a member-only, anonymous comments section and am using Wishlist Member ...
0
votes
0answers
40 views

Change Wordpress Author by PHP (Frontend)

I want to change the Post Author using a dropdown field, on front-end, when have logged is as admin (or some other rule). I actually have this code: <form action="" method="post"> <?php if (...
0
votes
0answers
48 views

Custom post type support for get_users and ( get_author_posts_url( $user->ID );

I'm creating a knowledge base using a plugin and am stuggling to create a page listing authors with a link to their posts. The plugin uses a custom post type (epkb_post_type_1) for articles. The theme ...
0
votes
1answer
32 views

On Wordpress Search, how to search post from Author meta also

With below code working for searching with post title and post content. And also after installing plugin 'ACF: Better Search', the post is also searching from the ACF fields and give search result on ...
0
votes
0answers
17 views

Author is empty on server, not in localhost

I have an odd case here. This is one of my template parts: $BASE_URI = get_template_directory_uri(); global $post; $cats = wp_get_post_categories($post->ID); ?> <div class="row"> &...
0
votes
1answer
25 views

Auto assign author to new posts with wp_insert_post_data

I need to make the default author for all new posts be already selected but leave existing posts unmodified. So since the default post status is "draft" i thought to only do this if the post is a ...
0
votes
1answer
19 views

Pulling author name via $_GET parameter

So I'm running a few ACF forms. One creates the post, and then I have an edit post form that edits the post via a form that populates based on the post id. So my edit post url: site.com/edit-post/?...
0
votes
1answer
25 views

Only allow posts with a specific term to only be viewed by other authors with the same term in their post

I have lots of authors each with a post each. I only want posts that have a specific term (from a custom taxonomy) to be visible by other authors with the same term in their post. In other words, if ...
0
votes
0answers
38 views

Do not duplicate authors in single loop

I'm trying to exclude authors duplication on single loop. <?php $author_ids = array(); $args = (array( 'post_type' => 'post', 'posts_per_page' => 3, 'author__not_in' =&...
0
votes
1answer
21 views

Change all author links in Blog roll

I want all the author links on my blog page to go to a specific url ("/about") instead of the individual author pages. I know this can be done easily with JavaScript, but is there way to do it in ...
0
votes
0answers
16 views

How to show only posts section in WP dashboard for user Author

I removed every items from WP dashboard for user Author inserting a function in functions.php and I also restrict media library for him. I dont' try to 'obscure' dashboard page for user Author (the ...