The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
35 views

What is the difference between user_description and description?

In the codex page for the_author_meta, the list of fields available for the function lists both user_description and description. What is the difference between the two?
2
votes
1answer
53 views

Get the excerpt for a post created by the related author

This has been bugging me for ages and can't quite get it working. I'm using the following code in my functions file to enable me to display posts created by the same author as the current single ...
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 ...
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 ...
2
votes
1answer
247 views

How to set author for post AND post attachments

I have multiple author accounts on one of my WordPress installs. Often I will create a post, and set the author to be a different account. However, when I upload images into that post, their ...
2
votes
1answer
225 views

Display Author role in archive or author page

I want to display author role on archive and author page outside loop I found this code on stack overflow and it works fine within the loop function get_author_role() { global $authordata; ...
2
votes
1answer
128 views

Author must complete profile info before they can publish a post?

I am creating a real estate site where user info is essential part. The author info need to display under their post so that the visitor know how to contact them. Thus, the contact info in profile ...
2
votes
1answer
901 views

get the username of a user in his author page

I've implemented this code inside my author.php file, in order to display the username of the author: <?php printf( "<h4>The blog of<a href='" . get_author_posts_url( get_the_author_meta( ...
2
votes
1answer
519 views

Editing the loop for Author pages

I was wondering if anyone can help me out. I am looking to remove the_content part of the loop on my author pages only. So basically, I just want a list of the author posts with only the title and ...
2
votes
1answer
352 views

how to assign more permission to wordpress author

I have installed jw player plugin so that users of my site could upload their videos. Right now, admin can only see jw player menu on the admin panel and he can only upload videos and use this plugin. ...
2
votes
1answer
223 views

Users roles, make a page belonging to multiple users

I have a website with a lot of users. They are all editor (with same custom roles). They can add page and post, and edit only their own page/post. But some users need the ability to edit some ...
2
votes
1answer
477 views

Getattachment next and previous by author only

Im trying to get the next and previous attachment by the user its currently displaying, this is what I have and it works great except it gets all of the attachments instead of just the ones from a ...
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= ...
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 ...
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. ...
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; ...
1
vote
4answers
636 views

Limit author image size

Is there a way to limit the size (dimensions) of the image a user can upload to their profile? It looks like Wordpress does do some kind of limiting as uploading a 1024x768 image the result gets ...
1
vote
1answer
1k views

Including post_type = 'wiki' in author archives

For a user with wiki-update permission only, I want to list their wiki articles in the author archive page. Currently, it comes back with "NOT FOUND Apologies, but ...". I am using the Twenty-ten ...
1
vote
1answer
888 views

Show only oldest post by author

I am working with a heavily customized install of WP. I've set up a specific post type, taxonomy, and roles that gets to use just that post type. Ideally, I'd like to restrict members of that role ...
1
vote
1answer
185 views

Allow shortcode in the author bio textarea

Is it possible to make shortcodes available in the Author bio textarea?
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 ...
1
vote
1answer
315 views

How do I prefix blog post urls as mysite.com/blog/%postname%/ but allow authors to still be located at mysite.com/authors/%nicename%?

I've tried a bunch of things but cannot find a solution that works. I want my site to have the structure: mysite.com/ = homepage mysite.com/blogs/ = blog archive mysite.com/blogs/year/ = blog ...
1
vote
1answer
1k views

Remove author archive

I'm using wordpress as a CMS. Various users on the staff write posts that get incorporated into pages manually. As far as the outside world is concerned, this is just a bunch of static pages. I ...
1
vote
2answers
112 views

Get current users post URL?

I've been trawling through forums but can't find a solution to this. If anyone can help, it would be greatly appreciated! I'm trying to display a link to current users author page (all users have ...
1
vote
1answer
197 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 = ...
1
vote
3answers
2k views

Display edit link if post author is current user

I am creating an author.php page and listing all the posts from an author. Although admins can see the posts' edit links i want to echo the link if logged in user is the current user for example if ...
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
4answers
3k views

show author image in posts

I need to display author image along with posts. I used the following code to display posts with author image. $the_query = new WP_Query("post_type=post&paged=".get_query_var('paged')); while ( ...
1
vote
2answers
1k views

Is there any function available to echo current user's profile url?

As of now i'm using this code to echo user's profile url. <?php echo esc_url( home_url( '/' ) ); ?>user/<?php echo $current_user->user_login ?>"><?php echo ...
1
vote
2answers
317 views

What are 'authors' in Wordpress, and is there an author 'metabox class' available anywhere?

I am trying to outline a new project where I want to give my users the ability to customize their 'profile' pages in my website theme. Concepts like adding in their own background images, choosing ...
1
vote
2answers
68 views

Can I stop authors from changing the font in their post?

I want the site to have a consistent look and feel so want to prevent authors from changing font, font color or font size. Is there a way to either override their choices, or remove the option? ...
1
vote
1answer
213 views

Author page doesn't change after username change [duplicate]

I changed my user profile name with WP-Optimize from 'admin' to 'indie' (not really 'indie', just to show you better) but author page still is available only trough example.com/author/admin - not ...
1
vote
4answers
797 views

Adding %author% in custom post type URL structure?

I'm trying to do some WordPress URL rewriting ... Specifically I have custom post type that currently works like this: http://mydomain.com/videos/post-title/ But I would like to have it located at: ...
1
vote
1answer
914 views

wp_title() handling of author page

Why doesn't wp_title() display the author's name on an author archive as it does for a category or date archive? How can I hack this functionality? header.php calls: <title><?php wp_title ( ...
1
vote
1answer
2k views

How to hide/redirect the author page

I have a website where I let people subscribe. I would like to only show the author page for actual authors who have written a post. I wrote this code that checks for post the problem is I can't use a ...
1
vote
1answer
1k views

Show author post count in sidebar - Variable

I need to display something of a mini author statistic in my sidebar on the single posts page. I'm using the PHP code widget, to allow me to insert PHP code into a widget. What I've done is run a loop ...
1
vote
1answer
1k views

Author url rewrite

The default author permalink is: http://domain.com/author/{username} How can I do something like this ? http://domain.com/author/{username}/songs http://domain.com/author/{username}/books ...
1
vote
1answer
60 views

How can I set wp_dropdown_users so that it shows only authors?

I want to list in a drop-down box all users who have role "author" How can i do it? Thank you
1
vote
1answer
170 views

Pagination 404 errors for author posts query on author.php

I'm trying to query all posts by an author and paginate them on the author.php page. I've tried messing with the WP default blogs per page settings and that doesn't help. I've looked at other posts ...
1
vote
2answers
407 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
790 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?
1
vote
1answer
142 views

How can I add an author-box below a post?

I would like to have a box below each blogpost with information about the author. These screenshots are examples for what I would like to have: Links that could help: I've found these links ...
1
vote
1answer
141 views

Show different badge based upon the user role

Problem I have authors page and I need to display a different badge for Authors and Subscribers. Authors on the site have certain abilities that differ from Subscribers and I would like to display a ...
1
vote
1answer
729 views

How do I create a separate page for each author?

I am working on a website where I have authors listed on a custom-made author's page using code adapted from this site: http://bavotasan.com/2011/an-even-better-author-list-in-wordpress/. When you ...
1
vote
1answer
447 views

Author can only see own post comment and can moderate

I am trying to make things work like where author can see only them post comment in admin comment section and they can moderate as well. While admin should have all permission. I am having one code ...
1
vote
1answer
1k views

How to link avatar and nickname to profile

On the single post page I want to link the avatar function to the author profile, but I tried <a href="<?php the_author_posts_link(); ?>"> <img src="<?php echo ...
1
vote
1answer
2k views

Possible to search by author name with default WordPress search function?

I realize improving WordPress's search function is a huge can of worms, but the ONLY additional thing I need it to do is to show results when I search for an author's name. For example, if we have an ...
1
vote
2answers
2k 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 ...
1
vote
2answers
316 views

Author website URL

I've assigned a specific html page (let's call it an author bio page) to each user in the 'website' field within the user admin area. How do I get that URL to display within a single page post? I'm ...
1
vote
2answers
736 views

Show info to author only

I'm writing my own plugin. works like this: function myfunc (){ $a = 'hello'; // the sentence what Am looking for: if ( user is logged and is the author of current post / page ){ ...