Forums

Author Profile Page Needs Some Sort of Width Adjustment (3 posts)

  1. oste15
    Member
    Posted 3 years ago #

    You can view my authors page here http://www.aquaculturetalk.com/author/admin/

    The issue is that the profile information seems to be a bit too wide for the page. I am not a programmer so fixing this is beyond me.

    Below is the code from my author.php page, I am guessing I need to add a div someplace but am clueless as to how or where.

    Any help on this will be greatly appreciated.

    Thanks, Mike

    <?php get_header(); ?>
    <div class="apost">
    <div class="head">

    </div>
    <div class="content">
    <div id="content" class="narrowcolumn">
    <!-- This sets the $curauth variable -->
    <?php
    if(isset($_GET['author_name'])) :
    $curauth = get_userdatabylogin($author_name);
    else :
    $curauth = get_userdata(intval($author));
    endif;
    ?>
    <h3>About: <?php echo $curauth->display_name; ?></h3>
    <p>Website: user_url; ?>”><?php echo $curauth->user_url; ?></p>
    <p>Profile: <?php echo $curauth->user_description; ?></p>
    <h3>Posts by <?php echo $curauth->display_name; ?>:</h3>

    </div>
    </div>
    <ul class="foot">
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

  2. @mercime
    Member
    Posted 3 years ago #

    Your HTML cannot even be validated because of the following:

    <a href=�http://www.aquaculturetalk.com�>
    <!� The Loop �>
    <!� End Loop �>

    Do clean it up. Edit themes in plain text file editors only like notepad, bbedit, etc.

  3. oste15
    Member
    Posted 3 years ago #

    What do you mean by, the html cannot be validated?
    Sorry I am rather new to this.

Topic Closed

This topic has been closed to new replies.

About this Topic