kswaters 0 Report post Posted February 11, 2011 Hi all, hoping this is a real easy question... When I click on the author name below a post headline, it goes to a page that lists all posts by that author, which is great. At the top of the page, it says "Posts by author: " but then it doesn't display the author name. How could I put that right? Kelly. Share this post Link to post Share on other sites
cmunns 16 Report post Posted February 11, 2011 For each user/author...go to WP Users and edit your profile. Make sure that all the info is filled out, specifically the "display name" Share this post Link to post Share on other sites
kswaters 0 Report post Posted February 11, 2011 Hi Adam - I checked that and even when all name fields are present, the template still doesn't show the name. However the author name is shown in the metabar under the headline, just not when you click through. Take a look at www.allaboutagile.com... Kelly. Share this post Link to post Share on other sites
catrina 103 Report post Posted February 12, 2011 Check the section.postsinfo.php file for this: ` <?php if (is_author()) { $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author')); _e('Posts by:', 'pagelines'); ?> <?php echo $curauth->display_name; ?> ` ...Is it there? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
kswaters 0 Report post Posted February 12, 2011 Hi Catrina, I don't seem to have that file... Kelly. Share this post Link to post Share on other sites
catrina 103 Report post Posted February 12, 2011 Even when you search for it in the theme folder...? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
kswaters 0 Report post Posted February 12, 2011 No, don't seem to have it. Share this post Link to post Share on other sites
catrina 103 Report post Posted February 12, 2011 That might be part of the problem. It should've been located in platformpro > core > library. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
kswaters 0 Report post Posted February 13, 2011 Nope, definitely not in there. Any chance you can send me what should be in it? Kelly. Share this post Link to post Share on other sites
Andrew 207 Report post Posted February 13, 2011 Hey there Kelly, So can you work with us to get this bug fixed? The file we need to edit is 'section.postsinfo.php' inside your sections folder. This is the code: ` <?php if (is_author()) { $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author')); _e('Posts by:', 'pagelines'); ?> <?php echo $curauth->display_name; ?> <?php } ` It works on our testing server, but not on yours... are you able to play with it until it works? We will patch accordingly... Share this post Link to post Share on other sites