'Full',
'one_half' => '1/2',
'one_third' => '1/3',
'one_fourth' => '1/4',
'one_fifth' => '1/5',
'one_sixth' => '1/6',
'two_thirds' => '2/3',
'three_fourths' => '3/4',
'two_fifths' => '2/5',
'three_fifths' => '3/5',
'four_fifths' => '4/5',
'five_sixths' => '5/6',
);
$wpv_slider_shortcode_styles = array(
'gallery' => __('Gallery', 'wpv') ,
'showcase' => __('Showcase', 'wpv') ,
);
function po_shortcode_slider_width($width, $style) {
if($style == 'showcase') {
$width -= 192;
}
return $width;
}
add_filter('wpv_shortcode_slider_width', 'po_shortcode_slider_width',10,2);
function get_slider_design($animation) {
$groups = array(
'fade' => 'navigation-preview',
'slide' => 'navigation-preview',
'slideMultipleCaptions' => 'navigation-preview',
'gridFadeQueue' => 'face',
'gridWaveBL2TR' => 'face',
'gridRandomSlideDown' => 'face',
'zoomIn' => 'caption-center',
'shrink' => 'side-caption',
'peek' => 'peek',
);
return $groups[$animation];
}
function po_post_header($meta) {
global $post;
$link = has_post_format('link') ?
get_post_meta($post->ID, 'post-link', true) :
get_permalink();
if(!is_single()):
?>
" title=" < ? php the_title() ? >">< ? php the_title(); ? >*/ ?>