Merge pull request 'Googleplus entfernen' (#1) from erwin.behner-patch-1 into devel-207
Reviewed-on: #1
This commit is contained in:
commit
727ce9f157
|
@ -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="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>
|
||||||
|
|
|
@ -135,7 +135,6 @@ 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'];
|
||||||
|
@ -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 != '') {
|
<?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>';
|
||||||
}
|
}
|
||||||
|
@ -241,7 +234,6 @@ 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']);
|
||||||
|
@ -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'); ?>" />
|
<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'); ?>" />
|
||||||
|
@ -597,7 +584,4 @@ add_action( 'widgets_init', function(){
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue