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

learn more… | top users | synonyms

0
votes
0answers
10 views

Display Authors Comments on Profile Page

Hi I am trying to display a authors comments on their profile page (author.php) however both codes I tried, seem to display everyone's comments. Also the second code method is suppose to link to the ...
0
votes
1answer
14 views

How to hide posts count and posts of other users from edit.php for contributors and authors

I am using wordpress latest version and running a multi author blog. When any user (contributor or author) go to edit.php, they are seeing posts and post counts of other users. I hide the posts of ...
0
votes
1answer
27 views

Display All Authors only

I want to display only Authors not any Subscriber who write blog in my website. So can you help me on this? <?php //define vars from user selection $howManyAuthors = 10; ...
0
votes
0answers
8 views

two author templates for same user

Is it possible to have two author´s templates? I have a list of registered users and when visitor clicks on a user name (user 1) it takes them to a public profile of that person using author.php. Is ...
0
votes
1answer
20 views

Wordpress author box

I have a wordpress site which on media temple shared hosting. When my site on shared hosting, wordpress author box does not appear. I have transfered my site from shared hosting to my server. After I ...
0
votes
1answer
12 views

Missing content on author archive page

I got problem when I deal with the 'author archives' pages. Initially I used default 'archives.php' from my theme. Then I add a 'author.php' page, tested on my local machine, it was ok to show the ...
0
votes
0answers
8 views

Show a full list of writers articles in their archives

