Hi
Can you let me know what theme you are using and if you’ve made a custom author.php or using the default one.
I’ll try and replicate the issue and fix it
thanks
Kevin
Kevin, It’s a custom theme made with Artisteer.
The custom author.php code is as follows:
<?php
/**
*
* archive.php
*
* The archive template. Used when a category, author, or date is queried.
* Note that this template will be overridden by category.php, author.php, and date.php for their respective query types.
*
* More detailed information about templates hierarchy: http://codex.wordpress.org/Template_Hierarchy
*
*/
get_header(); ?>
<div class="bhw-layout-wrapper">
<div class="bhw-content-layout">
<div class="bhw-content-layout-row">
<div class="bhw-layout-cell bhw-sidebar1">
<?php get_sidebar('default'); ?>
<div class="cleared"></div>
</div>
<div class="bhw-layout-cell bhw-content">
<?php get_sidebar('top'); ?>
<!-- This sets the $curauth variable -->
<?php
$curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author));
?>
<h2>About: <?php echo $curauth->nickname; ?></h2>
<br /><br />
<?php userphoto($wp_query->get_queried_object()) ?>
<br /><br />
<dl>
<dt><strong>Website</strong></dt>
<dd><a href="<?php echo $curauth->user_url; ?>"><?php echo $curauth->user_url; ?></a></dd>
<br /><br />
<dt><strong>Profile</strong></dt>
<br /><br />
<dd><?php echo $curauth->user_description; ?></dd>
</dl>
<br /><br />
<h2>Posts by <?php echo $curauth->nickname; ?>:</h2>
<ul>
<!-- The Loop -->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<li>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">
<?php the_title(); ?></a>,
<?php the_time('d M Y'); ?> in <?php the_category('&');?>
</li>
<?php endwhile; else: ?>
<p><?php _e('No posts by this author.'); ?></p>
<?php endif; ?>
<!-- End Loop -->
<br /><br />
</ul>
<p> </p>
<p> </p>
<?php get_footer(); ?>
That would be so awesome if it would work!
Debbie
Hi Debbie
Thanks for the information.
Quickly looking at the code it appears that the theme is calling the user_description directly rather than calling the_author_meta() which is the correct way of doing it – as I understand it.
Calling the_author_meta() is the way that author details are called in the default wordpress 2010 theme which is what I base and test all my plugins and themes on.
As a qucik fix what you could try is replacing
<dd><?php echo $curauth->user_description; ?></dd>
with
<dd><?php echo $curauth->bigbiobox; ?></dd>
If it doesn’t work let me know and I’ll take a closer look, but it’s going to be after Easter now because I’ve got a project to finish on a deadline.
Hope it helps though.
thanks
Kevin
You are awesome! It works!!!! Thank you soooooooooooo much!!!
Contribution on it’s way by the end of this week!
Debbie
Changed my rating just now and donated too. Thank you so much Kevin! I wish every plugin developer was as awesome as you! Keep up the good work!
Hi Debbie
thanks for the new rating and the donation 🙂
Kevin