Author page help
-
I have an author.php page that I would like someone to help me modify.
Currently, when the posts are displayed the excerpt of the post is displayed and I want to remove that portion. I just want the thumbnail and the title. I don;t even need the author on the portion since it’s the page.
Can anyone help me with the coding and explain to me as well?
I think it has to do with this part
get_template_part('loop', 'entry') ?>
but I am not sure.Author page is:
https://www.lasvegasworldnews.com/author/miz-chellie/
Code from author.php<?php get_header(); ?> <?php if (have_posts()) : ?> <div id="page-heading"> <?php if(isset($_GET['author_name'])) : $curauth = get_userdatabylogin($author_name); else : $curauth = get_userdata(intval($author)); endif; ?> <h2>About: <?php echo $curauth->nickname; ?></h2> <div id="author-avatar"><br> <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'gopress_author_bio_avatar_size', 60 ) ); ?><br> </div><!-- #author-avatar --><br> <dl> <dd><?php echo $curauth->user_description; ?></dd> </dl> </div> <!-- END page-heading --> <div id="post" class="post clearfix"> <div id="archive"> <?php // get post entry get_template_part('loop', 'entry') ?> <?php pagination(); ?> </div> </div> <!-- END #post --> <?php endif; ?> <?php get_sidebar(); ?> <?php get_footer(); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Author page help’ is closed to new replies.