The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
1answer
19 views

Pagination not working for custom author page [duplicate]

I am using the theme TwentyTwelve and replaced the standard post query in the file author.php with the following code: <?php $paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1; ...
1
vote
0answers
33 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 ...
-1
votes
0answers
25 views

Creating a second custom public author page

I'm sorry if this question have already been asked, but I couldn't solve my problem after reading similar issues. I have my author page (www.mysite.com/authorname) that works well and takes the ...
0
votes
0answers
22 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
37 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.
0
votes
2answers
34 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
37 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
20 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
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 ...
0
votes
1answer
49 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
1answer
101 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
0answers
41 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
20 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
116 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
0answers
56 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 ...
1
vote
2answers
277 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 ...
0
votes
0answers
34 views

Add twitter feed per author in Wordpress on author page?

Is this possible? I wanted to use a variable to get the twitter field's output of an author so that I can embed that timeline, but it looks like this is impossible because you have to get the ID of ...
0
votes
1answer
89 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
0answers
155 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
37 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 ...
1
vote
1answer
481 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 ...
0
votes
1answer
130 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 ...
2
votes
2answers
500 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
1answer
126 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
0answers
224 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
106 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
87 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
359 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
93 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
78 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'); ?> ...
2
votes
1answer
1k 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
1answer
390 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
50 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
54 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
255 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 ...
2
votes
3answers
203 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
110 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 ...
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
654 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
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
265 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 ...
0
votes
1answer
488 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
3answers
94 views

How do I enforce a specific custom post type on the loop

I am developing a blog where the main posts are of a custom post type. Let's assume it is a Book custom post type. I want the /author/admin page to list the books of the author admin, but instead, ...
0
votes
1answer
92 views

Show posts containing or not custom field

I'm trying to show aditional posts in the author's page. This page must have posts containing a specific meta_key and meta_value, where the displayed author it is not really the WP post's author. ...
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 ...
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
3answers
91 views

How to pull user/author profile data in a plugin?

My site has a user profile page. For some reason I would like to pull user profile data in my plugin. I know I can pull logged in user profile data using get_currentuserinfo();. For example I would ...
0
votes
1answer
109 views

Is there a maximum number of author for a blog?

I am building a WP blog which will feature the work of many artists and I would like to show, for each post, the artist bio. Since it is possible for an artist to have many posts over time on the ...
1
vote
0answers
33 views

Get data from plugin People list in author template

I use Theme Mystique for my site, and the plugin People list. I have created several new fields for the profiles of authors in the plugin. Now I want to get these fields in the authors template. How ...
1
vote
1answer
231 views

resolve /author/ to a page or archive (of all authors) template

I know how to query the users and create a list of authors and can accomplish this in a page template, much like is described here: Authors Page : A page of authors my question is then.... is there ...