The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
17 views

Enable comments for author.php [duplicate]

Possible Duplicate: Commenting in user profile page? Question I have an author.php page and I need to enable comments so when other users come to that authors page they could leave a short ...
1
vote
0answers
148 views

How to set post author to custom post field via front-end form?

hope someone can help. I have my WP install configured to capture posts via a front-end form. Users do not log in, which is an explicit requirement. The author should be set based on a custom post ...
1
vote
2answers
1k views

Get the user type of an author

I'm working on a site and I need to get the type of user the author is so I can mark it. The idea is that if an Admin level user post something it has a [ADMIN] tag or something next to their name. I ...
1
vote
2answers
2k views

Permalink to user profile

How can I retrieve the permalink to a user (author) profile dynamically outside the loop by ID? an alternative to the_author_link(), but for outside the loop. Example: get_author_link($user_id);
1
vote
0answers
120 views

How to filter the edit comments admin page, show only current logged in author comments [duplicate]

Possible Duplicate: Filtering the Admin Comments List to Show Only Comments from the Current User? I am trying to get the edit-comments admin page to only show comments for the logged in ...
1
vote
1answer
278 views

Set default post author to none on new post

On a large multisite install with 200 authors I need the author on new posts to default to none. I unset the post_author div and moved it to the publish box (where it should be anyway) and wrote a ...
1
vote
1answer
472 views

Wordpress Author Page

Whenever I click on the Author link, I get redirected to the home page. I've set up the author.php page according to the instruction on codex, but still no luck. Does anyone have any other ...
1
vote
4answers
605 views

Restrict user role Author from viewing comments in admin interface

I want to add an user as an Author to my blog, so that he can publish posts. But i don't want him to be able to view all the (unapproved) comments in the admin interface. Is there any code snippet / ...
0
votes
2answers
96 views

Author List page: Exclude based on last post date not working correctly

Using the following code from this post I thought I had found the answer to my problems of showing authors that have posted in the last 6 months. Unfortunately the way the function checks the date it ...
0
votes
1answer
363 views

How to implement friend system for Wordpress?

At the moment my users posts are only viewable to them. I would like to implement a system where they can choose to share any post with other users they know. The problem I'm having is, how do I make ...
0
votes
3answers
451 views

How to get author's name by author's id

