Compare commits

...

13 Commits

7 changed files with 2185 additions and 9 deletions

View File

@ -1,7 +1,7 @@
"Joseph-Knows-Best" - Wordpress Theme für DOMAIN.TDL
"Joseph-Knows-Best" - Wordpress Theme für isabell-hiekel.de
=======================================================
Credits to: https://chatbegruenung.de/direct/`NICKNAME`
Credits to: https://chatbegruenung.de/direct/jungawil & employee of Isabell Hiekel (annoymized)
For feedback and _voluntary_ advice: https://chatbegruenung.de/channel/wordpress
@ -16,6 +16,37 @@ Instructions:
## Version Changes
### V0.0
### V0.5
_Do, 35.05.1312 01:23_
_Mo, 18.01.2021 16:58_
* another attemt to chage the stylecheet
### V0.4
_Fr, 15.01.2021 09:05_
* removed press & calendar
### V0.3
_Mo, 04.01.2021 12:11_
* removed the donation buttons
### V0.2
_We, 23.12.2020 14:41_
* trying to over write style.css file location by copying the style.css into the childtheme
### V0.1
_Fr, 18.12.2020 08:41_
* Added logo.png & logo_small.png

View File

@ -1,6 +1,6 @@
<?php
add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
function enqueue_parent_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
add_action( 'wp_enqueue_scripts', 'enqueue_isabell-hiekel_styles', 1000 );
function enqueue_isabell-hiekel_styles() {
wp_enqueue_style( 'isabell-hiekel', get_stylesheet_directory_uri().'/lib/css/style.css' );
}
?>

2012
lib/css/style.css Normal file

File diff suppressed because it is too large Load Diff

BIN
lib/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
lib/images/logo_small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

133
page-home-campaign.php Normal file
View File

@ -0,0 +1,133 @@
<?php
/*
Template Name: Startseite - Kampagnen
*/
?>
<?php get_header(); ?>
<?php if ( has_post_thumbnail() ):
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );
$url = $thumb['0']; ?>
<div class="fullpage parallax" style="background-image:url(<?php echo $url ?>);">
<div class="introbg parallax fullpage" style="background-image:url(<?php echo $url ?>);"></div>
<div class="story-intro">
<div class="inner">
<h1><?php the_title(); ?></h1>
<p><?php the_excerpt(); ?></p>
<?php $cta = get_post_meta( $post->ID, 'kr8mb_page_campaign_cta', true );
if (! empty ($cta )){ ?><p class="cta"><?php echo $cta; ?></p><?php } ?>
</div>
</div>
</div>
<?php endif; ?>
<div class="inner wrap clearfix">
<div id="getmore">
<h2>Erfahre mehr</h2>
<div class="sidebar clearfix involvebar" role="complementary">
<?php dynamic_sidebar('campaigntwo'); ?>
</div>
</div>
</div>
<div id="teaser" class="parallax" style="background-image:url(<?php echo get_template_directory_uri(); ?>/lib/images/bg_trees.jpg);">
<div class="inner wrap clearfix sylvia">
<div class="josephbeuys">
<?php dynamic_sidebar('hometeaser'); ?>
</div>
</div>
</div>
<section id="content"><div class="inner wrap clearfix">
<div id="getinvolved">
<h2>Was wir wollen</h2>
<div class="sidebar clearfix involvebar" role="complementary">
<?php dynamic_sidebar('campaignone'); ?>
</div>
</div>
<div class="ninecol first clearfix" role="main">
<div class="responsive-tabs home-tabs">
<h2><span>Aktuelles</span></h2>
<div class="tab clearfix">
<?php wp_reset_query(); ?>
<?php
$postsperpage = get_option('posts_per_page');
$args = array(
'posts_per_page' => 3,
'post__in' => get_option( 'sticky_posts' ),
'posts_per_page' => $postsperpage,
'ignore_sticky_posts' => 1
);
query_posts($args);
?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content-list', get_post_format() ); ?>
<?php endwhile; ?>
<p><span class="button"><a href="archiv">Alle Nachrichten im Archiv »</a></span></p>
</div>
</div>
</div>
<script>jQuery(document).ready(function() { RESPONSIVEUI.responsiveTabs(); }) </script>
<div id="sidebar1" class="sidebar threecol last clearfix homebar" role="complementary">
<?php dynamic_sidebar('hometwo'); ?>
</div>
</div></section>
<?php get_footer(); ?>

View File

@ -1,11 +1,11 @@
/*
Theme Name: Joseph knows best Child
Theme Name: Joseph knows best Child - für isabell-hiekel.de
Theme URI: https://git.verdigado.com/NB-Public/jkb-childtheme
Description: Child Theme fuer Aufwändiges Wordpress-Theme für den EInsatz von größeren Websites, z.B: bei Landesverbänden.
Author: Willi Junga
Author URI: https://verdigado.com
Template: Joseph-knows-best-master
Version: 0.0.1
Version: 0.5
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