The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
9 views

Get Tags get_terms() - by user->ID ?

Is it possible to get tags for a specific user ID, i mean i want to get the tags list on author page where i want list the tags the author used to make his/her posts only - not want to get the full ...
-1
votes
1answer
34 views

Customise Author Page?

On my website I would enjoy to make it so that if a reader clicks an author or user's name it takes them to a page displaying their profile picture and bio. All users on my blog have the option to add ...
0
votes
1answer
22 views

Create template “author” with a plugin

I'm creating a plugin to modify the user profile into wp panel. I'd like to add an author template with the same plugin. I don't know if there is the file author.php into directory of theme. So I'd ...
0
votes
1answer
35 views

How to Modify Author Page for all Users?

I am going to create a user profile page for all users in my blog. I thought, it is better to modify the author page for all users. <?php if(is_author()) { echo get_avatar( get_the_author_meta( ...
0
votes
3answers
1k views

Show author archive pages for authors with no posts

I have one page for each author, but if the author doesn't have any posts I can't get its variables, because the loop is empty. The page returns empty, no avatar, no info and stuff, the whole site is ...
1
vote
1answer
80 views

Loop starts from the beginning with second while loop on author.php

I am using the same template for author.php and home/blog.php. I have a loop split into 3 parts. <?php if(have_posts()): the_post; //do a thing endif: $i = 0; while(have_posts()): the_post(); ...
1
vote
1answer
119 views

pre_get_posts Tax Query not working for custom author page

I am using the theme TwentyTwelve and modified the standard post query in the file author.php with the following code: function wpd_author_query( $query ) { //CODE to set $current_user_name here ...
0
votes
1answer
48 views

How to set back query var author_name after unset it?

I am unsetting the query var author_name for querying posts in the author template page. I am using pre_get_posts to filter the main query. After the query is run, I need to set back the author_name ...
1
vote
0answers
48 views

Comments on Author page

Update: Ok,the DEBUG log says: PHP Notice: Undefined offset: 0 in /home/content/00/8437600/html/test/wp-includes/query.php on line 3105 PHP Notice: Trying to get property of non-object in ...
0
votes
0answers
44 views

Create a author subpage

I want to create a author subpage, that looks like this www.example.com/author/user/subpage I read the Wordpess codex about how to create subpages. You can link a page with another page in the page ...
0
votes
2answers
57 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.
1
vote
2answers
488 views

Get author id from url

I am trying to get the authors user_id on a page linked to by using get_author_posts_url(),. For example http://example.com/author/John%20Smith where John Smith is user_id is 23. I need to get ...
2
votes
2answers
748 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
2answers
42 views

Creating distinct pages for author profiles and lists of posts by author

The site I'm currently working on includes profile pages for each author plus a method to search for posts by a specific author. So we would have a page at /author/author-name/ that only displays a ...
0
votes
1answer
106 views

Only display link to author social media when it exists [closed]

I've added the following code to my functions.php to expand the functionality of the user profile page and be able to add links to the social media of the authors. function my_new_contactmethods( ...
0
votes
1answer
37 views

Hide page header on both index and author pages [closed]

I'm using the Roots theme which is tricky to start with. I'm trying to hide the page headers from both index and author pages. I got to do it on index by using the following code: <?php ...
0
votes
1answer
71 views

Get $curauth level

I am trying to get the user level of the author that is displayed on an author page (not the current user that is logged in, but the user that is presented on the current author page that I am ...
0
votes
0answers
8 views

Redirect to correct author template based on author role [duplicate]

I have two author templates, one for normal users and one for special users. Special users are those with user role 'special', so when someone wants to view their author page, they need to use the ...
1
vote
1answer
589 views

Showing author page if user has no post

I have a page with profiles in which people can post or comment on a post. The problem is that if this user chooses to comment instead of post, he or she will not get an author page until it has ...
4
votes
3answers
407 views

5 blogs on one WordPress site

What is the best way to have multiple blogs on one site? I am not talking about Multisite. What I want is one website with 5 blogs. All accessible from one menu and editable from one backend, I could ...
0
votes
1answer
137 views

Display more than 10 posts on author.php file

it seems that there are only 10 posts being displayed on author.php file. The theme I'm using have just this in author.php file:- <?php while ( have_posts() ) : the_post(); ?> <?php ...
0
votes
2answers
304 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
0answers
46 views

Link Comment Author to Author Page in WordPress

Normally, when someone comments one wordpress blog, author link shows their link if set it via profile. i want all the author of my blog, when they will comments anywhere, people can click their name, ...
0
votes
0answers
21 views

Add another tab My Comments next to Attending Event

I want to show My Comments Tab next to Attending Event Tab. See Image below This is a author.php page. Here is the Code, Please tell how can i add another tab called my comments check code on ...
0
votes
2answers
154 views

Use different template than author.php for get_author_posts_url()

I have a client that wants two pages for each author profile: First Page - has user info, bunch of social media links, etc. Using author.php for this. Second Page - list of author posts I've built ...
0
votes
2answers
739 views

Pagination only won't work in author template

I using custom $wp_query for most of my archive pages like, taxonomy,index,category and author page. Everything working fine, except one weird thing - the author template page pagination failed to ...
0
votes
0answers
63 views

Rewrite author_name

I need to rewrite author_name to cat. I searched for hours but can't find anything. I restrict the search results by author instead category because of the performance, it's much faster. For getting ...
0
votes
0answers
170 views

Changing /author/ link to something else: what is a better way?

Is there a better way than this snippet I am using? function change_author_permalinks() { global $wp_rewrite; // Change the value of the author permalink base to whatever you want here ...
0
votes
1answer
155 views

get_comment_author_link not working properly

I have this snippet: <span><a href="<?php bloginfo('url'); ?>/writer/<?php echo get_comment_author_link(); ?>"><?php echo get_comment_author_link(); ...
0
votes
3answers
786 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 ...
0
votes
1answer
545 views

Refine custom posts by author

I want to have a way of displaying a custom post archive for a particular author. I'm able to display custom posts for a category but not just the custom posts for a author. I already have a separate ...
0
votes
1answer
39 views

Author page link in comments is different than in posts?

When I hover over the comment author link on my comments, it shows a link like http://mysitenameeeee.com/?author=24 After I click it, it gets me to /author/authorname, which is fine, but I don't want ...
0
votes
1answer
222 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
137 views

Author Nickname URL Friendly

Using the below code to chnage the author page url to use the "nickname". Works ok but when the nickname is more than one word it doesnt make it url friendly. Any way to do this? add_filter( ...
0
votes
1answer
136 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
1answer
113 views

Get Authors Role

I am using the admin role and 2 custom roles. On the author.php i want to be able to place the role of that user. I am using this to pull the role out in text $curauth = ...
1
vote
1answer
451 views

Showing Author Information and Latest Post by author in lightbox when clicked on the name of the author

I am showing details of all the authors including the avator, Name, Description in my blog. When I click on the OPTIONS TO CONNECT link a lightbox will open and I need to show those details(which I ...
-1
votes
1answer
99 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. ...
2
votes
1answer
2k views

Creating a custom public user page

I'd like to develop a plugin that allows me to have custom user pages. I really like the way the author archive template handles the URL: /author/username. I don't want to rewrite the author_base as ...
0
votes
2answers
62 views

Create archives by author role

I have a site that will have some custom roles (capabilities), and I would like to have archives that list authors based on their role. authors.php list the profile of one author, but there is no ...
0
votes
1answer
89 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
486 views

wp_list_authors including custom post types

I am using wp_list_authors function to list all the users in my blog, however it doesn't display the users who wrote custom post types. it only displays the users who wrote regular posts. Is there a ...
0
votes
1answer
59 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
2k views

How to display user role

How to display user role on author page. I have created my own role (group) so I want to display the user role on below the post and on author list. I have tried this code but not working as its ...
0
votes
1answer
126 views

Sliding-Doors Child Theme

I'm trying to make a child theme for Sliding-Doors, a Wordpress site. I'm following all the right steps but the child theme is not showing up on my admin panel to activate it. Is it because I am using ...
2
votes
3answers
264 views

author.php shows profiles of all users not authors only

I've got an issue with author's template. It works great and displays authors profiles as expected, but the issue is that you can see non-authors profiles also (contributors / subscribers, basically ...
0
votes
1answer
297 views

Quest and filter posts by author ID on author page

I'm building a custom author.php template. I use this to get the author by slug $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); Now my ...
1
vote
0answers
20 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
1answer
66 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
318 views

problem with wordpress author profile page URL

I have a problem with my wordpress blog here. everything seems to be working fine but the problem is after each post i am appending author information like the image below but when i click on the ...