Have Multiple author when click Specific author then show all post under that?
-
Hi
Have a wordpress website which is https://www.eaalim.com/download/
when i will click single post which is https://www.eaalim.com/download/index.php/blog/entry/jon-snow-gaza-july-2014.html(Abu Ruqayyah )right side show author name Abu Ruqayyah .When i will click Abu Ruqayyah Name then show all post under Abu Ruqayyah .But i did not fix it please help me ASAP.To provide code.
My sidebar.php code
<p><h2>“><?php the_author_meta( ‘display_name’, $author_id ); ?> </h2></p>
and author.php code :
<?php get_header(); ?>
<section id=”omc-main” class=”omc-main-author”>
<?php if (!is_paged()) { ?>
<?php if ( get_the_author_meta( ‘description’ ) ) : ?>
<div id=”omc-author-page”>
<?php
$name = get_the_author_meta( ‘display_name’ );
$website = get_the_author_meta( ‘user_url’ );
$twitter = get_the_author_meta( ‘twitter’ );
$facebook = get_the_author_meta( ‘facebook’ );
$linkedin = get_the_author_meta( ‘linkedin’ );
$youtube = get_the_author_meta( ‘youtube’ );
$google = get_the_author_meta( ‘google’ );
$soundcloud = get_the_author_meta( ‘soundcloud’ );
?><span id=”omc-author-page-image”><?php echo get_avatar( get_the_author_meta( ‘user_email’ ), apply_filters( ‘twentyten_author_bio_avatar_size’, 104 ) ); ?> </span>
<h1><?php printf( __( ‘About %s’, ‘gonzo’ ), get_the_author() ); ?></h1>
<p><?php //the_author_meta( ‘display_name’ ); ?> <?php the_author_meta( ‘description’ ); ?><p>
<?php if ($website !== ”) {?><div class=”omc-author-connect omc-author-website”><?php _e(‘Website’, ‘gonzo’);?>: “><?php echo $website; ?></div><?php } ?>
<div id=”omc-author-social-icons”>
<?php if($twitter !== ”) {?>“><?php } ?>
<?php if($facebook !== ”) {?>“><?php } ?>
<?php if($google !== ”) {?>“><?php } ?>
<?php if($linkedin !== ”) {?>“><?php } ?>
<?php if($youtube !== ”) {?>“><?php } ?>
<?php if($soundcloud !== ”) {?>“><?php } ?><br class=”clear” />
</div><!– /omc-author-social-icons –>
<br class=”clear” />
</div><!– /omc-author-page –>
<?php endif; rewind_posts(); ?>
<?php } ?> <?php dynamic_sidebar( ‘below_image’ ); ?>
<div class=”omc-cat-top”><h1><?php printf( __( ‘Author Archives: %s’, ‘gonzo’ ), “” . get_the_author() . “” ); ?></h1></div>
<div class=”no-display”></div><?php get_template_part(‘loop’, ‘blog-style-2’); ?>
</section><!– /omc-main –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Please help me.
Thanks
Shahin
- The topic ‘Have Multiple author when click Specific author then show all post under that?’ is closed to new replies.