The author tag has no wiki summary.
1
vote
1answer
12 views
Remove wordpress author's capability to moderate comments on their own posts
WordPress authors have permission to edit others comments on their own post. How to disable this and still allow the authors to edit their published posts?
1
vote
0answers
17 views
limit post by a taxonomy in the admin
I have a site with authors from different locations. I have created a taxonomy called locations and has different countries (ex. Canada, Germany).
Each author need only to see his country's post for ...
0
votes
1answer
20 views
Display author box on just certain category posts?
I'm using this code to display a author box after my blog posts. The issue that I'm having is that it is showing up on all custom post types as well which I don't want. What I need is for it to show ...
0
votes
1answer
31 views
How to display posts by author in a separate page, other than author.php?
I have an author.php page that displays two kind of posts:
first section displays latest 10 posts(games) from all categories, except one.
second section displays latest 10 posts only from that ...
0
votes
1answer
20 views
Is there a author_update action?
Is there an action you can tie into whenever an authors information is updated. (ie they update their display name). If not is there any way to tie into this?
0
votes
1answer
24 views
Get the terms of a custom taxonomy for a specific author in author template
I am using a custom post type in my website and a custom taxonomy for it.
An author selects one or many terms before publishsing its post.
My goal is to display authors pages in front end, so I ...
0
votes
1answer
12 views
Conditional For get_the_author_meta
In post loop I'd like to setup a condition for get_the_author_meta.
So if the author meta field is empty, then nothing is displayed. Below is what I have but it's not working.
<?php ...
0
votes
2answers
24 views
Php markup question: php/html within conditional bit
I'm getting very confused trying to get an existing bit of code to work within a conditional if/else bit of code. I can't get the syntax correct. All the echo commas and semi colons (sorry I'm not a ...
0
votes
3answers
21 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
76 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
0answers
15 views
author ROLE is showing NONE on admin panel
recently i have migrate my wp blog to a new server. but on the new server everything is working fine. but my author are not able to login. then i checked the admin panel all user. there i can see lots ...
0
votes
0answers
25 views
wp user role,username and email id is missing on wp admin panel
i am facing a totally strange problem on my wordpress blog. recently i have migrate my wp blog to a new server. but on the new server everything is working fine. but my author are not able to login. ...
0
votes
1answer
15 views
Problem with the_autor_meta(); [closed]
this does not work
<a class="otro" href="<?php the_author_meta('facebook'); ?>" title="Facebook" target="_blank" >Facebook</a>
The result is ...
-1
votes
1answer
23 views
Echo author slug in post edit page
On the Post edit page in the back-end, how do I echo the author's user_nicename? I am referring to the author of the post, not current user.
0
votes
2answers
64 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
2answers
40 views
Display all comments or recent comments per user on author page
I have author pages for each author and I want to see all of their comments (or all of their recent comments) if I click on their nickname. How can I do this? I tried the beneath code, but that does ...
0
votes
3answers
48 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 ...
1
vote
1answer
36 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
0answers
20 views
Filter by Author on Category Pages
I'm looking for a solution to filter/sort posts by author on category pages/archive pages, ideally by means of a drop-down menu.
I've searched the Wordpress plugin repository but cannot find any ...
0
votes
1answer
18 views
Cannot select certain authors for posts after import
I just consolidated a couple standalone WordPress installs into one Multi-site install. After importing posts into each site accordingly, I am unable to edit a post or page, and select a different ...
0
votes
0answers
63 views
Resize and crop image during upload
How to add more function to resize and crop image during upload?
I want to creat a avatar upload form on author profile.
And size of avatar: 150x150
If file size have width > height => resize by ...
0
votes
1answer
19 views
Authors Ability to Review Post from Contributors
I am developing a CMS using WordPress. I have different user roles. I have different departments and I want users (Role of contributors) to post items that would be submitted for review by Users ...
0
votes
2answers
47 views
How can I get all author written content?
I have a site that needs two different tabs:
1. all author written content (Posts, comments, CTP)
2. all author followed content (categories, taxonomies, other users content)
For the first all I ...
0
votes
1answer
47 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
47 views
Author template - separate custom post type by custom taxonomy term for $curauth
Basically I have a post type called photograph, I then have a Taxonomy group called "Subject" and several tax terms i.e. Abstract, freeze frame etc (Approx 18 in total) under that Taxonomy group.
I ...
0
votes
2answers
17 views
Display message depending on capability outside loop
I want to display a unique message on the post (single.php) page outside the loop on author box. I want the message to be different depending on the author's capabilities. So for instance, if the ...
0
votes
1answer
38 views
Order the users by the date of their latest post
I use the following code for getting the authors of in my multi-author blog and order them by their post count. I want to order them by the date of their last post
$authors = ...
0
votes
2answers
49 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 ...
3
votes
2answers
85 views
How to modify author base slug with groups and slug to use nice_nickname?
After reading the following suggestions from Jan Fabry regarding URL rewrite and the author slug I took the challenge in combining both solution in one.
Change author base slug for different roles
...
0
votes
0answers
29 views
Display posts on a separate page from certain authors?
I've been working on this for days. I've tried the WP codex, Google searching, etc, and I know I'm not doing something right but my patience has run out :( .
I have 3 authors. I am trying to display ...
0
votes
1answer
47 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 ...
1
vote
1answer
41 views
Get author ID with attachment ID
I have a page, outside the loop, that display a media attachment with some basic info about it (title, uploaded date, etc). I have the attachment ID available to me via a form submitted before the ...
-1
votes
1answer
62 views
Show the most recent post for an author on the author page
I have 6 authors in my blog page. I have profile for each of the authors. I want to show the posts of the authors dynamically under their own profile. I tried the following but it showed all posts. ...
0
votes
1answer
59 views
Get all media files for current author
I'm trying to create a list on the frontend of my site of all media items that the current user has uploaded.
It seems like the way to do this would be to loop through and compare the ID of the ...
0
votes
1answer
22 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
186 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 ...
1
vote
1answer
51 views
search posts by post author name
I want to search posts publish by particular author. for this purpose i add a filter in funcions.php as
function wpse_29570_where_filter($where){
global $wpdb;
if( is_search() ) {
...
1
vote
0answers
40 views
Change base URL of pages created by certain users
Currently on wordpress all pages are created under the base URL (example.com/{PAGE}). Currently I am aware you can change the permalink of posts to example.com/{author}/{POST} but can this also be ...
0
votes
0answers
53 views
Show all media by an user in his/her author.php page, how to edit my code
I've a default code that shows all the media uploaded in my site
<?php
$args = array( 'post_type' => 'attachment', 'numberposts' => -1,
'post_status' => 'any', 'post_parent' => ...
5
votes
1answer
100 views
Display Random Author with Details in Sidebar
PHP newbie here, recently decided to have a stab at cobbling together a kooky little 'Random Author Spotlight' feature into my current WordPress theme. I'm almost done, but I've hit something of a ...
0
votes
2answers
66 views
If contributor has published 2 or more posts then show otherwise hide
If the contributor has already published two or more posts I show a maximum of 5 of them in the post-single.php using this code
<?php echo do_shortcode('[latestbyauthor show="5"]'); ?>
I have ...
0
votes
2answers
15 views
Show infos only to the author in the author.php
I need to be able to show some informations only to the author in his profile viewable in the front end, for istance I need to add a text under the avatar that only the author, if logged in, can see.
...
0
votes
1answer
49 views
Calling a custom profile field only it it exists
I've used this code to show custom fields if they're filled in a post using Custom Field Suite Plugin
<?php if($cfs->get('whatliked')){?>
<?php echo $cfs->get('whatliked'); ?>
...
0
votes
1answer
81 views
Getting list of top 10 users and sort on last name
I would like to display a list of the top 10 authors based on the amount of posts that they have, and then sort them on last name. To my knowledge, this is not trivial since the last name of a user ...
0
votes
1answer
59 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
1answer
26 views
if else for custom $curauth-> field
So I have a custom field on the author page, where a user uploads a image which will be used as a background image on their author page. I've setup up everything except I'm not sure how to setup a ...
0
votes
2answers
78 views
Author.php display profile for all types of users
I'm using wp-usersonline plugin with user links, when you click for subscribers it goes to a not found page but works fine for authors, im thinking is there a way to redirect subscribers to a profile ...
0
votes
2answers
161 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
126 views
Display custom post counts for author , not default posts
<?php
global $wp_query;
$curauth = $wp_query->get_queried_object();
$post_count = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = '" . $curauth->ID . ...
0
votes
1answer
42 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 ...




