Revert "removed calendar & press tab on campaign page"

This reverts commit 84b8389906.
This commit is contained in:
Willi Junga 2021-01-18 10:56:32 +01:00
parent 8bced16af4
commit 4ebe082c92
Signed by untrusted user: JunWi
GPG key ID: 16CD94732DE08DA5
3 changed files with 31 additions and 0 deletions

View file

@ -16,6 +16,7 @@ Instructions:
## Version Changes
<<<<<<< HEAD
### V0.5
@ -30,6 +31,8 @@ _Fr, 15.01.2021 09:05_
* removed press & calendar
=======
>>>>>>> parent of 84b8389 (removed calendar & press tab on campaign page)
### V0.3

View file

@ -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>

View file

@ -5,7 +5,11 @@ Description: Child Theme fuer Aufwändiges Wordpress-Theme für den EInsatz von
Author: Willi Junga
Author URI: https://verdigado.com
Template: Joseph-knows-best-master
<<<<<<< HEAD
Version: 0.5
=======
Version: 0.3
>>>>>>> parent of 84b8389 (removed calendar & press tab on campaign page)
Text Domain: jkb-child
Tags: child, childtheme, child-theme, two-columns, green, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, custom-menu, theme-options, featured-images, storytelling
License: GNU General Public License v3 or later