</div>
		                                        <div class="col-sm-8">
		                                            <?php 
        wpo_share_box();
        ?>
		                                        </div>
		                                    </div>
		                                </div>
	                                <?php 
    }
    ?>

	                                <?php 
    if (wpo_theme_options('show-related-portfolio')) {
        $relate_count = wpo_theme_options('portfolio-items-show', 4);
        wpo_related_post($relate_count, 'portfolio', 'Categories');
    }
    ?>
								</div>
							</article>
						</div>
					<?php 
}
?>
				</div>
			</div>
				<!-- //MAIN CONTENT -->
				<?php 
get_sidebar('right');
?>
		</div>
Example #2
0
		<!-- About Info -->

		<?php 
get_template_part('templates/author-bio');
?>

		<!-- Related Posts -->

		<?php 
if (wpo_theme_options('show_related')) {
    ?>
			<div class="related-posts">
				<?php 
    $post_number = wpo_theme_options('limit-post', 3);
    //$post_number = 3;
    /*wpo_related_post( $post_number, 'portfolio', 'Categories'); ?>*/
    wpo_related_post($post_number, 'portfolio', 'Categories', 'related_portfolio.php');
    ?>
			</div>
		<?php 
}
?>

		<!-- Comment this post -->
		<?php 
comments_template();
?>

	</div><!--  End .post-container -->

</article>
Example #3
0
		</div>

		<div class="author-about">
			<?php 
get_template_part('templates/author-bio');
?>
		</div>

		<?php 
comments_template();
?>

		<!-- Related Posts -->

		<?php 
if (wpo_theme_options('show_related')) {
    ?>
			<div class="wpo-related-post">
				<?php 
    $post_number = wpo_theme_options('limit-post', 4);
    //$post_number = 4;
    wpo_related_post($post_number, 'post', 'category');
    ?>
			</div>
		<?php 
}
?>

	</div><!--  End .post-container -->

</article>
Example #4
0
        }
        ?>
                                    <hr>
                                    <div class="author-about">
                                        <?php 
        get_template_part('templates/author-bio');
        ?>
                                    </div>
                                    <hr>
                                <?php 
        comments_template();
        ?>
                                <div> <?php 
        if (wpo_theme_options('show-related-post', true)) {
            $relate_count = wpo_theme_options('blog-items-show', 4);
            wpo_related_post($relate_count, 'post', 'category');
        }
        ?>
                                </div>
                            </article>    
                           <?php 
    }
    ?>
                        </div>
                        <?php 
}
?>
                    </div>
                    <!-- //MAIN CONTENT -->
                <?php 
get_sidebar('right');