The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
212 views

Plugin for an author bio popup box?

Looking at the below article, I took a liking to the way the author included his bio (as a clickable little bio box that pops up). http://saveyourself.ca/articles/why-does-pain-hurt-so-much.php ...
0
votes
1answer
67 views

Use Author Ids or Names to echo different output inside loop

Is there a way to use the author ids (or names) to echo different output for different authors (in this case author id 7 and author admin? I tried the following but it didn't work. ?php if ...
0
votes
1answer
565 views

wpdb->get_var - count author posts, meta value

In an author.php template, i count the author post in a custom post type with $wpdb->get_var, $post_author = $curauth->ID; //author id $count = $wpdb->get_var( "SELECT COUNT(*) FROM ...
0
votes
1answer
503 views

pagination in author.php template returns 404 error

Hi to the community!!! I need some help with pagination in author.php template. I have pagination working in all my loops except in authors.php that i get a 404 error. In my settings/reading i have ...
0
votes
1answer
909 views

Echo author ID in author.php

This is probably a super simple question. But how do I echo the ID of a user on author.php? I've tried the_author_meta('ID') But it didn't seem to want to work. I want to echo it at the end of a ...
0
votes
1answer
162 views

Get author total post votes from post meta

In author.php, i have the list with the posts written by the author. I'm trying to get the total number of votes, from the author posts. All posts have a post_meta with a numbered value. i need to ...
0
votes
1answer
119 views

WordPress comments on users profile

I have a profile page and I need to make a comment system on it. The comments system should work exactly the same way as standard WordPress comment system, but instead of posts it should work with ...
0
votes
1answer
193 views

Allow an editor to change the author

I am using wordpress multi user and have a set of users set up as Editors who wish to ghost write for another user who is an author. How can they change who the author of the posts is without the ...
0
votes
1answer
38 views

Authors posts on a author created page

Any suggestions/ideas on how to get posts made by certain author to be displayed on a page that same author has created without using author.php? To clear this up a bit, I have a site where author ...
0
votes
1answer
286 views

Guest author's post not display in author template

I am using this filter to display guest author on post, but i want guest author's posts to appear in the author.php template also. This is my guest author code (inside functions.php). <?php ...
0
votes
2answers
212 views

Comments do not respect display_name setting, how to make plugin to overcome this

When I post something on Wordpress, it's posted with my display name. However if I change my display name, posts posted by me will be updated with the new author. Comments will stay with the old ...
0
votes
1answer
82 views

How to show list authors with at least five posts published

i'm wondering if there is a way to use wp_list_authors to list only the authors with at least five (or even more, but anyway more than just one or two) published post in the blog. Actually I don't ...
0
votes
1answer
240 views

Change author permalink using htaccess?

The original urls for users look like /author/user-name/ Is it possible to replace login by user's id? (something like: /author/34/ (34 is user id)). I found the solution given here, to not work for ...
0
votes
1answer
726 views

Prevent 404 of Author pages without posts

How do I prevent author archives without posts from 404ing?
0
votes
1answer
320 views

List ALL posts by author on author archive

I'm having trouble setting up an author archive. I've come up with a few different loops, but I can't seem to get them quite right. I just want it to list all posts by the current author. This shows ...
0
votes
2answers
1k views

Show selected value in a drop down menu

I have a multisite setup and I am adding some additional information fields in the profile edit screen in my theme's dashboard. I am primarily using text fields however I have a drop down selection ...
0
votes
2answers
603 views

How to link to the current User/Author Profile page?

Is there a way to link to the authors profile page? At the moment i can access the authors profile by visiting the url like this: http://mysite.com/?author=1 Is there a function that i could use to ...
0
votes
1answer
185 views

How can I show wordpress posts based on author?

I'm working on a site that will have 6 authors. Each author will have their own page that will only show their posts. what is the best way to handle this? I would like to do by creating a page or ...
0
votes
1answer
149 views

trying to add a author value in wp page links?

function wp_link_pages_titled($args = '',$name,$author) { $defaults = array( 'before' => '<p>' . __('Pages:'), 'after' => '</p>', 'link_before' => '', ...
0
votes
1answer
259 views

Authors to be able to customize their author pages?

I'm trying to implement a sliding control panel where logged in users can change background colors, fonts, etc. the point being that they should only be able to do it on their own author pages, ...
0
votes
2answers
508 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
1answer
76 views

wordpress multi user question

The blog I'm implementing will have more than one user (different analysts) but there will be only one user (call it the publisher user) who will be checking through the posts and uploading them for ...
0
votes
3answers
158 views

Display posts differently depending on which author wrote it

I've got a multi-author site running on Wordpress 3.1.3 . I'm trying to place an extra header above the title for a specific author. So if "John" posts on the blog, it would have an above the post ...
0
votes
1answer
92 views

Creating an option for writing a post without an author attribution for a group blog on Wordpress

I'm developing a group blog on wordpress (first time working with it) and the client has requested that a 'None' option be added where an item can be posted without a "by" attribution. So basically ...
0
votes
1answer
327 views

Show Published and Draft posts from Logged in Author

Hello there that's what i'm trying to achieve: i have a private page, where only author can access, after log in. i want to show two columns: 1 - excerpts of the latest 8 posts published by the logged ...
0
votes
2answers
193 views

Custom Post Type and Labels

I was wondering if there is a way to edit the default field labels on a custom post, for example instead of the author field saying "author" have it say "keynote speaker" I found one solution listed ...
0
votes
1answer
943 views

Showing only posts from the current user who is logged in?

I'm using the following code to get ONLY posts with the post_type question and the current user who is logged in. But if no use is logged in all the posts are displayed anyways. Any suggestions? ...
0
votes
1answer
441 views

Different profile page by role

I'm trying to set it so that when you view somebody's profile page you see a different template based on their role. So, everybody gets a regular "profile" page but if your also a author you also get ...
0
votes
2answers
915 views

Display posts separated by Category in Author's page

I created an author's page using: <?php if(isset($_GET['author_name'])) : $curauth = get_userdatabylogin($author_name); else : $curauth = get_userdata(intval($author)); endif; ?> ...
0
votes
0answers
9 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
19 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
14 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 ...
0
votes
2answers
44 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 ...
0
votes
0answers
10 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
0answers
27 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
1answer
43 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
0answers
24 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
2answers
137 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
0answers
47 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' => ...
0
votes
2answers
54 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
47 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
63 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
25 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
73 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
109 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
114 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
15 views

Author Link Not Displaying

I have used this with "echo" as its outside the loop i believe to the author of the post as a link, however its not displaying as a link? <h2 class="sidebarheaders">Random Posts By You ...
0
votes
1answer
93 views

Custom size for image uploaded to custom field in user profile?

I'm using advanced custom fields and set an image upload field in user profiles. I'm using this image a few places on the website and need to set a custom size for it on some pages. If I set ...

1 3 4 5 6 7