I want to show recent posts like this. <ul id="recent-posts"> <?php foreach( wp_get_recent_posts() as $recent ){ ?> <li> <a href="<?php echo ...
0
votes
1answer
223 views

How to check if commenter is the_author?

What's the best way of checking if my commenter is also the author of the post that he post comment on? I know there's a css way (.byauthor), but how about PHP? How to compare post author with ...
0
votes
2answers
1k views

How to conditionally hide author name on Single.php if category is “news”, otherwise if category is something else display author name?

I would like to be able to conditionally hide the author's name on the Single.php if the Category name is equal to "News" and otherwise if the category is something else hide it. How do I go about ...
0
votes
1answer
96 views

How can I merge two authors?

I noticed on one of my WordPress installs I have two admin authors with the same email address. Both of them have posts attributed to them. They are both for the same person, so I'd like to combine ...
0
votes
1answer
201 views

Display Notification Bar on Header on Certain Post Count

I want to display notification bar on header in my Wordpress theme when user submit certain number of post. I want to notify my author once they are submit amount of post. e.g. if (authorpost === ...
0
votes
1answer
70 views

Set Default User Role

I'm using WordPress 3.3.1. When a user registers, I want to be able to set the new user to an author. How would I do this?
0
votes
1answer
777 views

Display only author posts in dashboard all posts panel

I would like to display only authors own posts in dashboard all posts section. As of now it displays everything. I found some code here which is written by @t31os Its working correctly. function ...
0
votes
2answers
294 views

What does the class look like that is returned from WP_User_Query?

$wp_user_search = new WP_User_Query( array( 'role' => 'author' ) ); $author_list = $wp_user_search->get_results(); foreach($author_list as $author) { // author properties? } Can you point ...
0
votes
3answers
683 views

Breadcrumbs - get the author?

I have my own function called breadcrumbs(). In it I call is_author() to determine whether I am on an author page. If true I would like to know which author's page I am on. I tried the_author(), but ...
0
votes
2answers
52 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.
0
votes
2answers
59 views

Get author_id in wordpress

I'm having problems to get author_id in this code. Don't show nothing. Some can help me? <?php global $query_string; query_posts( $query_string . '&orderby=rand' ); ?> <?php ...
0
votes
3answers
48 views

obtain the author id given the post id

If $a contains the ID of a certain post, how can one obtain the corresponding author ID? I've tried with $b = get_post( $a); $c = $b->post_author; $d = $c->ID; but it does not work.
0
votes
3answers
136 views

How can I add “posted by 'author'” to each post?

With a multi-user blog, how can I add a posted by Some Author line, or something similar, at the top of each post, as in this blog? I assumed this should be something very basic, and there should be ...
0
votes
3answers
103 views

Show comment number per author per day

Is this possible? I've never seen it used, but I need it... I want to show for each author (if they are logged in) on their own profile page, the amount of comments they have posted today. If the day ...
0
votes
1answer
204 views

List author's posts with SQL

I want display authors'posts with the code below but authors' name aren't showing. What is wrong? <? // query test $qry = $wpdb->get_results( $wpdb->prepare(" SELECT * FROM $wpdb->posts ...
0
votes
3answers
670 views

Display Post Author Link above the loop

I am trying to display current post author link above the loop (before loop starts) with this tag the_author_posts_link() but it's not displaying the author post link. Anyone please help me. Edited ...
0
votes
1answer
1k views

Get author's first name

I am probably being a little dumb here, but can anyone point me in the right direction. I am trying simply display the authors first name as a link in my loop. But the doesnt seem to be any options ...
0
votes
1answer
513 views

no emails for a user account

Is it possible to create a user account without an email. Just a username? I saw that there is a plugin to allow multiple authors under one email. Does anyone have any recommendations on other ways ...
0
votes
2answers
295 views

Most recent post is missing from Author page

Here is the loop from my author.php page. It is showing recent posts, but not the MOST recent. Where is my mistake? <?php if (have_posts()): the_post(); ?> <h3> ...
0
votes
1answer
224 views

Is it possible to get_terms by author?

I get terms from all my posts with get_terms, $tags = get_terms( 'mytags', '&number=5&orderby=date&order=desc&hide_empty=1' ); foreach ( $tags as $tag ) { echo '<a ...
0
votes
1answer
271 views

Clean links in: the_author_meta('description')

I need to clean any links returned from the_author_meta('description') The code I use is simply that: <p><?php the_author_meta('description'); ?></p> I Searched old question but ...
0
votes
1answer
3k views

Get avatar of the logged-in user in Wordpress

How can I get a user avatar to display in the header of my WordPress site? I've tried: <a href="<?php echo get_author_posts_url($post->post_author); ?>" title="<?php the_author_meta( ...
0
votes
1answer
170 views

I have two problems ( SEO )

how are you ? In my website I want to make the author's page and category(slug of it is country) to be in google reslut .. like this : http://rehlat-world.com/profile/saqaf , but when I search in ...
0
votes
2answers
1k views

Output author and description if description is not empty

Is it possible to only display the author's name and description (aka bio) if the description contains text? This code doesn't work (it doesn't return the name or description) but hopefully it can ...
0
votes
2answers
27 views

Authors & profiles (and exclude ID's)

I'm facing the following: I need to create a page with all authors and exclude multiple (id's). Strangely I'm using 'subscribers' to list the authors but it's working. <?php if ( ...
0
votes
2answers
33 views

Get List of all the Authors

How could i get List of all the Authors? author.php file shows the Information about Individual Author. for example: http://domain.com/author/bj that returns the Bj's Profile. if i enter ...
0
votes
1answer
21 views

Display an authors post on a single page only when they are logged in

I am having trouble finding a solution or the correct tutorial on how to get this done, I have been looking for weeks and still no outcome. What I am trying to accomplish is display all post on the ...
0
votes
3answers
29 views

Display A list of Admins

I have a function that allows me to display ALL users on my site, but I was wondering if there was a way to display Admins and Contributors in a separate loop? My current function: function ...
0
votes
1answer
110 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
18 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
124 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
31 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
108 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
297 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
3answers
170 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
66 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
321 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
33 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
174 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( ...