WordPress.org

Ready to get started?Download WordPress

Forums

Big Bio Box
[resolved] Puts in the big box but does not send info to Author.php (8 posts)

  1. dmahler
    Member
    Posted 2 years ago #

    Got the big box but when I entered content, it doesn't push it to the author.php file so nothing shows up.

    It's a shame. This would have been awesome!

    http://wordpress.org/extend/plugins/big-bio-box/

  2. kevin heath
    Member
    Plugin Author

    Posted 2 years ago #

    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

  3. dmahler
    Member
    Posted 2 years ago #

    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>&nbsp;</p>
    <p>&nbsp;</p>
    
    <?php get_footer(); ?>

    That would be so awesome if it would work!

    Debbie

  4. kevin heath
    Member
    Plugin Author

    Posted 2 years ago #

    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

  5. dmahler
    Member
    Posted 2 years ago #

    You are awesome! It works!!!! Thank you soooooooooooo much!!!

    Contribution on it's way by the end of this week!
    Debbie

  6. kevin heath
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Debbie,

    thanks glad I could help

    kevin

  7. dmahler
    Member
    Posted 1 year ago #

    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!

  8. kevin heath
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Debbie

    thanks for the new rating and the donation :)

    Kevin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic