mirror of
https://ghproxy.net/https://github.com/AlxMedia/microtype.git
synced 2025-08-26 23:21:39 +08:00
Include featured posts in footer of single
This commit is contained in:
parent
d2210daebb
commit
0615a3a4b8
2 changed files with 4 additions and 2 deletions
|
@ -12,7 +12,7 @@ $featured = new WP_Query(
|
|||
);
|
||||
?>
|
||||
|
||||
<?php if ( is_home() && !is_paged() && ( get_theme_mod('featured-posts-count','3') !='0') && $featured->have_posts() ): // Show if posts are not 0 ?>
|
||||
<?php if ( ( get_theme_mod('featured-posts-count','3') !='0') && $featured->have_posts() ): // Show if posts are not 0 ?>
|
||||
|
||||
<div class="slick-featured-wrap-outer">
|
||||
<div class="slick-featured-wrap">
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
|
||||
<?php get_template_part('inc/featured'); ?>
|
||||
|
||||
</div><!--/.content-->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue