Example #1
0
							<div class="social post_social">
								<?php 
            get_template_part('includes/single-share');
            ?>
							</div><!-- social share -->
						<?php 
        }
        ?>
					</div><!-- post content -->
				</div>
				<?php 
        if (rd_options('reedwan_post_author') == 1) {
            ?>
				<div class="box-author mts clearfix">	
					<?php 
            echo author_box(get_the_author_meta('ID'), true);
            ?>
		
				</div>
				<?php 
        }
        ?>
				<?php 
        if (rd_options('reedwan_post_similar') == 1) {
            ?>
					<?php 
            echo related_posts(rd_options('reedwan_post_similar_number'), rd_options('reedwan_post_similar_by'), get_the_ID());
            ?>
				<?php 
        }
        ?>
Example #2
0
">
	<div class="row clearfix">
		<div class="row_inner">
			<div id="post-<?php 
the_ID();
?>
" <?php 
post_class('posts pages_cont' . $grids_wrap . ' archives ' . $sidebar);
?>
>
				<?php 
if (is_author()) {
    ?>
				<div class="box-author mbff">
					<?php 
    echo author_box($userdata->ID, true);
    ?>
				</div>
				<?php 
}
?>
				<ul class="row_inner grid_layout"<?php 
echo $isotope;
?>
>
					<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        $disqus_shortname = $gallery = $audioURL = $videoURL = $format = $icon = $post_comment = '';
        if (get_field('post_gallery')) {