forked from NB-Public/jkb-childtheme
removed calendar & press tab on campaign page
This commit is contained in:
parent
d25bb9fb2e
commit
84b8389906
3 changed files with 8 additions and 25 deletions
|
@ -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>
|
||||
|
||||
|
||||
|
||||
|
|
Reference in a new issue