The writers archives are only displaying articles for the current month. Meaning, every article they've done before this month isn't showing. :( Its says "show more" but nothing opens. This is causing ...
-3
votes
1answer
23 views

I need social icons on each post

I would like to have social media buttons for Facebook, Twitter, Google+, E-mail, LinkedIn and Whatsapp on each post, authors must be able to select which social media icons have to be displayed and ...
0
votes
0answers
24 views

How to conditionally check for author archive when is_author() fails to work because the author has no posts

I am using the author archive to output user profiles, however the is_author() function only works if the author has a post. If I visit an author archive page directly IE: /author/author-11, it has ...
0
votes
1answer
25 views

How can public access to WordPress query (e.g. author=) URLs be redirected?

I maintain a WordPress site (I'm a programmer but don't have much WordPress experience), and we've noticed that Google is ending up with high-ranked links to "pages" on the WordPress site that we ...
0
votes
1answer
33 views

How to show user role in author.php

php template please tell me how to show author role <?php /** * The template for displaying Author Archive pages. * * */ if ( !isset( $_REQUEST['rtype'] ) && $_REQUEST['rtype'] == '' ...
0
votes
1answer
17 views

How to conditionally output to sidebar of each author's archive and posts by each author?

Specifically, I am trying to conditionally hook a testimonial rotator into the sidebar of specific author archives and single posts for each specific author. Although I am using a specific example ...
0
votes
2answers
18 views

Edit Page Content not showing

I want to edit some pages, already built but I am unable to edit their content (Content is not showing). Although I have Administrator role/rights but not been able to edit pages those are built by ...
0
votes
0answers
12 views

Search within multiple authors posts with Relevanssi

Is it possible to search within multiple authors posts? When I try to create a array and pass it to the query it gives me: explode() expects parameter 2 to be string, array given in ...
1
vote
0answers
68 views

check if author has published posts in custom post type, then send mail

I have a site where people can submit drafts to a custom post type from the frontend. Once a user submits the form, a new WP user is created. If the user is logged in the submitted user e-mail ...
0
votes
0answers
10 views

Add author archives to Wordpress Appearance Menus Screen?

I am trying to figure out how to add a list of all blog authors to the Appearance Menus screen, so they can be added to menus with the same functionality as Pages and Posts, etc. (Not custom links.) ...
6
votes
1answer
59 views

Hook that get's triggered when the author of a post is changed

Is there any hook that gets trigged when the author of a post is modified from the edit post screen? I can list to the update post hook, but then I will not know whether the author of the post was ...
-1
votes
1answer
30 views

Show woocommerce products in author archive

I've added permissions to authors to add products in woocommerce. I would like to know if there is a way to display products by current user in archives. Is this possible?
0
votes
0answers
17 views

Loop media by “uploaded By”?

I have a webpage that I want to display images that are uploaded by a certain author. In the backend if I look at media, each image has an 'Uploaded By' attribute, and then it says the authors name. ...
1
vote
3answers
30 views

Not getting author rank when using return

I am implementing a section in my website to get the top 5 authors using this code. function ranked_authors(){ $usrs = get_users('role=contributor'); $countarr = array(); foreach ($usrs as ...
2
votes
1answer
123 views

How to display all images “Uploaded By” an author

I have multiple users, that have the ability to upload media. When I look at the media library it shows the file information, and included at the bottom is an "Uploaded By 'username'" How can I use ...
0
votes
1answer
47 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 ...
0
votes
0answers
31 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 ...
0
votes
1answer
16 views

How to get the Author type Label Language

I am working on a plugin and I need to have the word 'Author' appear in whatever language is set in the wordpress settings. I have achieved this for the words: Posts and Pages using this code: ...
0
votes
1answer
106 views

If post author ID is..show that

i would like to display a custom adrotate Group everytime if a user ID matches the script. So i created: if (is_author('1')) { echo adrotate_group(8); } elseif (is_author('70')) { echo ...
2
votes
1answer
42 views

How to make an author archive only for certain user role and show related CPT

Scenario I made a CPT where I'm taking the stakeholder's ID as a custom field. All the stakeholders are actually a WordPress' Registered User with a different role stakeholders - because at some ...
0
votes
1answer
60 views

ACF Relationship - Exclude pages not created by author

I have pages that I would like to exclude in a ACF relationship field. My field name is products and the following code excludes the pages with id 9, 10 or 11. ...
0
votes
1answer
49 views

Prevent author role from editing all posts in custom post type?

I thought the Author role was only allowed to edit posts created by that author. That works in Posts and Pages, but I created a custom post type and the author can edit ALL posts in that post type. Do ...
1
vote
1answer
30 views

Programatically change post author

Given a user id, $user_id, and post id, $post_id, how can I programatically update a wordpress post author? Note: these posts are already created and the author cannot be set upon creation. Another ...
1
vote
1answer
82 views

Custom loop for custom post type for current author

I need to edit the below code to only display posts for the current logged-in user/author. It is currently within a Wordpress theme page template file and works well. Any help would be appreciated as ...
0
votes
2answers
18 views

Show author on every sub-page

Is it possible to display the author on all pages (not blog-entries) who created it? Every plugin I find is for blog-posts.
0
votes
0answers
51 views

%author% permalink for woocommerce

I have a multi-vendor website. I need to have the products permalinks set to, something like this: /author/product or /vendor/product Wordpress already has inbuilt code for /%author%/ but sadly this ...
0
votes
1answer
21 views

Sticky post of current viewing author?

How to show sticky post of current browsing author on author.php template? $sticky = get_option( 'sticky_posts' ); rsort( $sticky ); $sticky = array_slice( $sticky, 0, 5000 ); query_posts( array( ...
0
votes
2answers
49 views

Different values for get_author_posts_url and get_the_author (posts 2 posts)

Caveat- I'm not a programmer, I'm a designer that has taught myself basic php/wordpress theming. This is a very specific question, I realize, but I'm hoping the experts can help me find some ...
0
votes
1answer
64 views

Redirect Every Instance of The Author Template Pages to Custom Author Pages

What I'm looking to do is actually a simple redirect, but for the EVERY page contained in the /author/ slug. The working slug I want to redirect to is /team/. For example, if someone were to type ...
0
votes
1answer
46 views

Change author permalink to external URL

There are several questions here on wordpress.SE that explain how you can change the author slug in the author permalink URL, e.g. from http://your.blog.tld/author/author_slug/ to ...
0
votes
0answers
56 views

Allow users to change author of post

I want to allow people to ghost-write for other people. This is why I've made a custom taxononomy in my custom post types called Author filled with all the author names. Now I realize it's probably ...
0
votes
2answers
80 views

Give Author users the right to embed

I'm trying to allow "author" users to embed in posts. I (the administrator) can iframe, embed, etc...., but authors can not. Can someone show me to give authors 'just' the ability to embed and ...
0
votes
2answers
33 views

Display Authors avatars when more than one author

On a blog, i'm using the following to display the post authors avatars: <a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>" style="color:#ffffff;"><?php echo ...
0
votes
0answers
39 views

Search Authors, Filter by custom taxonomies in their posts?

I have a website where users will post their past jobs (custom post type) and choose attributes (custom taxonomies) to describe the type of job and responsibilities. I would like to be able to search ...
0
votes
0answers
67 views

Show author box of custom post type

I have installed a plugin to create ads listing but in the single ads page there is not the metabox author. What I want is to show below any single ad listing a box with listing's author info. I ...
0
votes
2answers
165 views

Removing /author/ slug from URL gives 404

After hours of searching and trying different functions, I've finally successfully removed the /author/ from all of our users profile URLs. So its just /username/ However, when new users register ...
0
votes
1answer
234 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 ...
0
votes
1answer
38 views

show latest authors blog post

how do you display the latest authors blog post? I have the below code: <?php $author = get_the_author(); $args = array( 'numberposts' => '1', 'author'=>$author ); $recent_posts = ...
0
votes
1answer
474 views

Displaying custom post types in author.php

I am trying to modify my author.php page so that it includes the custom post types which the author has added. The below is what I have where it first displays the normal posts, and then displays the ...
1
vote
1answer
351 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 ...
3
votes
3answers
213 views

Query posts distinct authors

I am trying to get post from a category ordered random, but making sure that the author does not repeat itself. So I have this query which works as intended, but there is the chance that the author ...
0
votes
0answers
25 views

Search results for author account pages

I'm looking to find out if there are any plugins / code out there for Wordpress search to return results for user author accounts. NOT posts from authors. NOT pages that authors have created, but the ...
0
votes
0answers
74 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( ...
0
votes
1answer
31 views

Authors divided alphabetically

I'd like to create a page on my site listing all of the site's contributors with info like their bio, URL, etc.. I found this code which is perfectly suited for my needs. However, what I'd like to ...