Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (in_category('sponsored-posts')) : ?>
- <!-- Add code for Sponsored Posts -->
- <?php elseif (in_category('guest-posts')) : ?>
- <div class="post_heading"><h2 class="left_heading <?php disable_author(); ?>">About Guest Article</h2></div><!-- #post_heading -->
- <div class="author <?php disable_author(); ?>">
- <div class="icon">
- <?php echo get_avatar( get_the_author_email(), '75' ); ?>
- <div class="title"><?php echo get_the_author_link(); ?></div><!-- #title -->
- </div><!-- #icon -->
- <div class="authorcontent">
- <p><?php the_author_meta("description"); ?></p>
- </div><!-- #content -->
- </div><!-- #author -->
- <?php else : ?>
- <div class="post_heading"><h2 class="left_heading <?php disable_author(); ?>">About Author</h2></div><!-- #post_heading -->
- <div class="author <?php disable_author(); ?>">
- <div class="icon">
- <?php echo get_avatar( get_the_author_email(), '75' ); ?>
- <div class="title"><?php echo get_the_author_link(); ?></div><!-- #title -->
- </div><!-- #icon -->
- <div class="authorcontent">
- <p><?php the_author_meta("description"); ?></p>
- </div><!-- #content -->
- </div><!-- #author ? -->
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement