-
AuthorPosts
-
August 26, 2016 at 11:22 am #678054
Hi,
I am working on this – http://penguinup.com/en/author/penguinup/
I have multiple authors and on each of the author’s pages – the blog posts show up however the feature image is not showing.
Is there any solution for this? Using the multi author blog style
Thanks
August 30, 2016 at 4:19 pm #679542Hey vaibhavbhutoria,
Please go to enfold/includes/loop-author.php file and find
echo '<span class="blog-categories minor-meta">'; echo $cats;
and change it to
echo '<span class="blog-categories minor-meta">'; echo the_post_thumbnail(); echo $cats;
Best regards,
YigitJanuary 5, 2019 at 5:48 am #1050189can you please take look my author page? this work not really good with your code.
and i have some warning! php- This reply was modified 5 years, 11 months ago by mjavidnikoo.
January 7, 2019 at 5:35 pm #1050970Hi,
@mjavidnikoo Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:CSS Snippet:
.blog-categories img.attachment-post-thumbnail { width: 100%; }
Best regards,
YigitJanuary 15, 2019 at 10:59 pm #1054396Is it possible to help me to make author page like this https://themesindep.com/simplemag/author/jane/
- This reply was modified 5 years, 11 months ago by mjavidnikoo.
January 17, 2019 at 9:58 pm #1055185Hi mjavidnikoo,
It is possible, but you’ll need a custom author template.
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
VictoriaJanuary 22, 2019 at 10:46 am #1057136I found the PHP code, but it does not work well. I think it takes a bit of work. Can someone help me?(with out money!
<?php get_header(); ?> <section id="content" role="main" class="clearfix anmtd author-page"> <div class="wrapper"> <?php if ( have_posts() ) : ?> <div class="grids"> <div class="grid-4 columns column-1 sidebar-fixed"> <div class="author-box" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"> <?php $curauth = ( isset( $_GET['author_name'] ) ) ? get_user_by( 'slug', $author_name ) : get_userdata( intval( $author ) ); ?> <div class="author-avatar"> <?php // Author Image $itemprop = array( 'extra_attr' => 'itemprop="image"' ); echo get_avatar( $curauth->ID, 180, '', $curauth->display_name, $itemprop ); ?> </div> <div class="author-info"> <h1 itemprop="name"><?php echo $curauth->display_name; ?></span></h1> <p itemprop="description"> <?php echo $curauth->user_description; ?> </p> </div> <ul class="author-social"> <?php $author_link = array ( 'user_url' => 'sphere', 'sptwitter' => 'twitter', 'spfacebook' => 'facebook', 'spgoogle' => 'google-plus', 'sppinterest' => 'pinterest', 'splinkedin' => 'linkedin', 'spinstagram' => 'instagram', ); foreach ( $author_link as $link => $name ) { ?> <?php if ( get_the_author_meta( $link ) ) { if ( $link == 'spgoogle' ) { $rel_author = '?rel=author'; } else { $rel_author = ''; } ?> <li> <a href="<?php echo wp_kses( get_the_author_meta( $link ), null ) . $rel_author; ?>"> <i class="icomoon-<?php printf( $name, get_the_author() ); ?>"></i> </a> </li> <?php } ?> <?php } ?> </ul><!-- .author-social --> </div> </div><!-- .grid-4 --> <div class="grid-8"> <div class="grids list-layout entries"> <?php while ( have_posts() ) : the_post(); get_template_part( 'content', 'post' ); endwhile; wp_reset_query(); ?> </div> </div><!-- .grid-8 --> </div><!--.grids--> <?php the_posts_pagination( array( 'mid_size' => 4, 'prev_text' => __( '<i class="icomoon-arrow-left"></i>' ), 'next_text' => __( '<i class="icomoon-arrow-right"></i>' ), ) ); ?> <?php else: ?> <p class="message"><?php _e('This author has no posts yet', 'themetext' ); ?></p> <?php endif; ?> </div> </section> <?php get_footer(); ?>
- This reply was modified 5 years, 11 months ago by mjavidnikoo.
January 23, 2019 at 2:03 am #1057538Hi,
Unfortunately it is outside of our support policy, please do follow the guidance Viktoria has provided.
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.