Googleplus entfernt (Vorschlag von Florian Bieser)
This commit is contained in:
Erwin Behner 2021-06-23 19:12:47 +02:00
parent 8ec2c5e4ac
commit 463fb2bbfc
1 changed files with 0 additions and 16 deletions

View File

@ -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(){
?>