The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
162 views

Posts in loop all show the same author when there are many authors

I am iterating through an array of post IDs $ids. All is displayed correctly except for the authors. Every post shows the same author, although the posts are by different authors. I can't seem to get ...
0
votes
2answers
19 views

This code won't find authors page?

I am using this code to display current users author page. However if the user has a space in their username it won't find the URL. How can I get the code to place a '-' if there is a space in the ...
0
votes
1answer
241 views

add capability to author role to be able to delete attachments

I need my authors to have the right to delete any of the attachments they uploaded in case they made some mistake. Currently if the author clicks on any thumbnail in media-library, he gets the ...
0
votes
2answers
39 views

Different posttypes for different authors

Now what I need to find a solution of is this issue: I have 8 authors, and a bunch of posts. All authors have there own adsense (or other affiliate), we wish to show the adds belongings to the ...
0
votes
1answer
150 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
2answers
335 views

How to Change Author Posts URL

How can I display an authors archive by author id instead author slug like http://example.com/author/author_slug/ to http://example.com/author/123/
0
votes
2answers
181 views

static landing page leading to author specific pages w/ “live” content

My site has a static landing page with buttons to go to Cait's content or Shannons's content. Each author's page will feature their own posts, as well as a section with their social media streams. It ...
0
votes
1answer
67 views

How many members have made comments approved for an article?

Good afternoon. Please, I would like to have a function that calculates for each post displayed (one by one), not how many comments, but how many are the authors of the comments for the post viewed at ...
0
votes
1answer
457 views

Show the title of the latest post by author

I have the following function which I use to show the author name,author avatar and the author biography in a div. I need to show the title of the latest post by the author along with this. Can anyone ...
0
votes
1answer
34 views

Cannot retrieve author in sidebar of single.php

Within a post I can use the_author() to retrieve the author name, but in the sidebar of a single-post page this does not return anything. How to get metadata on the post author outside the post?
0
votes
2answers
1k views

Get all posts by post_author

I am creating a back-end dashboard where I need to show all the post assigned to current user by the wp admin. I assign user role to Author and while creating post (as a wp admin) just assign ...
0
votes
1answer
221 views

How can I limit page parent dropdown to show only author's own pages?

