The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
90 views

How can I list random authors from current post category?

The following lists authors of the current category. But I want this to be a list of 6 random authors from current post category. foreach((get_the_category()) as $category) { $postcat= ...
0
votes
1answer
99 views

How can i list random author?

Im listing current category of all author list but I want to list random author list from current category. I was try 'order' => 'RAND', RAND code its not worked. My Code: function ...
0
votes
1answer
344 views

Author's Id from wp list authors function

I'm new in wordpress. I want to display all author list with its ID. I'm using wp_list_authors function but didn't get any author id from the author list. So, How can I get Author's ID in listing of ...
1
vote
0answers
18 views

Author Pages For Custom Post Types [duplicate]

Possible Duplicate: Refine custom posts by author I need a way to display author archive pages for custom post types. I already know how to include custom post types into the default ...
0
votes
3answers
658 views

Getting author URL outside the loop

I am trying to get author information in my header.php. This is what I use to display the name and it works like a charm: <?php $author_id=$post->post_author; ?><?php echo ...
1
vote
2answers
444 views

Query to return maximum of one post per author

We are introducing a "featured author" area on our site and would like to display the most recent articles by a select group of authors. However, we only want a maximum of one post per author to ...
0
votes
1answer
194 views

No authors in change author dropdown

I have added a custom post type "Review", and a custom role "Reviewer". The issue is when logged as admin I take review which current author is admin and I want to change author to a Reviewer I have ...
2
votes
3answers
135 views

Post author is changed to admin after his post is modified by admin

I am writing a plugin which will enable to write posts from front-end. Those posts have to be checked by admin before published. Now if admin edits the post or publishes the post, the post author is ...
0
votes
1answer
65 views

Display all authors in a theme template

I was having an issue the other day and successfully got a very good answer which helped me alot achive what I wanted. this is the post which I created and have all the correspondence: ...
0
votes
2answers
1k 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 ...
6
votes
2answers
256 views

WordPress Internal @ Mentions

I'm looking for a way to link to author pages within one WordPress install simply by putting the @ symbol in front of a person's username in a post.... just like on twitter. Example: If the username ...
2
votes
2answers
308 views

Different permalink for posts and authors

I tried to avoid ask this question, because I think that must be simple, but after long hours trying to get an answer I cant achieve it. I am trying to get a permalink structure like this: ...
0
votes
2answers
189 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
3answers
322 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
vote
1answer
204 views

Author bio Social Links

I'm using simple code to show user social link in author bio. in functions.php <?php function add_remove_contactmethods( $contactmethods ) { // Add Twitter $contactmethods['twitter'] = ...
1
vote
0answers
58 views

Advanced author permalinks

I'm trying to build permalink structure for author archives that would allow me to display different custom post types posts in 'subpages/subarchives' of author archive. So the idea is to change ...
2
votes
1answer
111 views

wordpress plugin that show my reputation (points) in any stackexchange project in my wordpress blogs

I'm seeking for a plugin show my points (reputation) of Stackexchange (not Stackoverflow) in my Wordpress blogs. or other projects in stackexchange like : Superuser Security Serverfault SharePoint ...
0
votes
1answer
94 views

Check if post was modified by editor different than post author

Is there a way to check if a post written by user X is modified by a different user (for example admin, or an editor)? What I want to achieve: I have a site where posts are submitted for publication ...
0
votes
1answer
241 views

Displaying posts limit: can't get pagination to display [duplicate]

Possible Duplicate: Pagination not working with custom loop I'm creating a custom page for logged in current users to view their posts. I would like to limit the number of displayed post to ...
0
votes
2answers
89 views

post author if statement

Hi I'm try to get an if statement to work. I want to display some HTML code if the post is created by a specific author. This is what I'm come up with but it doesn't work. <?php if ( get_posts ...
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 ...
0
votes
2answers
284 views

Authors' Links on Homepage Not Going to Author Post Pages

This problem only occurs with the articles/blog posts on the homepage of the site, readbuzz.com. On the homepage of the site, the author's name is supposed to link to that particular author's post ...
1
vote
1answer
50 views

Same email for all comments

I have An administrator must always approve the comment checked, as well as Email me whenever Anyone posts a comment. This sends an email to the post author. I don't want that. I have one person in ...
4
votes
1answer
270 views

Display posts with author in the url with custom post types

I'm having a really difficult time with this. I have a multi-user gallery site. Each author has his own page that lists the author's posts (this is a custom post type). I have made it so that the ...
1
vote
1answer
41 views

Post list based on the page author

I'm sorry if this question is already been done, but I couldn't solve my problem after reading similar questions. I would like to have customized author pages, in which each author can write text and ...
0
votes
1answer
147 views

Author page points to 404 error page

I am having a membership site in wordpress where there are more than 10K users. Now when the user having a single word user_nicename ( http://example.com/author/james ) try to access their respective ...
0
votes
1answer
86 views

Return one of user's post from a category in user's profile

I'm working on a site which requires requires users to submit a custom profile of sorts, and then one post in a specific category (all of that is being done through Gravity Forms and their User ...
0
votes
1answer
101 views

Exclude Authors based off date of last post

I have several writers that range from frequent to one-time writers for my blog. On my Author page, I would like to separate out writers that have not posted an article in 6 months. It would be nice ...
0
votes
2answers
493 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
1answer
51 views

Create pages for authors

I have a pretty good question here. I would like to create a hidden page on my wordpress blog for each user as they are registered. I already have most of the code of what needs to be put on the page ...
0
votes
1answer
241 views

How to change image's author via a function when using GravityForms uploader?

I am wondering if there is a way to manually change the author of images. I am using Gravity Forms which sets the post author to the current user but does not set them as the author of the images ...
0
votes
2answers
192 views

Featured image for social sharing ot author archive page

Personal blog with occasional guest authors (non-commercial) self hosted Wordpress. I create a bespoke author PHP file for each author (example). I use Yoast SEO and set a default image for meta ...
0
votes
1answer
174 views

Sends out email to admin with post author

Hello i'm using this : add_action('publish_post', 'send_admin_email'); function send_admin_email($post_id){ $to = 'admin@email.here'; $subject = 'subject'; $message = "Here is ...
0
votes
1answer
115 views

All Posts Linking to Author Posts directly

I want to do "All Posts" hyperlinked to Author-Link so when user clicked All posts then user will be directed to Author's all posts, instead of "All Posts of: Author-Link" I don't want repeatation of ...
1
vote
1answer
160 views

Get the author of the latest revision

I would like to display the author (username) of the latest revision of a post from inside the loop. I tried get_the_author(), which echoes the username and $post->post_author(), which returns the ...
1
vote
2answers
412 views

Order query by post meta value

//Displaying latest post per author on front page function filter_where($where = '') { global $wpdb; $where .= " AND vipwp_posts.id = (select id from {$wpdb->prefix}posts p2 where ...
1
vote
1answer
793 views

Force display name as full name

Is there a way I can force all users display names to be Firstname Lastname or alternatively change this to be the default?
0
votes
2answers
130 views

One author not showing in Author drop down list while editing page

USER01 is not showing in Author drop down list while editing a Page if he's in the my custom ROLE "mycustomrole". If I change his role as an AUTHOR, and add the very same custom and non custom ...
0
votes
1answer
186 views

Exclude Author by ID

How can I exclude authors by ID from this: <?php //displays all users with their avatar and their posts (titles) $blogusers = get_users_of_blog(); if ($blogusers) { foreach ($blogusers as ...
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 ...
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; ...
4
votes
1answer
353 views

How to show list of posts by author and category?

Let three categories and their IDs: cat1 = 1 (parent) cat2 = 2 (child of cat1, parent of cat3) cat3 = 3 (child of cat2) Let each category has 3 posts, they are: post1, post2, post3. And each posts ...
0
votes
2answers
734 views

How to get single post by one author?

I just want to get the most latest posts by an author. I am using get_posts at the moment but I notice it doesn't take an author argument, so how I can I specify my author? $args = array( ...
-3
votes
2answers
104 views

why is there an author.php

Why is there an author.php file when the same information is in the single.php? I looked at the template hierarchy and one would think that if author.php wasn't present, the single.php would come into ...
0
votes
1answer
385 views

Change the author posts link using custom user metadata

I am trying to use a custom value to be used in the author posts URL instead of the user_nicename which defaults to user_login in the pretty permalink structure. So far I managed to do that but now ...
0
votes
2answers
971 views

Display all authors and their only one latest post

I have a website with many authors and posts. I need to create a list of all authors and for each one display his latest post (not posts, only one post). This better explains what I need: <ul> ...
1
vote
1answer
148 views

Change get_current_user_id code to the author's profile

I've been modifying a long abandoned plugin project that provides a Stackoverflow inspired badge system for Wordpress. I have upgraded some of its code so it functions with the new Wordpress version. ...
2
votes
1answer
169 views

Improving a Stackoverflow “inspired” badge system to display badges in author page

I've been modifying a long abandoned plugin project that provides a Stackoverflow inspired badge system for Wordpress. I have upgraded some of its code so it functions with the new Wordpress version. ...
0
votes
1answer
54 views

Randomizing Post Links Outside of Loop - No Author or Date

I'm developing a home page that is a mishmash of a bunch of information, including a random smattering of several categories, including blog posts (category 192 in the code below) I'm obviously not ...
0
votes
1answer
177 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 ...