This commit is contained in:
Willi Junga 2021-06-22 20:59:03 +02:00
parent 0e7845485e
commit fb0664a26e
Signed by: willi.junga
GPG Key ID: 01F0DC7C8D1DCB43
24 changed files with 5054 additions and 4801 deletions

View File

@ -5,9 +5,11 @@
<?php
$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 );
$facebook = get_post_meta( $post->ID, 'kr8mb_gli_contact_facebook', true );
$twitter = get_post_meta( $post->ID, 'kr8mb_gli_contact_twitter', true );
$instagram = get_post_meta( $post->ID, 'kr8mb_gli_contact_instagram', true );
?>
@ -23,6 +25,7 @@
<?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 ($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>

View File

@ -5,9 +5,11 @@
<?php
$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 );
$facebook = get_post_meta( $post->ID, 'kr8mb_gli_contact_facebook', true );
$twitter = get_post_meta( $post->ID, 'kr8mb_gli_contact_twitter', true );
$instagram = get_post_meta( $post->ID, 'kr8mb_gli_contact_instagram', true );
?>
@ -21,8 +23,9 @@
<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 ($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="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="mailto:<?php echo $twitter; ?>" title="Zum Twitter-Acccount von <?php the_title(); ?>"><i class="fa fa-twitter"></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 ($instagram )){ ?><a href="<?php echo $instagram; ?>" title="Zum Facebook-Profil von <?php the_title(); ?>"><i class="fa fa-instagram"></i></a><?php } ?>
</p>

View File

@ -6,9 +6,11 @@
<?php
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', 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 );
$facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', 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 );
$details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true );
?>
@ -26,6 +28,7 @@
<?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 ($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 } ?>
</p>

View File

@ -6,6 +6,7 @@
<?php
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', 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 );
?>

View File

@ -6,6 +6,7 @@
<?php
$nr = get_post_meta( $post->ID, 'kr8mb_pers_pos_listenplatz', 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 );
$facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', true );
$twitter = get_post_meta( $post->ID, 'kr8mb_pers_contact_twitter', true );

View File

@ -6,9 +6,11 @@
<?php
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', 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 );
$facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', 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 );
$details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true );
?>
@ -27,6 +29,7 @@
<?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 ($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 } ?>
</p>

View File

@ -6,6 +6,7 @@
<?php
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', 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 );
?>

View File

@ -6,9 +6,11 @@
<?php
$amt = get_post_meta( $post->ID, 'kr8mb_pers_pos_amt', 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 );
$facebook = get_post_meta( $post->ID, 'kr8mb_pers_contact_facebook', 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 );
$details = get_post_meta( $post->ID, 'kr8mb_pers_pos_details', true );
?>
@ -26,6 +28,7 @@
<?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 ($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 } ?>
</p>

View File

@ -47,6 +47,7 @@
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 );
$email = antispambot($email);
if (! empty ($email )){ ?><a href="mailto:<?php echo $email; ?>"><span class="fa fa-envelope"></span></a><?php } ?>
@ -56,6 +57,9 @@
<?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 } ?>
<?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>

View File

@ -50,6 +50,9 @@
<?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 } ?>
<?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>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -431,6 +431,7 @@ function kr8mb_gli_contact_cb($post)
$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] ) : '';
$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] ) : '';
$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] ) : '';
@ -455,6 +456,12 @@ function kr8mb_gli_contact_cb($post)
<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>
</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>
<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>
@ -497,6 +504,8 @@ function kr8mb_gli_contact_save( $post_id )
update_post_meta( $post_id, 'kr8mb_gli_contact_facebook', wp_kses( $_POST['kr8mb_gli_contact_facebook'], $allowed ) );
if( isset( $_POST['kr8mb_gli_contact_twitter'] ) )
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'] ) )
update_post_meta( $post_id, 'kr8mb_gli_contact_telefon', wp_kses( $_POST['kr8mb_gli_contact_telefon'], $allowed ) );
if( isset( $_POST['kr8mb_gli_contact_anschrift'] ) )

