forked from NB-Public/jkb-childtheme
Revert "removed calendar & press tab on campaign page"
This reverts commit 84b8389906
.
This commit is contained in:
parent
8bced16af4
commit
4ebe082c92
3 changed files with 31 additions and 0 deletions
|
@ -97,7 +97,31 @@ Template Name: Startseite - Kampagnen
|
|||
|
||||
|
||||
</div>
|
||||
<h2><span>Termine</span></h2>
|
||||
<div class="tab clearfix">
|
||||
|
||||
<?php echo do_shortcode('[wpcalendar anzahl="5" kat="kampagne"]'); ?>
|
||||
</div>
|
||||
|
||||
<h2><span>Presse</span></h2>
|
||||
<div class="tab clearfix">
|
||||
|
||||
<?php wp_reset_query(); ?>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
$postsperpage = get_option('posts_per_page');
|
||||
query_posts('posts_per_page=7&ignore_sticky_posts=1&category_name=presse');
|
||||
?>
|
||||
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<?php get_template_part( 'content-list-small', get_post_format() ); ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
|
Reference in a new issue