Guten Abend,
Ich suche einen Programmiere, der mir meine Sozial Media Buttons umschreibt damit sich der Button "5 gute Gründe" nicht in einem neuen Fenster öffnet sondern genau so funktioniert wie die anderen Links auf der Homepage (Startseite, Galerie, Impressum etc.)
Vielen Dank für eure Hilfe
Code
//Display social links
function unite_social(){
$output = ‘<div id=”social” class=”social”>';
$output .= unite_social_item(of_get_option(‘social_facebook’), ‘Facebook’, ‘facebook’);
$output .= unite_social_item(of_get_option(‘social_twitter’), ‘E-Mail’, ‘twitter’);
$output .= unite_social_item(of_get_option(‘social_google’), ‘5 gute Gründe’, ‘google-plus’);
$output .= unite_social_item(of_get_option(‘social_youtube’), ‘YouTube’, ‘youtube’);
$output .= unite_social_item(of_get_option(‘social_linkedin’), ‘LinkedIn’, ‘linkedin’);
$output .= unite_social_item(of_get_option(‘social_pinterest’), ‘Pinterest’, ‘pinterest’);
$output .= unite_social_item(of_get_option(‘social_feed’), ‘Feed’, ‘rss’);
$output .= unite_social_item(of_get_option(‘social_tumblr’), ‘Tumblr’, ‘tumblr’);
$output .= unite_social_item(of_get_option(‘social_flickr’), ‘Flickr’, ‘flickr’);
$output .= unite_social_item(of_get_option(‘social_instagram’), ‘Instagram’, ‘instagram’);
$output .= unite_social_item(of_get_option(‘social_dribbble’), ‘Dribbble’, ‘dribbble’);
$output .= unite_social_item(of_get_option(‘social_skype’), ‘Skype’, ‘skype’);
$output .= ‘</div>';
echo $output;
} function unite_social_item($url, $title = ”, $icon = ”){
if($url != ”):
$output = ‘[URL="http://colorlib.com/wp/forums/topic/sozial-media-button/%27.$url.%27"]‘;
if($icon != ”) $output .= ‘<span class=”social_icon fa fa-‘.$icon.'” alt=’.$icon.’></span>';
$output .= ‘[/URL]‘;
return $output;
endif;
}
Alles anzeigen