the_share_links();
}
//
// Shows the links that are clicked in the admin screen.
//
function my_share_links($args = array() ){
$defaults = array('echo' => '0',
'id'=> 'self',
'title'=> 'self',
);
$args = wp_parse_args( $args, $defaults );
$output = new ShareAndFollow();
$output->my_share_links($args);
}
// links made for wp ecommerce. not that it is a good shop to be honest, with such poor support and upgrades.
function my_wp_ecommerce_share_links(){
ShareAndFollow::my_wp_ecommerce_share_links();
}
function my_follow_links(){
$output = new ShareAndFollow();
$output->my_follow_links();
}
//
// shows interactive links needs function arguments
//
function show_interactive_links($args=''){
$defaults= array(
'facebook'=>'yes',
'twitter'=>'yes',
'stumble'=>'no',
'style'=>'box_count',
'facebook_size'=>'65',
'twitter_size'=>'65',
'stumble_size'=>'65',
);
$args = wp_parse_args( $args, $defaults );
extract( $args, EXTR_SKIP );
$perma=get_permalink();
$postid = get_the_ID();
$title=get_the_title();
switch ($style){
case 'box_count':
$tweet_size = '65';
$facebook_size = '65';
$stumble_size = '65';
$tweet_look = 'vertical';
$like_look = 'box_count';
$stumble_look = '5';
break;
case 'side_count':
$tweet_size = '100';
$facebook_size = '100';
$stumble_size = '100';
$tweet_look = 'horizontal';
$like_look = 'button_count';
$stumble_look = '1';
break;
}
if($twitter=='yes'){
$html.= ShareAndFollow::doTweetiFrame($postid, $perma, '', $title, $tweet_look, $tweet_size, $faces='');
}
if($facebook=="yes"){
$html.= ShareAndFollow::doLikeiFrame($postid, $perma, $like_look,$facebook_size);
}
if($stumble=='yes'){
$html.= ShareAndFollow::doStumbleScript($postid, $perma, $stumble_look, $size,$stumble_size );
}
echo $html;
}
//
// returns html share links as HTML
//
function get_the_share_links(){
$output = new ShareAndFollow();
$output->get_the_share_links();
}
//
//show social links function, complete function.
//
function social_links($args){
$output = new ShareAndFollow();
$output->social_links($args);
}
//
// the follow links setup
//
function follow_links($args){
$output = new ShareAndFollow();
$output->follow_links($args);
}
?>