I'm trying to get the page parent dropdown (in page attributes) to show only pages that have been published by the author of the current page. This doesn't seem to work : add_filter( ...
0
votes
2answers
912 views

How we can get the author ID by its Name

How can i retrieve the author id if i have its name. I have fornt end form any user can enter the author name to filter the posts by author name so after that how can i get author id. Or there is any ...
0
votes
1answer
91 views

Create an Author Page on Registration

I actually want my users to have an active user page upon registration. I know that WP doesn't create an author page until the user has created a post but automatically posting something would work ...
0
votes
2answers
332 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
2answers
2k views

get_the_author_meta not working

So I have this website that I am building and I am using get_the_author_meta to display various information about the user / author including user image. I added a function in my functions.php which ...
0
votes
2answers
249 views

How can I manage and limit disk usage for each author?

I want display and limit disk usage for each author and be able to manage disk usage as an administrator. Example: author1: disk space is 20Mb; if they uploaded more 20Mb the upload button (in media ...
0
votes
2answers
699 views

list author's posts in author.php

I want to list 10 last posts of author in author.php template. I used this code: <?php while (have_posts()) : the_post(); ?> <li><a href="<?php the_permalink() ...
0
votes
2answers
986 views

Exclude some authors from query

This script list users with their last post. How to exclude some authors from guery ? <?php //List of users sorted descending by date of lastest post written by user $uc=array(); ...
0
votes
2answers
37 views

why do I have to use required parametres?

Why, when I want to use add_filter( 'author_link', 'foo', 10, 3 ); function foo ( $link, $author_id, $author_nicename ) {} I have to use 3 required parametres? Why cant I do this: add_filter( ...
0
votes
1answer
3k 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
1answer
615 views

Removing the base “Author” or changing it to something else. is it possible?

Is it possible to remove the AUTHOR base? Is it possible change it to postedBy so that the urls is site.com/postedBy/joe And finally, is it possible to remove a custom taxonomy base from the url so ...
0
votes
2answers
978 views

Authors Page : A page of authors

I'm looking for a way to create a parent authors page and then use the author.php for the individual author pages. I've been out of the loop (no pun) for a couple months and am wondering the best way ...
0
votes
1answer
288 views

Author template help. How to check if field exists in the profile?

I'm coding my author template. I want something like this <?php if(Author filled about me)) { ?> <div class="title">About me</div> ...
0
votes
1answer
249 views

Don't send notification if author comments his own post plugin help?

is there any way to set an IF statement, that If the author of the post commented or replied on his own post that the wp notification is not sent to him, only if a different user comments he would ...
0
votes
1answer
218 views

Restrict Search Results to Post Author

Is there a way to restrict search results to only those posted by the logged in user? I have a front-end form the user fills out. Every user has a front-end dashboard and is able edit their own ...
0
votes
3answers
617 views

Commentlist: bypostauthor problem with children list

I have a rather annoying problem with my commentlist. After trying out a lot and playing around with the CSS stylesheet I don't think this is a CSS problem anymore which is why I decided to post here ...
0
votes
2answers
402 views

How to let authors only see website stats for their posts?

Is there a way to show each author website stats, just for the posts that they have published? I run WP as a directory service (1 post each) and thought it would be handy for authors to be able to ...
0
votes
2answers
7k views

How to display posts by current user/author in a custom page template?

I am a trying to create a dashboard like custom page template that list post of of the current logged in user. I've tried to find a solution on the net. but none were appropriate
0
votes
2answers
705 views

Author Page - List of categories plus number of posts in that category

On my author page I currently have a list of categories the author has posted in generated by the following code: <?php $categories = $wpdb->get_results(" SELECT DISTINCT(terms.term_id) as ...
0
votes
2answers
2k views

how can I set the post author of a post I just created with php?

I'm using php to dynamically create a custom post, and I need the author to be someone other than the logged in user. I found this ...
0
votes
2answers
191 views

How to: Retrieve an attachment image from post and output it

If anyone can help me I would be gratefull! I got a gravity form with the post_type fields including the submit image when submited it displays the: title content image tags So my question ...
0
votes
1answer
918 views

Stomping WP_Query in author archive to facilitate pagination with custom queries

I am using get_posts and get_comments to build several loops on the page, at which I am having some issues in pagination. I have the global posts per page option (Settings > Reading) set to 10, and ...
0
votes
2answers
357 views

get author of published post

I am using the publish_post action to run some checks on a user after their post is published: $author_ID = ???? add_action('publish_post', 'rhb_check_current_user', 10, $author_ID); How can I get ...
0
votes
2answers
1k views

Custom Author Loop

Essentially what I'd like to do is have the same effect as the wp_list_authors tag, but instead of just listing the name or their post count, I want to be able to do a loop with the IDs. Ultimately ...
0
votes
2answers
2k views

How to display an archive with multiple authors

I have this coding challenge that's beating my head I built a site for an academic magazine, where some of the articles are written by two or more authors. This was easily acheived using either ...
0
votes
1answer
8 views

Find custom post type url by author

In my blog (multi authors) I have posts and a custom post type named (listing_type). In the site an author can have only 1 listing and many blog posts, and I need to find the listing url published by ...
0
votes
1answer
25 views

Get x recent posts by author?

So I have ten authors on my site, and I want to designate a section where it shows the ten authors and their 5 latest posts in the form of the post title linking to the post. I tried using the ...
0
votes
1answer
47 views

How to reorder the content of the single post?

I installed the "Related Posts" plugin and use <?php the_content(''); ?> to show my single post in single.php. When I want to add the author's name after the post, I use <?php ...
0
votes
1answer
26 views

Twenty Twelve Author not displaying

I have a WordPress blog. On which I want to display author name with each post. I have tried various plugins but these don't work for me. This is the address of blog: http://altuslift.com/blog/ I ...
0
votes
1answer
42 views

Change Author Name to Sitename on Frontend

How can I change the author name on the frontend to be the sitename instead without modifying theme? I am basically looking for something that I can package as plugin on my site that will no longer ...
0
votes
1answer
21 views

Possible to switch between admin view and author view?

The wordpress admin dashboard can be a bit daunting for "normal" wp authors. Is it possible for users who need admin privileges to only see the simpler author view, but be able to switch to the full ...
0
votes
1answer
86 views

Display latest posts of author in a custom post type

Is there a plugin or code of sort that can display the last posts in a custom post type of a blog author? I know there are plugins/codes to display the last posts of the author, but I want to display ...
0
votes
1answer
200 views

Wordpress post count not showing for custom post type author

I've created a few custom post types based on Dave Rupert's boilerplate and then migrated existing posts to these newly created CPTs via Post Type Switcher plugin. I did not make any changes to the ...
0
votes
1answer
86 views

Can't grab author info outside of the loop

I have an author box outside of the loop that is supposed to grab the name of the author, but the correct author isn't being displayed most likely because these tags only work inside the loop. What ...
0
votes
1answer
84 views

Exclude a category of posts in author template

I'm using the following author archive code: <?php /** * The template for displaying Author Archive pages. * * @package Cryout Creations * @subpackage Parabola * @since Parabola 1.0 */ ...
0
votes
1answer
158 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
3answers
71 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 ...
0
votes
1answer
33 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
1answer
31 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.