• Sarah F

    (@gamingexamier)


    Hi fellow users and devs,

    I have the ‘premium’ version and i have an issue with the author.php file. I’ve done all the steps.

    1.) copied my archive.php and renamed it author.php, put it in place
    2.) configured the plugin for each user and entered their info and social links.

    all that is left (i think) is to insert the php code into the author.php file, but everytime I do it gives me an error. This is what I have, maybe someone can tell me whats wrong please?

    The line breaks just show you the code i put in, Thanks in advance for any help!

    <?php get_header(); ?>

    <ul class=”double-cloumn clearfix”>
    <li id=”left-column”>
    <h4 class=”section-title”><?php echo single_cat_title(); ?></h4>
    <ul class=”blog-main-post-container”>

    <?php
    $curauth = wp_authorplus_get_user_on_author_page(); ?>
    <h2 class=”title”><?php echo $curauth->display_name; ?></h2>
    <div style=”float:right; padding:10px;”><?php echo get_avatar($curauth- >user_email, 80); ?></div><?php wp_authorplus_extended_author_bio($curauth- >ID); ?>
    <h3>On Social Networks</h3>

      <?php wp_authorplus_meta_data($curauth->ID, “twitter”) ?>
      <?php wp_authorplus_meta_data($curauth->ID, “googleplus”) ?>

    <?php if (have_posts()) :
    global $show_author;
    $show_author = 1;
    while (have_posts()) : the_post(); setup_postdata($post);
    include(TEMPLATEPATH.”/functions/fetch-list.php”);
    endwhile;
    else :
    ocmx_no_posts();
    endif; ?>

    <?php ocmx_pagination(“clearfix”, “pagination clearfix”); ?>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    http://wordpress.org/extend/plugins/author/

  • The topic ‘[Plugin: Author (Lite)] Author.php script problems’ is closed to new replies.