' . do_shortcode($content) . '';
}
add_shortcode('clear','skt_clear');
/*********skt_container class
----------------------------------*********/
function skt_container( $atts, $content = null ) {
$content = preg_replace('#
#', '', $content);
return '
' . do_shortcode($content) . '
';
}
add_shortcode('page_container','skt_container');
/*********one_half
-----------------------------*********/
function skt_one_half( $atts, $content = null ) {
return '' . do_shortcode($content) . '
';
}
add_shortcode('one_half','skt_one_half');
/*********one_half last
---------------------------------*********/
function skt_one_half_last( $atts, $content = null ) {
return '' . do_shortcode($content) . '
';
}
add_shortcode('one_half_last','skt_one_half_last');
/**********skt_one_third********/
function skt_one_third( $atts, $content = null ) {
return '' . do_shortcode($content) . '
';
}
add_shortcode('one_third','skt_one_third');
/*********skt_one_third last*********/
function skt_one_third_last( $atts, $content = null ) {
return '' . do_shortcode($content) . '
';
}
add_shortcode('one_third_last','skt_one_third_last');
/*********skt_one_fourth*********/
function skt_one_fourth( $atts, $content = null ) {
return '' . do_shortcode($content) . '
';
}
add_shortcode('one_fourth','skt_one_fourth');
/*********skt_one_fourth last*********/
function skt_one_fourth_last( $atts, $content = null ) {
return '' . do_shortcode($content) . '
';
}
add_shortcode('one_fourth_last','skt_one_fourth_last');
/*********skt_two_third*********/
function skt_two_third( $atts, $content = null ) {
return '' . do_shortcode($content) . '
';
}
add_shortcode('two_third','skt_two_third');
/*********skt_two_third last*********/
function skt_two_third_last( $atts, $content = null ) {
return '' . do_shortcode($content) . '
';
}
add_shortcode('two_third_last','skt_two_third_last');
/*********skt_three_fourth*********/
function skt_three_fourth( $atts, $content = null ) {
return '' . do_shortcode($content) . '
';
}
add_shortcode('three_fourth','skt_three_fourth');
/*********skt_three_fourth last*********/
function skt_three_fourth_last( $atts, $content = null ) {
return '' . do_shortcode($content) . '
';
}
add_shortcode('three_fourth_last','skt_three_fourth_last');
/********* skt_linkbutton *********/
function skt_linkbutton( $atts, $content = null ) {
extract(shortcode_atts(array(
'link' => '#',
'target' => '',
'size' => '',
'align' => '',
'bgcolor'=>'',
'color'=>''
), $atts));
$align = ($align) ? ' align'.$align : '';
$size = ($size) ? ' '.$size.'-button' : '';
$target = ($target == 'blank') ? ' target="_blank"' : '';
$bgcolor = ($bgcolor) ? ' '.$bgcolor : ' ';
$color = ($color) ? ' '.$color : ' ';
$out = '' .do_shortcode($content). '';
return $out;
}
add_shortcode('link_button', 'skt_linkbutton');
/*********Share bar shortcode****************/
function skt_share($atts, $content=null){
extract(shortcode_atts( array('type' => ''), $atts));
?>
";
return $return;
}
add_shortcode('share_icon', 'skt_share');