This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Change the following Part in your functions.php! --- Ari Social Links Widget */ | |
class Ari_SocialLinks_Widget extends WP_Widget { | |
function Ari_SocialLinks_Widget() { | |
$widget_ops = array('classname' => 'widget_social_links', 'description' => 'A list with your social profile links' ); | |
$this->WP_Widget('social_links', 'Ari Social Links', $widget_ops); | |
} | |
function widget($args, $instance) { | |
extract($args, EXTR_SKIP); | |
echo $before_widget; | |
$title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']); |