Compare commits
6 commits
main
...
costumizat
Author | SHA1 | Date | |
---|---|---|---|
Alexander Bigga | 1116cd2e73 | ||
Alexander Bigga | 9d6767850b | ||
Willi Junga | 3b760aba82 | ||
Willi Junga | b6240f7e69 | ||
Willi Junga | f3dba2f81f | ||
Willi Junga | 8cb69d6845 |
18
README.md
18
README.md
|
@ -1,7 +1,7 @@
|
||||||
"Joseph-Knows-Best" - Wordpress Theme für DOMAIN.TDL
|
"Joseph-Knows-Best" - Wordpress Theme für sh-gruene.de
|
||||||
=======================================================
|
=======================================================
|
||||||
|
|
||||||
Credits to: https://chatbegruenung.de/direct/`NICKNAME`
|
Credits to: https://chatbegruenung.de/direct/jungawil
|
||||||
|
|
||||||
For feedback and _voluntary_ advice: https://chatbegruenung.de/channel/wordpress
|
For feedback and _voluntary_ advice: https://chatbegruenung.de/channel/wordpress
|
||||||
|
|
||||||
|
@ -9,13 +9,25 @@ Instructions:
|
||||||
|
|
||||||
1. Select branch from: https://git.verdigado.com/NB-Public/jkb-childtheme/branches/
|
1. Select branch from: https://git.verdigado.com/NB-Public/jkb-childtheme/branches/
|
||||||
2. Download branch as ZIP
|
2. Download branch as ZIP
|
||||||
3. Unzip rename contained folder to `jkb-childtheme-DOMAIN` without `.TDL`
|
3. Unzip rename contained folder to `jkb-childtheme-gruene-sh` without `.de`
|
||||||
4. zip that renamed folder again
|
4. zip that renamed folder again
|
||||||
5. Upload theme to wordpress.
|
5. Upload theme to wordpress.
|
||||||
|
|
||||||
|
|
||||||
## Version Changes
|
## Version Changes
|
||||||
|
|
||||||
|
### V0.4
|
||||||
|
|
||||||
|
Parent theme is now https://git.verdigado.com/NB-Public/joseph-knows-best
|
||||||
|
|
||||||
|
### V0.3
|
||||||
|
|
||||||
|
more fonts, a category.php and a different style.css
|
||||||
|
|
||||||
|
### V0.1
|
||||||
|
|
||||||
|
changed order of campaign page
|
||||||
|
|
||||||
### V0.0
|
### V0.0
|
||||||
|
|
||||||
_Do, 35.05.1312 01:23_
|
_Do, 35.05.1312 01:23_
|
||||||
|
|
55
category.php
Executable file
55
category.php
Executable file
|
@ -0,0 +1,55 @@
|
||||||
|
<?php get_header(); ?>
|
||||||
|
<section id="content"><div class="inner wrap clearfix">
|
||||||
|
<div class="archive-title ninecol first">
|
||||||
|
<h1><?php single_cat_title(); ?><span class="hidden"><?php if( is_paged() ) { echo ' - Seite ' .$paged; }?></span></h1>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<?php echo category_description(); ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="main" class="ninecol first clearfix" role="main">
|
||||||
|
|
||||||
|
<div class="list-article">
|
||||||
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||||
|
|
||||||
|
|
||||||
|
<?php get_template_part( 'content-list-small', get_post_type() ); ?>
|
||||||
|
|
||||||
|
|
||||||
|
<?php endwhile; ?>
|
||||||
|
</div>
|
||||||
|
<?php if (function_exists('kr8_page_navi')) { ?>
|
||||||
|
<?php kr8_page_navi(); ?>
|
||||||
|
<?php } else { ?>
|
||||||
|
<nav class="wp-prev-next">
|
||||||
|
<ul class="clearfix">
|
||||||
|
<li class="prev-link"><?php next_posts_link(__('« Ältere Beiträge', "kr8theme")) ?></li>
|
||||||
|
<li class="next-link"><?php previous_posts_link(__('Neuere Beiträge »', "kr8theme")) ?></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
<?php else : ?>
|
||||||
|
|
||||||
|
<article id="post-not-found" class="hentry clearfix">
|
||||||
|
<header class="article-header">
|
||||||
|
<h1><?php _e("Oops, Post Not Found!", "kr8theme"); ?></h1>
|
||||||
|
</header>
|
||||||
|
<section class="entry-content">
|
||||||
|
<p><?php _e("Uh Oh. Something is missing. Try double checking things.", "kr8theme"); ?></p>
|
||||||
|
</section>
|
||||||
|
<footer class="article-footer">
|
||||||
|
<p><?php _e("This is the error message in the archive.php template.", "kr8theme"); ?></p>
|
||||||
|
</footer>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
||||||
|
</div> <!-- end #main -->
|
||||||
|
|
||||||
|
<?php get_sidebar(); ?>
|
||||||
|
</div></section>
|
||||||
|
<?php get_footer(); ?>
|
2018
lib/css/style.css
Normal file
2018
lib/css/style.css
Normal file
File diff suppressed because it is too large
Load diff
BIN
lib/fonts/BereitBold-Oblique.otf
Executable file
BIN
lib/fonts/BereitBold-Oblique.otf
Executable file
Binary file not shown.
BIN
lib/fonts/BereitBold-Oblique.woff
Executable file
BIN
lib/fonts/BereitBold-Oblique.woff
Executable file
Binary file not shown.
BIN
lib/fonts/BereitBold-Oblique.woff2
Executable file
BIN
lib/fonts/BereitBold-Oblique.woff2
Executable file
Binary file not shown.
102
page-home-campaign.php
Normal file
102
page-home-campaign.php
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
<?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="getinvolved">
|
||||||
|
<h2>Werde aktiv</h2>
|
||||||
|
<div class="sidebar clearfix involvebar" role="complementary">
|
||||||
|
<?php dynamic_sidebar('campaignone'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="teaser">
|
||||||
|
<div class="inner wrap clearfix sylvia">
|
||||||
|
<div class="josephbeuys">
|
||||||
|
<?php dynamic_sidebar('hometeaser'); ?>
|
||||||
|
</div>
|
||||||
|
</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>
|
||||||
|
|
||||||
|
<h2><span>Termine</span></h2>
|
||||||
|
<div class="tab clearfix">
|
||||||
|
<?php echo do_shortcode('[MEC id="31316"]'); ?>
|
||||||
|
</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>
|
||||||
|
|
||||||
|
<section id="content">
|
||||||
|
|
||||||
|
<div class="inner wrap clearfix">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="getmore">
|
||||||
|
<h2>Erfahre mehr</h2>
|
||||||
|
<div class="sidebar clearfix involvebar" role="complementary">
|
||||||
|
<?php dynamic_sidebar('campaigntwo'); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="donatenow" class="clearfix">
|
||||||
|
<h2>Spenden</h2>
|
||||||
|
<a href="/spenden#betrag=100">100 €</a>
|
||||||
|
<a href="/spenden#betrag=50">50 €</a>
|
||||||
|
<a href="/spenden#betrag=20">20 €</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<?php get_footer(); ?>
|
|
@ -1,11 +1,11 @@
|
||||||
/*
|
/*
|
||||||
Theme Name: Joseph knows best Child
|
Theme Name: Joseph knows best Child for sh-gruene.de
|
||||||
Theme URI: https://git.verdigado.com/NB-Public/jkb-childtheme
|
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.
|
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: Willi Junga
|
||||||
Author URI: https://verdigado.com
|
Author URI: https://verdigado.com
|
||||||
Template: Joseph-knows-best-master
|
Template: joseph-knows-best
|
||||||
Version: 0.0.1
|
Version: 0.4
|
||||||
Text Domain: jkb-child
|
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
|
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
|
License: GNU General Public License v3 or later
|
||||||
|
|
Loading…
Reference in a new issue