Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
Willi Junga | 41c1708d7a |
7
README
|
@ -1,10 +1,11 @@
|
||||||
=======================================
|
=======================================
|
||||||
Joseph knows best
|
Joseph knows best
|
||||||
=======================================
|
=======================================
|
||||||
Komplexes Wordpress-Theme insbesondere für GRÜNE Landesverbände
|
Komplexes Wordpress-Theme für GRÜNE Landesverbände
|
||||||
|
http://gruene-nrw.de
|
||||||
|
|
||||||
Komplexes Wordpress-Theme, das für gruene-nrw.de entwickelt wurde. Auch hervorragend für andere Landesverbände nutzbar, bietet viele Funktionen.
|
Komplexes Wordpress-Theme, das auf gruene-nrw.de zum Einsatz kommt. Auch hervorragend für andere Landesverbände nutzbar, bietet viele Funktionen.
|
||||||
|
|
||||||
Das Theme stellen wir frei zur Verfügung. Eine Aktualisierung ist nicht mehr vorgesehen. Support-Anfragen und Features können idR nicht übernommen werden! Für Nachfragen bitte https://chatbegruenung.de/channel/wordpress nutzen.
|
Das Theme stellen wir frei zur Verfügung und aktualisieren es regelmäßig gemäß unserer eigenen Bedürfnisse. Support-Anfragen und Features können idR nicht übernommen werden!
|
||||||
|
|
||||||
Einige Features: Story-Telling/Scrolly-Telling, eigene Post-Types für Köpfe & Gliederungen, mobile First, etc.
|
Einige Features: Story-Telling/Scrolly-Telling, eigene Post-Types für Köpfe & Gliederungen, mobile First, etc.
|
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(); ?>
|
|
@ -5,11 +5,9 @@
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$email = get_post_meta( $post->ID, 'kr8mb_gli_contact_email', true );
|
$email = get_post_meta( $post->ID, 'kr8mb_gli_contact_email', true );
|
||||||
$email = antispambot($email);
|
|
||||||
$www = get_post_meta( $post->ID, 'kr8mb_gli_contact_www', true );
|
$www = get_post_meta( $post->ID, 'kr8mb_gli_contact_www', true );
|
||||||
$facebook = get_post_meta( $post->ID, 'kr8mb_gli_contact_facebook', true );
|
$facebook = get_post_meta( $post->ID, 'kr8mb_gli_contact_facebook', true );
|
||||||
$twitter = get_post_meta( $post->ID, 'kr8mb_gli_contact_twitter', true );
|
$twitter = get_post_meta( $post->ID, 'kr8mb_gli_contact_twitter', true );
|
||||||
$instagram = get_post_meta( $post->ID, 'kr8mb_gli_contact_instagram', true );
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -25,7 +23,6 @@
|
||||||
<?php if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>" title="Schreibe <?php the_title(); ?> eine E-Mail"><i class="fa fa-envelope-o"></i></a><?php } ?>
|
<?php if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>" title="Schreibe <?php the_title(); ?> eine E-Mail"><i class="fa fa-envelope-o"></i></a><?php } ?>
|
||||||
<?php if (! empty ($facebook )){ ?><a href="<?php echo $facebook; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-thumbs-o-up"></i></a><?php } ?>
|
<?php if (! empty ($facebook )){ ?><a href="<?php echo $facebook; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-thumbs-o-up"></i></a><?php } ?>
|
||||||
<?php if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>" title="Zum Twitter-Acccount von <?php the_title(); ?>"><i class="fa fa-twitter"></i></a><?php } ?>
|
<?php if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>" title="Zum Twitter-Acccount von <?php the_title(); ?>"><i class="fa fa-twitter"></i></a><?php } ?>
|
||||||
<?php if (! empty ($instagram )){ ?><a href="<?php echo $instagram; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-instagram"></i></a><?php } ?>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -5,11 +5,9 @@
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$email = get_post_meta( $post->ID, 'kr8mb_gli_contact_email', true );
|
$email = get_post_meta( $post->ID, 'kr8mb_gli_contact_email', true );
|
||||||
$email = antispambot($email);
|
|
||||||
$www = get_post_meta( $post->ID, 'kr8mb_gli_contact_www', true );
|
$www = get_post_meta( $post->ID, 'kr8mb_gli_contact_www', true );
|
||||||
$facebook = get_post_meta( $post->ID, 'kr8mb_gli_contact_facebook', true );
|
$facebook = get_post_meta( $post->ID, 'kr8mb_gli_contact_facebook', true );
|
||||||
$twitter = get_post_meta( $post->ID, 'kr8mb_gli_contact_twitter', true );
|
$twitter = get_post_meta( $post->ID, 'kr8mb_gli_contact_twitter', true );
|
||||||
$instagram = get_post_meta( $post->ID, 'kr8mb_gli_contact_instagram', true );
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -23,9 +21,8 @@
|
||||||
<p class="contact">
|
<p class="contact">
|
||||||
<?php if (! empty ($www )){ ?><a href="mailto:<?php echo $www; ?>" title="Zur Website von <?php the_title(); ?>"><i class="fa fa-globe"></i></a><?php } ?>
|
<?php if (! empty ($www )){ ?><a href="mailto:<?php echo $www; ?>" title="Zur Website von <?php the_title(); ?>"><i class="fa fa-globe"></i></a><?php } ?>
|
||||||
<?php if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>" title="Schreibe <?php the_title(); ?> eine E-Mail"><i class="fa fa-envelope-o"></i></a><?php } ?>
|
<?php if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>" title="Schreibe <?php the_title(); ?> eine E-Mail"><i class="fa fa-envelope-o"></i></a><?php } ?>
|
||||||
<?php if (! empty ($facebook )){ ?><a href="<?php echo $facebook; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-thumbs-o-up"></i></a><?php } ?>
|
<?php if (! empty ($facebook )){ ?><a href="mailto:<?php echo $facebook; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-thumbs-o-up"></i></a><?php } ?>
|
||||||
<?php if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>" title="Zum Twitter-Acccount von <?php the_title(); ?>"><i class="fa fa-twitter"></i></a><?php } ?>
|
<?php if (! empty ($twitter )){ ?><a href="mailto:<?php echo $twitter; ?>" title="Zum Twitter-Acccount von <?php the_title(); ?>"><i class="fa fa-twitter"></i></a><?php } ?>
|
||||||
<?php if (! empty ($instagram )){ ?><a href="<?php echo $instagram; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-instagram"></i></a><?php } ?>
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -6,11 +6,9 @@
|
||||||
<?php
|
<?php
|
||||||
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', true );
|
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', true );
|
||||||
$email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true );
|
$email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true );
|
||||||
$email = antispambot($email);
|
|
||||||
$www = get_post_meta( $post->ID, 'kr8mb_pers_contact_www', true );
|
$www = get_post_meta( $post->ID, 'kr8mb_pers_contact_www', true );
|
||||||
$facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true );
|
$facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true );
|
||||||
$twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true );
|
$twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true );
|
||||||
$instagram = get_post_meta( $post->ID, 'kr8mb_pers_contact_instagram', true );
|
|
||||||
$shortbio = get_post_meta( $post->ID, 'kr8mb_pers_excerpt', true );
|
$shortbio = get_post_meta( $post->ID, 'kr8mb_pers_excerpt', true );
|
||||||
$details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true );
|
$details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true );
|
||||||
?>
|
?>
|
||||||
|
@ -28,7 +26,6 @@
|
||||||
<?php if (! empty ($www )){ ?><a href="<?php echo $www; ?>" title="Zur Website von <?php the_title(); ?>"><i class="fa fa-globe"></i></a><?php } ?>
|
<?php if (! empty ($www )){ ?><a href="<?php echo $www; ?>" title="Zur Website von <?php the_title(); ?>"><i class="fa fa-globe"></i></a><?php } ?>
|
||||||
<?php if (! empty ($facebook )){ ?><a href="<?php echo $facebook; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-thumbs-o-up"></i></a><?php } ?>
|
<?php if (! empty ($facebook )){ ?><a href="<?php echo $facebook; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-thumbs-o-up"></i></a><?php } ?>
|
||||||
<?php if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>" title="Zum Twitter-Acccount von <?php the_title(); ?>"><i class="fa fa-twitter"></i></a><?php } ?>
|
<?php if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>" title="Zum Twitter-Acccount von <?php the_title(); ?>"><i class="fa fa-twitter"></i></a><?php } ?>
|
||||||
<?php if (! empty ($instagram )){ ?><a href="<?php echo $instagram; ?>" title="Zum Instagram-Profil von <?php the_title(); ?>"><i class="fa fa-instagram"></i></a><?php } ?>
|
|
||||||
<?php if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>" title="Schreibe <?php the_title(); ?> eine E-Mail"><i class="fa fa-envelope-o"></i></a><?php } ?>
|
<?php if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>" title="Schreibe <?php the_title(); ?> eine E-Mail"><i class="fa fa-envelope-o"></i></a><?php } ?>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
<?php
|
<?php
|
||||||
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', true );
|
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', true );
|
||||||
$email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true );
|
$email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true );
|
||||||
$email = antispambot($email);
|
|
||||||
$telefon = get_post_meta( $post->ID, 'kr8mb_pers_contact_telefon', true );
|
$telefon = get_post_meta( $post->ID, 'kr8mb_pers_contact_telefon', true );
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
<?php
|
<?php
|
||||||
$nr = get_post_meta( $post->ID, 'kr8mb_pers_pos_listenplatz', true );
|
$nr = get_post_meta( $post->ID, 'kr8mb_pers_pos_listenplatz', true );
|
||||||
$email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true );
|
$email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true );
|
||||||
$email = antispambot($email);
|
|
||||||
$www = get_post_meta( $post->ID, 'kr8mb_pers_contact_www', true );
|
$www = get_post_meta( $post->ID, 'kr8mb_pers_contact_www', true );
|
||||||
$facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true );
|
$facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true );
|
||||||
$twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true );
|
$twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true );
|
||||||
|
|
|
@ -6,11 +6,9 @@
|
||||||
<?php
|
<?php
|
||||||
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', true );
|
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', true );
|
||||||
$email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true );
|
$email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true );
|
||||||
$email = antispambot($email);
|
|
||||||
$www = get_post_meta( $post->ID, 'kr8mb_pers_contact_www', true );
|
$www = get_post_meta( $post->ID, 'kr8mb_pers_contact_www', true );
|
||||||
$facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true );
|
$facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true );
|
||||||
$twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true );
|
$twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true );
|
||||||
$instagram = get_post_meta( $post->ID, 'kr8mb_pers_contact_instagram', true );
|
|
||||||
$wahlkreis = get_post_meta( $post->ID, 'kr8mb_pers_pos_wahlkreis', true );
|
$wahlkreis = get_post_meta( $post->ID, 'kr8mb_pers_pos_wahlkreis', true );
|
||||||
$details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true );
|
$details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true );
|
||||||
?>
|
?>
|
||||||
|
@ -29,7 +27,6 @@
|
||||||
<?php if (! empty ($www )){ ?><a href="<?php echo $www; ?>" title="Zur Website von <?php the_title(); ?>"><i class="fa fa-globe"></i></a><?php } ?>
|
<?php if (! empty ($www )){ ?><a href="<?php echo $www; ?>" title="Zur Website von <?php the_title(); ?>"><i class="fa fa-globe"></i></a><?php } ?>
|
||||||
<?php if (! empty ($facebook )){ ?><a href="<?php echo $facebook; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-thumbs-o-up"></i></a><?php } ?>
|
<?php if (! empty ($facebook )){ ?><a href="<?php echo $facebook; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-thumbs-o-up"></i></a><?php } ?>
|
||||||
<?php if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>" title="Zum Twitter-Acccount von <?php the_title(); ?>"><i class="fa fa-twitter"></i></a><?php } ?>
|
<?php if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>" title="Zum Twitter-Acccount von <?php the_title(); ?>"><i class="fa fa-twitter"></i></a><?php } ?>
|
||||||
<?php if (! empty ($instagram )){ ?><a href="<?php echo $instagram; ?>" title="Zum Instagram-Profil von <?php the_title(); ?>"><i class="fa fa-instagram"></i></a><?php } ?>
|
|
||||||
<?php if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>" title="Schreibe <?php the_title(); ?> eine E-Mail"><i class="fa fa-envelope-o"></i></a><?php } ?>
|
<?php if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>" title="Schreibe <?php the_title(); ?> eine E-Mail"><i class="fa fa-envelope-o"></i></a><?php } ?>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
<?php
|
<?php
|
||||||
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', true );
|
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', true );
|
||||||
$email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true );
|
$email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true );
|
||||||
$email = antispambot($email);
|
|
||||||
$telefon = get_post_meta( $post->ID, 'kr8mb_pers_contact_telefon', true );
|
$telefon = get_post_meta( $post->ID, 'kr8mb_pers_contact_telefon', true );
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,9 @@
|
||||||
<?php
|
<?php
|
||||||
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', true );
|
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', true );
|
||||||
$email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true );
|
$email = get_post_meta( $post->ID, 'kr8mb_pers_contact_email', true );
|
||||||
$email = antispambot($email);
|
|
||||||
$www = get_post_meta( $post->ID, 'kr8mb_pers_contact_www', true );
|
$www = get_post_meta( $post->ID, 'kr8mb_pers_contact_www', true );
|
||||||
$facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true );
|
$facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true );
|
||||||
$twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true );
|
$twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true );
|
||||||
$instagram = get_post_meta( $post->ID, 'kr8mb_pers_contact_instagram', true );
|
|
||||||
$shortbio = get_post_meta( $post->ID, 'kr8mb_pers_excerpt', true );
|
$shortbio = get_post_meta( $post->ID, 'kr8mb_pers_excerpt', true );
|
||||||
$details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true );
|
$details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true );
|
||||||
?>
|
?>
|
||||||
|
@ -28,7 +26,6 @@
|
||||||
<?php if (! empty ($www )){ ?><a href="<?php echo $www; ?>" title="Zur Website von <?php the_title(); ?>"><i class="fa fa-globe"></i></a><?php } ?>
|
<?php if (! empty ($www )){ ?><a href="<?php echo $www; ?>" title="Zur Website von <?php the_title(); ?>"><i class="fa fa-globe"></i></a><?php } ?>
|
||||||
<?php if (! empty ($facebook )){ ?><a href="<?php echo $facebook; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-thumbs-o-up"></i></a><?php } ?>
|
<?php if (! empty ($facebook )){ ?><a href="<?php echo $facebook; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-thumbs-o-up"></i></a><?php } ?>
|
||||||
<?php if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>" title="Zum Twitter-Acccount von <?php the_title(); ?>"><i class="fa fa-twitter"></i></a><?php } ?>
|
<?php if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>" title="Zum Twitter-Acccount von <?php the_title(); ?>"><i class="fa fa-twitter"></i></a><?php } ?>
|
||||||
<?php if (! empty ($instagram )){ ?><a href="<?php echo $instagram; ?>" title="Zum Instagram-Profil von <?php the_title(); ?>"><i class="fa fa-instagram"></i></a><?php } ?>
|
|
||||||
<?php if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>" title="Schreibe <?php the_title(); ?> eine E-Mail"><i class="fa fa-envelope-o"></i></a><?php } ?>
|
<?php if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>" title="Schreibe <?php the_title(); ?> eine E-Mail"><i class="fa fa-envelope-o"></i></a><?php } ?>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -47,7 +47,6 @@
|
||||||
if (! empty ($www )){ ?><a href="<?php echo $www; ?>"><span class="fa fa-globe"></span></a><?php } ?>
|
if (! empty ($www )){ ?><a href="<?php echo $www; ?>"><span class="fa fa-globe"></span></a><?php } ?>
|
||||||
|
|
||||||
<?php $email = get_post_meta( $post->ID, 'kr8mb_gli_contact_email', true );
|
<?php $email = get_post_meta( $post->ID, 'kr8mb_gli_contact_email', true );
|
||||||
$email = antispambot($email);
|
|
||||||
if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>"><span class="fa fa-envelope"></span></a><?php } ?>
|
if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>"><span class="fa fa-envelope"></span></a><?php } ?>
|
||||||
|
|
||||||
|
|
||||||
|
@ -57,9 +56,6 @@
|
||||||
<?php $twitter = get_post_meta( $post->ID, 'kr8mb_gli_contact_twitter', true );
|
<?php $twitter = get_post_meta( $post->ID, 'kr8mb_gli_contact_twitter', true );
|
||||||
if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>"><span class="fa fa-twitter"></span></a><?php } ?>
|
if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>"><span class="fa fa-twitter"></span></a><?php } ?>
|
||||||
|
|
||||||
<?php $instagram = get_post_meta( $post->ID, 'kr8mb_gli_contact_instagram', true );
|
|
||||||
if (! empty ($instagram )){ ?><a href="<?php echo $instagram; ?>"><span class="fa fa-instagram"></span></a><?php } ?>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -50,9 +50,6 @@
|
||||||
<?php $twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true );
|
<?php $twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true );
|
||||||
if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>"><span class="fa fa-twitter"></span></a><?php } ?>
|
if (! empty ($twitter )){ ?><a href="https://twitter.com/<?php echo $twitter; ?>"><span class="fa fa-twitter"></span></a><?php } ?>
|
||||||
|
|
||||||
<?php $instagram = get_post_meta( $post->ID, 'kr8mb_pers_contact_instagram', true );
|
|
||||||
if (! empty ($instagram )){ ?><a href="<?php echo $instagram; ?>"><span class="fa fa-instagram"></span></a><?php } ?>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
BIN
favicon.ico
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 15 KiB |
BIN
favicon.png
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 3 KiB |
|
@ -746,6 +746,7 @@ function kr8_socialshare() { ?>
|
||||||
<a href="https://twitter.com/intent/tweet?text=<?php the_title(); ?>&url=<?php the_permalink() ?>" class="twitter" title="Artikel twittern" rel="nofollow"><i class="fa fa-twitter"></i><span>Twitter</span></a>
|
<a href="https://twitter.com/intent/tweet?text=<?php the_title(); ?>&url=<?php the_permalink() ?>" class="twitter" title="Artikel twittern" rel="nofollow"><i class="fa fa-twitter"></i><span>Twitter</span></a>
|
||||||
<a href="whatsapp://send?abid=256&text=Schau%20Dir%20das%20mal%20an%3A%20<?php the_permalink(); ?>" class="whatsapp" title="Per WhatsApp verschicken" rel="nofollow"><i class="fa fa-whatsapp"></i><span>WhatsApp</span></a>
|
<a href="whatsapp://send?abid=256&text=Schau%20Dir%20das%20mal%20an%3A%20<?php the_permalink(); ?>" class="whatsapp" title="Per WhatsApp verschicken" rel="nofollow"><i class="fa fa-whatsapp"></i><span>WhatsApp</span></a>
|
||||||
<a href="http://www.facebook.com/sharer/sharer.php?u=<?php the_permalink() ?>" class="facebook" title="Auf Facebook teilen" rel="nofollow"><i class="fa fa-thumbs-o-up"></i><span>Facebook</span></a>
|
<a href="http://www.facebook.com/sharer/sharer.php?u=<?php the_permalink() ?>" class="facebook" title="Auf Facebook teilen" rel="nofollow"><i class="fa fa-thumbs-o-up"></i><span>Facebook</span></a>
|
||||||
|
<a href="https://plus.google.com/share?url=<?php the_permalink() ?>" class="google" rel="nofollow"><i class="fa fa-google-plus"></i><span>Google+</span></a>
|
||||||
<a href="mailto:?subject=Das musst Du lesen: <?php echo rawurlencode(get_the_title()); ?>&body=Hey, schau Dir das mal den Artikel auf <?php bloginfo('name'); ?> an: <?php the_permalink(); ?>" title="Per E-Mail weiterleiten" class="email" rel="nofollow"><i class="fa fa-envelope"></i><span>E-Mail</span></a>
|
<a href="mailto:?subject=Das musst Du lesen: <?php echo rawurlencode(get_the_title()); ?>&body=Hey, schau Dir das mal den Artikel auf <?php bloginfo('name'); ?> an: <?php the_permalink(); ?>" title="Per E-Mail weiterleiten" class="email" rel="nofollow"><i class="fa fa-envelope"></i><span>E-Mail</span></a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -431,7 +431,6 @@ function kr8mb_gli_contact_cb($post)
|
||||||
$email = isset( $values['kr8mb_gli_contact_email'] ) ? esc_attr( $values['kr8mb_gli_contact_email'][0] ) : '';
|
$email = isset( $values['kr8mb_gli_contact_email'] ) ? esc_attr( $values['kr8mb_gli_contact_email'][0] ) : '';
|
||||||
$facebook = isset( $values['kr8mb_gli_contact_facebook'] ) ? esc_attr( $values['kr8mb_gli_contact_facebook'][0] ) : '';
|
$facebook = isset( $values['kr8mb_gli_contact_facebook'] ) ? esc_attr( $values['kr8mb_gli_contact_facebook'][0] ) : '';
|
||||||
$twitter = isset( $values['kr8mb_gli_contact_twitter'] ) ? esc_attr( $values['kr8mb_gli_contact_twitter'][0] ) : '';
|
$twitter = isset( $values['kr8mb_gli_contact_twitter'] ) ? esc_attr( $values['kr8mb_gli_contact_twitter'][0] ) : '';
|
||||||
$instagram = isset( $values['kr8mb_gli_contact_instagram'] ) ? esc_attr( $values['kr8mb_gli_contact_instagram'][0] ) : '';
|
|
||||||
$anschrift = isset( $values['kr8mb_gli_contact_anschrift'] ) ? esc_html( $values['kr8mb_gli_contact_anschrift'][0] ) : '';
|
$anschrift = isset( $values['kr8mb_gli_contact_anschrift'] ) ? esc_html( $values['kr8mb_gli_contact_anschrift'][0] ) : '';
|
||||||
$telefon = isset( $values['kr8mb_gli_contact_telefon'] ) ? esc_html( $values['kr8mb_gli_contact_telefon'][0] ) : '';
|
$telefon = isset( $values['kr8mb_gli_contact_telefon'] ) ? esc_html( $values['kr8mb_gli_contact_telefon'][0] ) : '';
|
||||||
$selected = isset( $values['my_meta_box_select'] ) ? esc_attr( $values['my_meta_box_select'][0] ) : '';
|
$selected = isset( $values['my_meta_box_select'] ) ? esc_attr( $values['my_meta_box_select'][0] ) : '';
|
||||||
|
@ -456,12 +455,6 @@ function kr8mb_gli_contact_cb($post)
|
||||||
<th scope="row"><label for="kr8mb_gli_contact_twitter">Twitter</label></th>
|
<th scope="row"><label for="kr8mb_gli_contact_twitter">Twitter</label></th>
|
||||||
<td><input type="text" name="kr8mb_gli_contact_twitter" id="kr8mb_gli_contact_twitter" value="<?php echo $twitter; ?>" /><br><span class="description">Nur der Twitter-Nutzername ohne @, z.b. gruenenrw.</span></td>
|
<td><input type="text" name="kr8mb_gli_contact_twitter" id="kr8mb_gli_contact_twitter" value="<?php echo $twitter; ?>" /><br><span class="description">Nur der Twitter-Nutzername ohne @, z.b. gruenenrw.</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<th scope="row"><label for="kr8mb_gli_contact_instagram">Instagram</label></th>
|
|
||||||
<td><input type="text" name="kr8mb_gli_contact_instagram" id="kr8mb_gli_contact_instagram" value="<?php echo $instagram; ?>" /><br><span class="description">Vollständiger Link zum Instagram-Profil, inkl. http://</span></td>
|
|
||||||
<th scope="row"></th>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="kr8mb_gli_contact_anschrift">Anschrift</label></th>
|
<th scope="row"><label for="kr8mb_gli_contact_anschrift">Anschrift</label></th>
|
||||||
<td><textarea name="kr8mb_gli_contact_anschrift" id="kr8mb_gli_contact_anschrift"><?php echo $anschrift; ?></textarea><br><span class="description">Platz für Anschrift, Telefon, Fax, etc.</span></td>
|
<td><textarea name="kr8mb_gli_contact_anschrift" id="kr8mb_gli_contact_anschrift"><?php echo $anschrift; ?></textarea><br><span class="description">Platz für Anschrift, Telefon, Fax, etc.</span></td>
|
||||||
|
@ -504,8 +497,6 @@ function kr8mb_gli_contact_save( $post_id )
|
||||||
update_post_meta( $post_id, 'kr8mb_gli_contact_facebook', wp_kses( $_POST['kr8mb_gli_contact_facebook'], $allowed ) );
|
update_post_meta( $post_id, 'kr8mb_gli_contact_facebook', wp_kses( $_POST['kr8mb_gli_contact_facebook'], $allowed ) );
|
||||||
if( isset( $_POST['kr8mb_gli_contact_twitter'] ) )
|
if( isset( $_POST['kr8mb_gli_contact_twitter'] ) )
|
||||||
update_post_meta( $post_id, 'kr8mb_gli_contact_twitter', wp_kses( $_POST['kr8mb_gli_contact_twitter'], $allowed ) );
|
update_post_meta( $post_id, 'kr8mb_gli_contact_twitter', wp_kses( $_POST['kr8mb_gli_contact_twitter'], $allowed ) );
|
||||||
if( isset( $_POST['kr8mb_gli_contact_instagram'] ) )
|
|
||||||
update_post_meta( $post_id, 'kr8mb_gli_contact_instagram', wp_kses( $_POST['kr8mb_gli_contact_instagram'], $allowed ) );
|
|
||||||
if( isset( $_POST['kr8mb_gli_contact_telefon'] ) )
|
if( isset( $_POST['kr8mb_gli_contact_telefon'] ) )
|
||||||
update_post_meta( $post_id, 'kr8mb_gli_contact_telefon', wp_kses( $_POST['kr8mb_gli_contact_telefon'], $allowed ) );
|
update_post_meta( $post_id, 'kr8mb_gli_contact_telefon', wp_kses( $_POST['kr8mb_gli_contact_telefon'], $allowed ) );
|
||||||
if( isset( $_POST['kr8mb_gli_contact_anschrift'] ) )
|
if( isset( $_POST['kr8mb_gli_contact_anschrift'] ) )
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
function kr8_sitemap( $atts, $content = null ) {
|
function kr8_sitemap( $atts, $content = null ) {
|
||||||
|
|
||||||
extract(shortcode_atts(array(
|
extract(shortcode_atts(array(
|
||||||
'sort' => 'post_name',
|
|
||||||
'aussehen' => '',
|
'aussehen' => '',
|
||||||
'parent' => '',
|
'parent' => '',
|
||||||
'ids' => '',
|
'ids' => '',
|
||||||
|
@ -21,7 +20,7 @@ function kr8_sitemap( $atts, $content = null ) {
|
||||||
'title_li' => '',
|
'title_li' => '',
|
||||||
'parent' => $parent,
|
'parent' => $parent,
|
||||||
'sort_order' => 'ASC',
|
'sort_order' => 'ASC',
|
||||||
'sort_column' => $sort
|
'sort_column' => 'post_name'
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -40,7 +39,7 @@ function kr8_sitemap( $atts, $content = null ) {
|
||||||
'title_li' => '',
|
'title_li' => '',
|
||||||
'parent' => $the_id,
|
'parent' => $the_id,
|
||||||
'sort_order' => 'ASC',
|
'sort_order' => 'ASC',
|
||||||
'sort_column' => $sort
|
'sort_column' => 'post_name'
|
||||||
);
|
);
|
||||||
|
|
||||||
$smitem = get_pages( $smargs );
|
$smitem = get_pages( $smargs );
|
||||||
|
@ -132,16 +131,13 @@ function beitraege_lists($atts, $content = null) {
|
||||||
extract(shortcode_atts(array(
|
extract(shortcode_atts(array(
|
||||||
"ids" => '',
|
"ids" => '',
|
||||||
'aussehen' => '',
|
'aussehen' => '',
|
||||||
'kategorien' => '',
|
|
||||||
'anzahl' => '-1',
|
|
||||||
'suchfeld' => 'term_id',
|
|
||||||
), $atts));
|
), $atts));
|
||||||
global $wp_query,$paged,$post;
|
global $wp_query,$paged,$post;
|
||||||
$temp = $wp_query;
|
$temp = $wp_query;
|
||||||
$wp_query= null;
|
$wp_query= null;
|
||||||
$wp_query = new WP_Query();
|
$wp_query = new WP_Query();
|
||||||
if(!empty($ids)){ // Einzelne Beiträge
|
|
||||||
$ids = explode(',', $ids);
|
$ids = explode(',', $ids);
|
||||||
|
if(!empty($ids)){
|
||||||
|
|
||||||
$args = array(
|
$args = array(
|
||||||
'post_type' => 'any',
|
'post_type' => 'any',
|
||||||
|
@ -153,30 +149,14 @@ function beitraege_lists($atts, $content = null) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(!empty($kategorien)){ // Beiträge einer Kategorie
|
|
||||||
// $kategorien = explode(',', $kategorien);
|
|
||||||
|
|
||||||
$args = array(
|
|
||||||
'post_type' => 'any',
|
|
||||||
'tax_query' => array(
|
|
||||||
array(
|
|
||||||
'taxonomy' => 'category',
|
|
||||||
'field' => $suchfeld,
|
|
||||||
'terms' => $kategorien,
|
|
||||||
)
|
|
||||||
),
|
|
||||||
'posts_per_page' => $anzahl,
|
|
||||||
'ignore_sticky_posts' => 1
|
|
||||||
);
|
|
||||||
}
|
|
||||||
else { // Fallback
|
|
||||||
$args = array(
|
$args = array(
|
||||||
'post_type' => 'any',
|
'post_type' => 'any',
|
||||||
'page_id' => 20,
|
'page_id' => 20,
|
||||||
'posts_per_page' => 1,
|
'posts_per_page' => 1,
|
||||||
'ignore_sticky_posts' => 1
|
'ignore_sticky_posts' => 1
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
$wp_query->query($args);
|
$wp_query->query($args);
|
||||||
ob_start();
|
ob_start();
|
||||||
|
@ -756,18 +736,5 @@ add_shortcode( 'box', 'colorbox_shortcode' );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//E-MAIL-ADRESSEN ***************
|
|
||||||
function hide_email_shortcode( $atts , $content = null ) {
|
|
||||||
if ( ! is_email( $content ) ) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
$content = antispambot( $content );
|
|
||||||
|
|
||||||
$email_link = sprintf( 'mailto:%s', $content );
|
|
||||||
|
|
||||||
return sprintf( '<a href="%s">%s</a>', esc_url( $email_link, array( 'mailto' ) ), esc_html( $content ) );
|
|
||||||
}
|
|
||||||
add_shortcode( 'email', 'hide_email_shortcode' );
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -124,14 +124,10 @@ function kr8_wpsearch($form) {
|
||||||
/************* SOCIAL MEDIA WIDGET *****************/
|
/************* SOCIAL MEDIA WIDGET *****************/
|
||||||
class kr8_socialmedia extends WP_Widget {
|
class kr8_socialmedia extends WP_Widget {
|
||||||
|
|
||||||
public function __construct() {
|
function kr8_socialmedia() {
|
||||||
$widget_ops = array('description' => 'Links zu deinen Profilen in den Sozialen Netzwerken.');
|
$widget_ops = array('description' => 'Links zu deinen Profilen in den Sozialen Netzwerken.');
|
||||||
|
|
||||||
parent::__construct(
|
parent::WP_Widget(false, __('Social Media Links'),$widget_ops);
|
||||||
'kr8_socialmedia',
|
|
||||||
__('Social Media Links'),
|
|
||||||
$widget_ops
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function widget($args, $instance) {
|
function widget($args, $instance) {
|
||||||
|
@ -139,6 +135,7 @@ function kr8_wpsearch($form) {
|
||||||
$title = $instance['title'];
|
$title = $instance['title'];
|
||||||
$twitter = $instance['twitter'];
|
$twitter = $instance['twitter'];
|
||||||
$facebook = $instance['facebook'];
|
$facebook = $instance['facebook'];
|
||||||
|
$googleplus = $instance['googleplus'];
|
||||||
$flickr = $instance['flickr'];
|
$flickr = $instance['flickr'];
|
||||||
$instagram = $instance['instagram'];
|
$instagram = $instance['instagram'];
|
||||||
$youtube = $instance['youtube'];
|
$youtube = $instance['youtube'];
|
||||||
|
@ -169,6 +166,12 @@ function kr8_wpsearch($form) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if($googleplus != '') {
|
||||||
|
echo '<li><a href="'.$googleplus.'" title="Google+"><span class="fa fa-fw fa-google-plus"></span><span class="hidden">Google+</span></a></li>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<?php if($flickr != '') {
|
<?php if($flickr != '') {
|
||||||
echo '<li><a href="'.$flickr.'" title="Flickr"><span class="fa fa-fw fa-flickr"></span><span class="hidden">Flickr</span></a></li>';
|
echo '<li><a href="'.$flickr.'" title="Flickr"><span class="fa fa-fw fa-flickr"></span><span class="hidden">Flickr</span></a></li>';
|
||||||
}
|
}
|
||||||
|
@ -238,6 +241,7 @@ function kr8_wpsearch($form) {
|
||||||
$title = esc_attr($instance['title']);
|
$title = esc_attr($instance['title']);
|
||||||
$twitter = esc_attr($instance['twitter']);
|
$twitter = esc_attr($instance['twitter']);
|
||||||
$facebook = esc_attr($instance['facebook']);
|
$facebook = esc_attr($instance['facebook']);
|
||||||
|
$googleplus = esc_attr($instance['googleplus']);
|
||||||
$flickr = esc_attr($instance['flickr']);
|
$flickr = esc_attr($instance['flickr']);
|
||||||
$instagram = esc_attr($instance['instagram']);
|
$instagram = esc_attr($instance['instagram']);
|
||||||
$youtube = esc_attr($instance['youtube']);
|
$youtube = esc_attr($instance['youtube']);
|
||||||
|
@ -268,6 +272,11 @@ function kr8_wpsearch($form) {
|
||||||
<input type="text" name="<?php echo $this->get_field_name('facebook'); ?>" value="<?php echo $facebook; ?>" class="widefat" id="<?php echo $this->get_field_id('facebook'); ?>" />
|
<input type="text" name="<?php echo $this->get_field_name('facebook'); ?>" value="<?php echo $facebook; ?>" class="widefat" id="<?php echo $this->get_field_id('facebook'); ?>" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<label for="<?php echo $this->get_field_id('googleplus'); ?>"><?php _e('Google+ URL:'); ?></label>
|
||||||
|
<input type="text" name="<?php echo $this->get_field_name('googleplus'); ?>" value="<?php echo $googleplus; ?>" class="widefat" id="<?php echo $this->get_field_id('googleplus'); ?>" />
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<label for="<?php echo $this->get_field_id('flickr'); ?>"><?php _e('Flickr URL:'); ?></label>
|
<label for="<?php echo $this->get_field_id('flickr'); ?>"><?php _e('Flickr URL:'); ?></label>
|
||||||
<input type="text" name="<?php echo $this->get_field_name('flickr'); ?>" value="<?php echo $flickr; ?>" class="widefat" id="<?php echo $this->get_field_id('flickr'); ?>" />
|
<input type="text" name="<?php echo $this->get_field_name('flickr'); ?>" value="<?php echo $flickr; ?>" class="widefat" id="<?php echo $this->get_field_id('flickr'); ?>" />
|
||||||
|
@ -361,13 +370,13 @@ class kr8_teaserarticle extends WP_Widget
|
||||||
);
|
);
|
||||||
$instance = wp_parse_args((array)$instance, $defaults);
|
$instance = wp_parse_args((array)$instance, $defaults);
|
||||||
|
|
||||||
$title = $instance['title'] ?? '';
|
$title = $instance['title'];
|
||||||
$url = $instance['url'] ?? '';
|
$url = $instance['url'];
|
||||||
$subhead = $instance['subhead'] ?? '';
|
$subhead = $instance['subhead'];
|
||||||
$desc = $instance['desc'] ?? '';
|
$desc = $instance['desc'];
|
||||||
$image_id = $instance['image_id'] ?? 0;
|
$image_id = $instance['image_id'];
|
||||||
$image_size = $instance['image_size'] ?? 0;
|
$image_size = $instance['image_size'];
|
||||||
$image_url = $instance['image_url'] ?? '';
|
$image_url = $instance['image_url'];
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<p>
|
<p>
|
||||||
|
@ -412,7 +421,7 @@ class kr8_teaserarticle extends WP_Widget
|
||||||
|
|
||||||
|
|
||||||
foreach( $possible_sizes as $size_key => $size_label ) { ?>
|
foreach( $possible_sizes as $size_key => $size_label ) { ?>
|
||||||
<option value="<?php echo $size_key; ?>"<?php selected( $instance['image_size'] ?? 0, $size_key ); ?>><?php echo $size_label; ?></option>
|
<option value="<?php echo $size_key; ?>"<?php selected( $instance['image_size'], $size_key ); ?>><?php echo $size_label; ?></option>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
@ -588,4 +597,7 @@ add_action( 'widgets_init', function(){
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -68,8 +68,6 @@ table td{ padding: 1em 1em 1em 0;border-bottom: 1px solid #e6e6e6; }
|
||||||
pre {max-width: 100%;margin-bottom: 1.5em;padding: 1.5em;overflow: auto;background: #e6e6e6;font-size: 0.8em;line-height: 1.4;}
|
pre {max-width: 100%;margin-bottom: 1.5em;padding: 1.5em;overflow: auto;background: #e6e6e6;font-size: 0.8em;line-height: 1.4;}
|
||||||
address {background: #e4f8df;padding: 1em;margin-bottom: 1.5em;font-style:normal;}
|
address {background: #e4f8df;padding: 1em;margin-bottom: 1.5em;font-style:normal;}
|
||||||
|
|
||||||
|
|
||||||
.wp-block-button__link { display: inline-block; border-radius: 0px; background: #e6007e; color: #fff; padding: 0.5em; font-size:100%; font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;}
|
|
||||||
a span.button, span.button a {display: inline-block; background: #61ae4d; color: #fff; padding: 0.5em;font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;border-radius: 0.3em;}
|
a span.button, span.button a {display: inline-block; background: #61ae4d; color: #fff; padding: 0.5em;font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;border-radius: 0.3em;}
|
||||||
|
|
||||||
img.rund {border-radius: 50%;border: 5px solid #f6f6f6;width: 150px;height:auto;}
|
img.rund {border-radius: 50%;border: 5px solid #f6f6f6;width: 150px;height:auto;}
|
|
@ -112,6 +112,7 @@ a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Arvo Gruen';
|
font-family: 'Arvo Gruen';
|
||||||
src: local('Arvo Gruen'), local('ArvoGruen'), url('../fonts/arvo_green.woff') format('woff');
|
src: local('Arvo Gruen'), local('ArvoGruen'), url('../fonts/arvo_green.woff') format('woff');
|
||||||
|
@ -119,6 +120,12 @@ a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'BereitBold';
|
||||||
|
src: local('Bereit Bold Oblique'), local('BereitBold'), url('../fonts/BereitBold-Oblique.woff') format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'PT Sans';
|
font-family: 'PT Sans';
|
||||||
|
@ -184,10 +191,9 @@ a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
|
||||||
a:hover {color:#e6007e;text-decoration: underline;}
|
a:hover {color:#e6007e;text-decoration: underline;}
|
||||||
a:visited {color:#e6007e;}
|
a:visited {color:#e6007e;}
|
||||||
|
|
||||||
.wp-block-button__link { display: inline-block; border-radius: 0px; background: #e6007e; color: #fff; padding: 0.5em; font-size:100%; font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;}
|
|
||||||
a span.button, span.button a {display: inline-block; background: #e6007e; color: #fff; padding: 0.5em;font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;}
|
a span.button, span.button a {display: inline-block; background: #e6007e; color: #fff; padding: 0.5em;font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;}
|
||||||
|
|
||||||
a.wp-block-button__link:hover, a:hover span.button, span.button a:hover {background: #46962b;text-decoration: none;
|
a:hover span.button, span.button a:hover {background: #46962b;text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
|
@ -2010,4 +2016,3 @@ body {}
|
||||||
h5 {font-size:1.1em;}
|
h5 {font-size:1.1em;}
|
||||||
h6 {font-size:1em;}
|
h6 {font-size:1em;}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -184,10 +184,9 @@ a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
|
||||||
a:hover {color:#e6007e;text-decoration: underline;}
|
a:hover {color:#e6007e;text-decoration: underline;}
|
||||||
a:visited {color:#e6007e;}
|
a:visited {color:#e6007e;}
|
||||||
|
|
||||||
.wp-block-button__link { display: inline-block; border-radius: 0px; background: #e6007e; color: #fff; padding: 0.5em; font-size:100%; font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;}
|
|
||||||
a span.button, span.button a {display: inline-block; background: #e6007e; color: #fff; padding: 0.5em;font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;}
|
a span.button, span.button a {display: inline-block; background: #e6007e; color: #fff; padding: 0.5em;font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;}
|
||||||
|
|
||||||
a.wp-block-button__link:hover, a:hover span.button, span.button a:hover {background: #46962b;text-decoration: none;
|
a:hover span.button, span.button a:hover {background: #46962b;text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
|
|
BIN
lib/fonts/BereitBold-Oblique.otf
Executable file
BIN
lib/fonts/BereitBold-Oblique.woff
Executable file
BIN
lib/fonts/BereitBold-Oblique.woff2
Executable file
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 25 KiB |
|
@ -3,68 +3,36 @@
|
||||||
Template Name: Startseite - Kampagnen
|
Template Name: Startseite - Kampagnen
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php get_header(); ?>
|
<?php get_header(); ?>
|
||||||
|
|
||||||
|
|
||||||
<?php if ( has_post_thumbnail() ):
|
<?php if ( has_post_thumbnail() ):
|
||||||
|
|
||||||
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );
|
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );
|
||||||
$url = $thumb['0']; ?>
|
$url = $thumb['0'];
|
||||||
|
?>
|
||||||
|
|
||||||
<div class="fullpage parallax" style="background-image:url(<?php echo $url ?>);">
|
<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="introbg parallax fullpage" style="background-image:url(<?php echo $url ?>);"></div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="story-intro">
|
<div class="story-intro">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<h1><?php the_title(); ?></h1>
|
<h1><?php the_title(); ?></h1>
|
||||||
<p><?php the_excerpt(); ?></p>
|
<p><?php the_excerpt(); ?></p>
|
||||||
|
|
||||||
|
|
||||||
<?php $cta = get_post_meta( $post->ID, 'kr8mb_page_campaign_cta', true );
|
<?php $cta = get_post_meta( $post->ID, 'kr8mb_page_campaign_cta', true );
|
||||||
if (! empty ($cta )){ ?><p class="cta"><?php echo $cta; ?></p><?php } ?>
|
if (! empty ($cta )){ ?><p class="cta"><?php echo $cta; ?></p><?php } ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
||||||
<div class="inner wrap clearfix">
|
<div class="inner wrap clearfix">
|
||||||
|
|
||||||
|
<div id="getinvolved">
|
||||||
<div id="donatenow" class="clearfix">
|
<h2>Werde aktiv</h2>
|
||||||
<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>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="getmore">
|
|
||||||
<h2>Erfahre mehr</h2>
|
|
||||||
|
|
||||||
<div class="sidebar clearfix involvebar" role="complementary">
|
<div class="sidebar clearfix involvebar" role="complementary">
|
||||||
<?php dynamic_sidebar('campaigntwo'); ?>
|
<?php dynamic_sidebar('campaignone'); ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
<div id="teaser">
|
||||||
|
|
||||||
|
|
||||||
</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="inner wrap clearfix sylvia">
|
||||||
<div class="josephbeuys">
|
<div class="josephbeuys">
|
||||||
<?php dynamic_sidebar('hometeaser'); ?>
|
<?php dynamic_sidebar('hometeaser'); ?>
|
||||||
|
@ -73,31 +41,12 @@ Template Name: Startseite - Kampagnen
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<section id="content"><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 class="ninecol first clearfix" role="main">
|
<div class="ninecol first clearfix" role="main">
|
||||||
<div class="responsive-tabs home-tabs">
|
<div class="responsive-tabs home-tabs">
|
||||||
|
|
||||||
<h2><span>Aktuelles</span></h2>
|
<h2><span>Aktuelles</span></h2>
|
||||||
<div class="tab clearfix">
|
<div class="tab clearfix">
|
||||||
|
|
||||||
|
|
||||||
<?php wp_reset_query(); ?>
|
<?php wp_reset_query(); ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$postsperpage = get_option('posts_per_page');
|
$postsperpage = get_option('posts_per_page');
|
||||||
$args = array(
|
$args = array(
|
||||||
|
@ -108,56 +57,57 @@ Template Name: Startseite - Kampagnen
|
||||||
);
|
);
|
||||||
query_posts($args);
|
query_posts($args);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
<?php get_template_part( 'content-list', get_post_format() ); ?>
|
<?php get_template_part( 'content-list', get_post_format() ); ?>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|
||||||
|
|
||||||
<p><span class="button"><a href="archiv">Alle Nachrichten im Archiv »</a></span></p>
|
<p><span class="button"><a href="archiv">Alle Nachrichten im Archiv »</a></span></p>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<h2><span>Termine</span></h2>
|
|
||||||
|
<!-- <h2><span>Termine</span></h2>
|
||||||
<div class="tab clearfix">
|
<div class="tab clearfix">
|
||||||
|
<?php echo do_shortcode('[ai1ec view="agenda" events_limit="5"]'); ?>
|
||||||
<?php echo do_shortcode('[wpcalendar anzahl="5" kat="kampagne"]'); ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
<h2><span>Presse</span></h2>
|
<h2><span>Presse</span></h2>
|
||||||
<div class="tab clearfix">
|
<div class="tab clearfix">
|
||||||
|
|
||||||
<?php wp_reset_query(); ?>
|
<?php wp_reset_query(); ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$postsperpage = get_option('posts_per_page');
|
$postsperpage = get_option('posts_per_page');
|
||||||
query_posts('posts_per_page=7&ignore_sticky_posts=1&category_name=presse');
|
query_posts('posts_per_page=7&ignore_sticky_posts=1&category_name=presse');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
<?php get_template_part( 'content-list-small', get_post_format() ); ?>
|
<?php get_template_part( 'content-list-small', get_post_format() ); ?>
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<script>jQuery(document).ready(function() { RESPONSIVEUI.responsiveTabs(); }) </script>
|
<script>jQuery(document).ready(function() { RESPONSIVEUI.responsiveTabs(); }) </script>
|
||||||
|
|
||||||
<div id="sidebar1" class="sidebar threecol last clearfix homebar" role="complementary">
|
<div id="sidebar1" class="sidebar threecol last clearfix homebar" role="complementary">
|
||||||
<?php dynamic_sidebar('hometwo'); ?>
|
<?php dynamic_sidebar('hometwo'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<section id="content">
|
||||||
|
|
||||||
</div></section>
|
<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(); ?>
|
<?php get_footer(); ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ Template Name: Listenansicht
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php endwhile; endif; ?>
|
<?php endwhile; ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
redaktionshandbuch_gruenenrw.pdf
Normal file
10
style.css
|
@ -1,10 +1,10 @@
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
Theme Name: Joseph knows best
|
Theme Name: Joseph knows best
|
||||||
Theme URI: https://git.verdigado.com/NB-Public/joseph-knows-best
|
Theme URI: http://www.gruene-nrw.de
|
||||||
Description: Aufwändiges Wordpress-Theme für den Einsatz von größeren Websites, z.B: bei Landesverbänden. Ursprünglich von http://www.kre8tiv.de entwickelt.
|
Description: Aufwändiges Wordpress-Theme für den EInsatz von größeren Websites, z.B: bei Landesverbänden.
|
||||||
Author: Benjamin Jopen, Erwin Behner
|
Author: Benjamin Jopen
|
||||||
Author URI:
|
Author URI: http://www.kre8tiv.de
|
||||||
Version: 2.0.8
|
Version: 2.0.6
|
||||||
Tags: two-columns, green, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, custom-menu, theme-options, featured-images, storytelling
|
Tags: 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 v2 or later
|
License: GNU General Public License v2 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|