removed calendar & press tab on campaign page

This commit is contained in:
Willi Junga 2021-01-15 09:01:21 +01:00
parent d25bb9fb2e
commit 84b8389906
Signed by untrusted user: JunWi
GPG key ID: 16CD94732DE08DA5
3 changed files with 8 additions and 25 deletions

View file

@ -113,31 +113,7 @@ 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>