V2.0.7 #3
7
README
|
@ -1,11 +1,10 @@
|
|||
=======================================
|
||||
Joseph knows best
|
||||
=======================================
|
||||
Komplexes Wordpress-Theme für GRÜNE Landesverbände
|
||||
http://gruene-nrw.de
|
||||
Komplexes Wordpress-Theme insbesondere für GRÜNE Landesverbände
|
||||
|
||||
Komplexes Wordpress-Theme, das auf gruene-nrw.de zum Einsatz kommt. Auch hervorragend für andere Landesverbände nutzbar, bietet viele Funktionen.
|
||||
Komplexes Wordpress-Theme, das für gruene-nrw.de entwickelt wurde. Auch hervorragend für andere Landesverbände nutzbar, bietet viele Funktionen.
|
||||
|
||||
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!
|
||||
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.
|
||||
|
||||
Einige Features: Story-Telling/Scrolly-Telling, eigene Post-Types für Köpfe & Gliederungen, mobile First, etc.
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 );
|
||||
?>
|
||||
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 );
|
||||
?>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
BIN
favicon.ico
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
favicon.png
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 1.5 KiB |
|
@ -746,7 +746,6 @@ 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="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="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>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -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'] ) )
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
function kr8_sitemap( $atts, $content = null ) {
|
||||
|
||||
extract(shortcode_atts(array(
|
||||
'sort' => 'post_name',
|
||||
'aussehen' => '',
|
||||
'parent' => '',
|
||||
'ids' => '',
|
||||
|
@ -20,7 +21,7 @@ function kr8_sitemap( $atts, $content = null ) {
|
|||
'title_li' => '',
|
||||
'parent' => $parent,
|
||||
'sort_order' => 'ASC',
|
||||
'sort_column' => 'post_name'
|
||||
'sort_column' => $sort
|
||||
|
||||
);
|
||||
|
||||
|
@ -39,7 +40,7 @@ function kr8_sitemap( $atts, $content = null ) {
|
|||
'title_li' => '',
|
||||
'parent' => $the_id,
|
||||
'sort_order' => 'ASC',
|
||||
'sort_column' => 'post_name'
|
||||
'sort_column' => $sort
|
||||
);
|
||||
|
||||
$smitem = get_pages( $smargs );
|
||||
|
@ -131,32 +132,51 @@ function beitraege_lists($atts, $content = null) {
|
|||
extract(shortcode_atts(array(
|
||||
"ids" => '',
|
||||
'aussehen' => '',
|
||||
'kategorien' => '',
|
||||
'anzahl' => '-1',
|
||||
'suchfeld' => 'term_id',
|
||||
), $atts));
|
||||
global $wp_query,$paged,$post;
|
||||
$temp = $wp_query;
|
||||
$wp_query= null;
|
||||
$wp_query = new WP_Query();
|
||||
$ids = explode(',', $ids);
|
||||
if(!empty($ids)){
|
||||
if(!empty($ids)){ // Einzelne Beiträge
|
||||
$ids = explode(',', $ids);
|
||||
|
||||
$args = array(
|
||||
'post_type' => 'any',
|
||||
//'post__in' => array( $ids ),
|
||||
'post__in' => $ids ,
|
||||
'orderby' => 'post__in',
|
||||
'posts_per_page' => -1,
|
||||
'ignore_sticky_posts' => 1
|
||||
'post_type' => 'any',
|
||||
//'post__in' => array( $ids ),
|
||||
'post__in' => $ids ,
|
||||
'orderby' => 'post__in',
|
||||
'posts_per_page' => -1,
|
||||
'ignore_sticky_posts' => 1
|
||||
);
|
||||
}
|
||||
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(
|
||||
'post_type' => 'any',
|
||||
'page_id' => 20,
|
||||
'posts_per_page' => 1,
|
||||
'ignore_sticky_posts' => 1
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
$wp_query->query($args);
|
||||
ob_start();
|
||||
|
@ -736,5 +756,18 @@ 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' );
|
||||
|
||||
?>
|
||||
|
|
|
@ -135,7 +135,6 @@ function kr8_wpsearch($form) {
|
|||
$title = $instance['title'];
|
||||
$twitter = $instance['twitter'];
|
||||
$facebook = $instance['facebook'];
|
||||
$googleplus = $instance['googleplus'];
|
||||
$flickr = $instance['flickr'];
|
||||
$instagram = $instance['instagram'];
|
||||
$youtube = $instance['youtube'];
|
||||
|
@ -166,12 +165,6 @@ 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 != '') {
|
||||
echo '<li><a href="'.$flickr.'" title="Flickr"><span class="fa fa-fw fa-flickr"></span><span class="hidden">Flickr</span></a></li>';
|
||||
}
|
||||
|
@ -241,7 +234,6 @@ function kr8_wpsearch($form) {
|
|||
$title = esc_attr($instance['title']);
|
||||
$twitter = esc_attr($instance['twitter']);
|
||||
$facebook = esc_attr($instance['facebook']);
|
||||
$googleplus = esc_attr($instance['googleplus']);
|
||||
$flickr = esc_attr($instance['flickr']);
|
||||
$instagram = esc_attr($instance['instagram']);
|
||||
$youtube = esc_attr($instance['youtube']);
|
||||
|
@ -272,11 +264,6 @@ 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'); ?>" />
|
||||
</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>
|
||||
<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'); ?>" />
|
||||
|
@ -597,7 +584,4 @@ add_action( 'widgets_init', function(){
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
|
@ -68,6 +68,8 @@ 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;}
|
|
@ -184,9 +184,10 @@ a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
|
|||
a:hover {color:#e6007e;text-decoration: underline;}
|
||||
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:hover span.button, span.button a:hover {background: #46962b;text-decoration: none;
|
||||
a.wp-block-button__link:hover, a:hover span.button, span.button a:hover {background: #46962b;text-decoration: none;
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
|
|
|
@ -184,9 +184,10 @@ a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
|
|||
a:hover {color:#e6007e;text-decoration: underline;}
|
||||
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:hover span.button, span.button a:hover {background: #46962b;text-decoration: none;
|
||||
a.wp-block-button__link:hover, a:hover span.button, span.button a:hover {background: #46962b;text-decoration: none;
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
|
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 12 KiB |
|
@ -80,7 +80,7 @@ Template Name: Listenansicht
|
|||
|
||||
|
||||
|
||||
<?php endwhile; ?>
|
||||
<?php endwhile; endif; ?>
|
||||
|
||||
|
||||
|
||||
|
|
BIN
redaktionshandbuch_jkb.pdf
Normal file
10
style.css
|
@ -1,10 +1,10 @@
|
|||
/******************************************************************
|
||||
Theme Name: 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.
|
||||
Author: Benjamin Jopen
|
||||
Author URI: http://www.kre8tiv.de
|
||||
Version: 2.0.6
|
||||
Theme URI: https://git.verdigado.com/NB-Public/joseph-knows-best
|
||||
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.
|
||||
Author: Benjamin Jopen, Erwin Behner
|
||||
Author URI:
|
||||
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
|
||||
|
|