The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
539 views

<?php 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 ...
-1
votes
1answer
26 views

Emailing Authors only when a CUSTOM POST TYPE post is published- not when edited later [duplicate]

I have the following function that emails authors of a custom post type when the post is published which is great, but I would like it so that it does not email them on any future edits after that to ...
2
votes
0answers
234 views

How to let a user choose an authors and save it to the database?

I have a multi-author Wordpress site which reads different rss feeds and posts them to my page. I was wondering if it is possible to make a code that would provide an opportunity to registered user ...
1
vote
1answer
13 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 ...
0
votes
5answers
2k views

Automatically assign posts by author to a specific category

Some of the authors in my blog must always add their posts to a specific category each time they post. Sometimes they forget this so therefore I'm wondering if there are any ways to automatically ...
0
votes
0answers
16 views

Add new user and user bio at same time

Note this is not referring to any type of author bio display but rather how it's entered via the Admin. As it stands now, the new user screen doesn't have any author bio field. It's only after you ...
0
votes
2answers
306 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?
1
vote
1answer
345 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() ) { ...
0
votes
1answer
244 views

Get Comment Author ID on the fly while posting

I am adding custom data to custom table while author posting a comment. Please find my code in my own answer here http://wordpress.stackexchange.com/a/85109/9821 Now I want to add one more column of ...
2
votes
1answer
2k views

Woocommerce: assign an “author” to a product

I'm developing my first theme for woocommerce. I need to be able to have "authors" (really "designers") assigned to woocommerce products. Is that feasible? I was thinking of using the wordpress ...
1
vote
0answers
12 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" ...
0
votes
0answers
18 views

Co-Authors Plugin Displaying Wrong Author

I'm using the Co-Authors Plugin and some posts have multiple authors: in functions.php function my_get_multiple_authors(){ if ( function_exists( 'coauthors_posts_links' ) ) { ...
1
vote
6answers
6k views

How to get Author ID outside the loop

I can't get the post author ID outside the loop to make the get_the_author_meta work. So far I've tried different approaches: 1. $author_id=$post->post_author; 2. global $post; ...
0
votes
2answers
915 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', ...
0
votes
1answer
417 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 ...
1
vote
2answers
477 views

Get current custom user taxonomy

I’m using the plugin User Groups which lets me group users with categories. The plugin is working essentially the same as using the manual method (custom user taxonomies) described by Justin Tadlock ...
1
vote
3answers
22 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 ...
0
votes
3answers
323 views

Can't change author to myself after post published

I am having this weird issue wherein if I create and publish a post, I can/am attributed as the author. However, if my editor creates a post and tries to add me as an author, I don't appear. It ...
-1
votes
0answers
26 views

Creating a second custom public author page

I'm sorry if this question have already been asked, but I couldn't solve my problem after reading similar issues. I have my author page (www.mysite.com/authorname) that works well and takes the ...
2
votes
1answer
98 views

Limit number of posts a user can make per minute?

So I found the solution to limiting a number of posts a user can make per day but not per minute. Here's an excerpt from the code I found on ...
0
votes
0answers
24 views

Create a author subpage

I want to create a author subpage, that looks like this www.example.com/author/user/subpage I read the Wordpess codex about how to create subpages. You can link a page with another page in the page ...
0
votes
1answer
38 views

Variable undefined but it is defined

I have an author list that I include on every page template. This author list shows the authors details and photo. I also show the author images on many different place on the different page ...
0
votes
2answers
38 views

Is author.php a core file?

I want to change the author.php with more information. Can i edit author.php without it remove my code, after a Wordpress update? Or is there some hook for this.
2
votes
1answer
106 views

Google Authorship on a multi-author blog?

I hav been having some difficulties getting authorship set up for a multi-author blog. Everything appears to be set up correctly, but I am wondering if having multiple rel="author" tags on the home ...
0
votes
1answer
85 views

Allow Google crawler to crawl specific Author pages

I have a WordPress website with thousands of registered users. For each user a profile page is created. Most of these pages are low quality because most users do not fill their profile with ...
0
votes
1answer
24 views

Wordpress Author Information show paragraph?

In back-end I'm update 3 paragraph in Author information. But it's showing frontend it's collapsed. And not showing paragraph. How to fix this problem. Ex: paragraph 1. paragraph 2. paragraph 3. ...
0
votes
1answer
22 views

Hide all posts by an author

We have a category called "Tech", and want to hide posts from a specific author on this page. For example, John Smith's posts do not show in Tech category, or any category for that matter, even ...
1
vote
1answer
37 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 ...
0
votes
0answers
32 views

Customized author slugs not working with get_author_posts_url method

I really appreciated the solution for the author rewrite rules here: Change Author Base Slug for different Roles The solution worked for me, however, when I now use the get_author_posts_url($id) ...
0
votes
1answer
21 views

Author capabilities: Deleting comments on their own published posts

I know users that have role author can delete their own published posts. But if someone comments on one of their posts, does the post author have the capability to delete that comment?
0
votes
1answer
57 views

How can i show pagenavi in my author.php?

With this query in author.php i show all posts from a specific author_id/name/slug. But the problem is when i set the minimum of posts to show in the page. I have tried with posts_per_page= but if i ...
0
votes
2answers
225 views

Allow Content Author to Publish, But Not Edit or Delete

I am hiring a content writer for my WordPress blog. I will be the sole blog admin. I need to define a role for this writer. I was wondering if there was a WordPress user role that will allow him to ...
0
votes
1answer
36 views

Multiple authors for single post without plugin

I'm new to using WordPress and so, apologies in advance if this seems like a very basic question. I want to have multiple authors for single post. I had seen Co-Author. But I don't have to use plugin ...
0
votes
3answers
37 views

Saving return value from the_author_posts_link()

As you know, in the loop, the_title() function displays (echos) the post title to the screen, and get_the_title() returns it (so it can be saved in a variable). The same is true for the pair ...
1
vote
3answers
2k views

Display edit link if post author is current user

I am creating an author.php page and listing all the posts from an author. Although admins can see the posts' edit links i want to echo the link if logged in user is the current user for example if ...
0
votes
1answer
19 views

Getting posts from multiple users?

Using a third party plugin that allows users to follow each other, we can retrieve the users being followed like so (commented):- <?php if (have_posts()) : ?> <?php global ...
2
votes
2answers
135 views

Custom Author Fields + Existing Taxonomy - Integrating the Two Dynamically?

I am trying to integrate both the values from an existing custom taxonomy and custom author profile fields. I would like the values to be used as the options from which an author can select when ...
2
votes
3answers
3k views

More posts from the current author

On a multi author WordPress blog I need to show a list with more posts from the current author. The list is inside the Loop, so I can use <?php the_author_meta('first_name'); ?> <?php ...
0
votes
0answers
18 views

Sort Post by Author Meta Field?

Im trying to make a High Scores table. The scores are stored in the user profile as an author_meta. Im not having any problems getting the scores from the post, what I cant do is put them into an ...
0
votes
0answers
12 views

Custom blogroll-like section

I'm developing a wordpress.org site with a newspaper custom theme. I have a sidebar section named 'Opinion' working like a blogroll: a list of posts with title and author; the most recent post is at ...
-2
votes
2answers
173 views

Removing Author name

I want to remove the author name from every post. O am using a website in wordpress.org. and I'm using tweenty fourteen theme. How to remove the author name? Do I have to go to the Author template ...
1
vote
1answer
29 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
0answers
27 views

How to redirect author subdomain pages to each author pages on www

I need to redirect author subdomain pages, for example: http://www.studionews24.com/author/author-name/ I noticed that if I'm on a specific subdomain URL like ...
0
votes
1answer
21 views

List custom taxonomies associated to an author's posts

On the author template, I would like to display a list of the custom taxonomies associated to the posts written by that author. In details: I have a "clubs" taxonomy, which is non-hierarchical and ...
0
votes
0answers
26 views

Using a Multi Site Users Blog ID as a WP Prefix

I'm trying to update a plugin so that the prefix for the defined tables is taken from the ID of the posts authors site This is what I am trying to do at the moment function { global $authordata, ...
6
votes
2answers
2k views

Override default url for author pages?

So the default url to display a list of posts by a particular author looks like this: http://domain.com/author/{username} I am wondering how to change the 'author' in that url to something else? I ...
0
votes
1answer
2k views

How do I get the author's page url from their ID?

What is the best way to get the author's page url, so http://example.com/author/user73, from their ID number?
0
votes
0answers
16 views

WP_Query For Custom Author and Single CPT Search?

I have created a search page where users can search the site with these options: (1) Keyword (2) Keyword in/from 12 different Custom Post Types (CPT's) (3) Keyword in/by a single Author's posts ...
0
votes
1answer
19 views

Getting the author name on author archive page

My template not work for author name on author archive. I tried change to get_the_author but nothing changed. Hope someone help me out. Thank in advance.
0
votes
1answer
50 views

Get_the_author doesn't return author name

I insert author box below my post and use get_the_author to return author name but it doesn't working. It also doesn't working with Search post by author. Hope everyone give me solution, thank in ...