File diff suppressed because it is too large Load Diff

View File

@ -1,73 +1,75 @@
@import "font-awesome.min.css";
@font-face {
font-family: 'Arvo Regular';
src: local('Arvo Regular'), local('ArvoRegular'), url('../fonts/arvo_regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Arvo Gruen';
src: local('Arvo Gruen'), local('ArvoGruen'), url('../fonts/arvo_green.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'PT Sans';
src: local('PT Sans'), local('PTSans-Regular'), url('../fonts/ptsans-regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'PT Sans Bold';
src: local('PT Sans Bold'), local('PTSans-Bold'), url('../fonts/ptsans-bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}
body {font-family: 'PT Sans', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-size: 100%;line-height: 1.5;color: #333;}
blockquote {padding: 0;text-indent: 0em;color: #46962b;background: ;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: 500; margin: 2em 4em;font-style: italic; border-bottom: 3px solid #46962b;}
strong, b {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;}
h1,h2,h3,h4,h5,h6 {line-height: 1.4em;margin:0 0 0.3em 0;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;color: #0a350a;text-align: left;}
h1 {font-size:1.8em;margin-bottom:0em;text-transform: uppercase; font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;color:red;}
h2 {font-size:1.6em;}
h3 {font-size:1.5em;color: #5dae59;}
h4 {font-size:1.3em;}
h5 {font-size:1.1em;}
h6 {font-size:1em;}
.kontrast {color:#e6007e!important;}
a {color:#61ae4d;text-decoration: none;}
a:hover {color:#61ae4d;text-decoration: underline;}
a:visited {color:#61ae4d;}
p.intro {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;font-size:1.1em;}
hr {border: 0; background: #e6e6e6; height: 3px;width: 100%;margin: 2.5em 0;}
table {margin-bottom: 1.5em; }
table th {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal; padding: 1em 1em 1em 0;border-bottom: 2px solid #0a321e;color: #0a321e; }
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;}
address {background: #e4f8df;padding: 1em;margin-bottom: 1.5em;font-style:normal;}
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;}
@import "font-awesome.min.css";
@font-face {
font-family: 'Arvo Regular';
src: local('Arvo Regular'), local('ArvoRegular'), url('../fonts/arvo_regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Arvo Gruen';
src: local('Arvo Gruen'), local('ArvoGruen'), url('../fonts/arvo_green.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'PT Sans';
src: local('PT Sans'), local('PTSans-Regular'), url('../fonts/ptsans-regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'PT Sans Bold';
src: local('PT Sans Bold'), local('PTSans-Bold'), url('../fonts/ptsans-bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}
body {font-family: 'PT Sans', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-size: 100%;line-height: 1.5;color: #333;}
blockquote {padding: 0;text-indent: 0em;color: #46962b;background: ;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: 500; margin: 2em 4em;font-style: italic; border-bottom: 3px solid #46962b;}
strong, b {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;}
h1,h2,h3,h4,h5,h6 {line-height: 1.4em;margin:0 0 0.3em 0;font-family: 'Arvo Regular', 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;color: #0a350a;text-align: left;}
h1 {font-size:1.8em;margin-bottom:0em;text-transform: uppercase; font-family: 'Arvo Gruen', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;color:red;}
h2 {font-size:1.6em;}
h3 {font-size:1.5em;color: #5dae59;}
h4 {font-size:1.3em;}
h5 {font-size:1.1em;}
h6 {font-size:1em;}
.kontrast {color:#e6007e!important;}
a {color:#61ae4d;text-decoration: none;}
a:hover {color:#61ae4d;text-decoration: underline;}
a:visited {color:#61ae4d;}
p.intro {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal;font-size:1.1em;}
hr {border: 0; background: #e6e6e6; height: 3px;width: 100%;margin: 2.5em 0;}
table {margin-bottom: 1.5em; }
table th {font-family: 'PT Sans Bold', Trebuchet, Helvetica Neue, Helvetica, Arial, Verdana, sans-serif;font-weight: normal; padding: 1em 1em 1em 0;border-bottom: 2px solid #0a321e;color: #0a321e; }
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;}
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;}
img.rund {border-radius: 50%;border: 5px solid #f6f6f6;width: 150px;height:auto;}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 12 KiB

91
page-listview-204.php Normal file
View File

@ -0,0 +1,91 @@
<?php
/*
Template Name: Listenansicht
*/
?>
<?php get_header(); ?>
<section id="content"><div class="inner wrap clearfix">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div class="archive-title ninecol first">
<h1><?php the_title(); ?></h1>
<?php the_excerpt(); ?>
</div>
<?php if ( has_post_thumbnail() ) {
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );
$url = $thumb['0']; ?>
<div class="introbg background parallax-window" id="start" style="background-image:url(<?php echo $url ?>);" data-parallax="scroll" data-image-src="<?php echo $url ?>"></div>
<div id="single-intro" style="background-image:url(<?php echo $url ?>);"></div>
<?php } else { ?>
<? } ?>
<div id="main" class="ninecol first clearfix" role="main">
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix postsingle'); ?> role="article">
<?php if ( has_post_thumbnail() ): ?>
<div class="postimg">
<?php $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );
$url = $thumb['0']; ?>
<?php
$imgexc = get_post(get_post_thumbnail_id())->post_excerpt;
if ($imgexc != "") {
?><p class="wp-caption-text"><a href="<?php echo $url ?>" class="fancybox" title="<?php echo $imgexc;?>"><i class="fa fa-picture-o"></i> <?php echo $imgexc;?></a></p><?php
} ?>
</div>
<?php endif; ?>
<section class="entry-content clearfix">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Seiten:', 'kr8' ), 'after' => '</div>' ) ); ?>
</section>
</article>
<?php comments_template(); ?>
</div>
<?php endwhile; ?>
<?php get_sidebar(); ?>
</div></section>
<?php get_footer(); ?>

91
page-listview-206.php Normal file
View File

@ -0,0 +1,91 @@
<?php
/*
Template Name: Listenansicht
*/
?>
<?php get_header(); ?>
<section id="content"><div class="inner wrap clearfix">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="archive-title ninecol first">
<h1><?php the_title(); ?></h1>
<?php the_excerpt(); ?>
</div>
<?php if ( has_post_thumbnail() ) {
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );
$url = $thumb['0']; ?>
<div class="introbg background parallax-window" id="start" style="background-image:url(<?php echo $url ?>);" data-parallax="scroll" data-image-src="<?php echo $url ?>"></div>
<div id="single-intro" style="background-image:url(<?php echo $url ?>);"></div>
<?php } else { ?>
<?php } ?>
<div id="main" class="ninecol first clearfix" role="main">
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix postsingle'); ?> role="article">
<?php if ( has_post_thumbnail() ): ?>
<div class="postimg">
<?php $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );
$url = $thumb['0']; ?>
<?php
$imgexc = get_post(get_post_thumbnail_id())->post_excerpt;
if ($imgexc != "") {
?><p class="wp-caption-text"><a href="<?php echo $url ?>" class="fancybox" title="<?php echo $imgexc;?>"><i class="fa fa-picture-o"></i> <?php echo $imgexc;?></a></p><?php
} ?>
</div>
<?php endif; ?>
<section class="entry-content clearfix">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Seiten:', 'kr8' ), 'after' => '</div>' ) ); ?>
</section>
</article>
<?php comments_template(); ?>
</div>
<?php endwhile; ?>
<?php get_sidebar(); ?>
</div></section>
<?php get_footer(); ?>

BIN
redaktionshandbuch_jkb.odt Normal file

Binary file not shown.

BIN
redaktionshandbuch_jkb.pdf Normal file

Binary file not shown.

View File

@ -4,7 +4,7 @@ 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.
Author: Benjamin Jopen
Author URI: http://www.kre8tiv.de
Version: 2.0.6
Version: 2.0.7
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 URI: http://www.gnu.org/licenses/gpl-2.0.html