Φωτογραφίες

$mytheme_slider = get_post_meta($post_id, 'mytheme_rev_slider', true); //in case it is a post/page option $mytheme_slider = get_option('mytheme_rev_slider'); //in case it is a theme option if(shortcode_exists("rev_slider") && !empty($mytheme_slider)){ echo(do_shortcode('[rev_slider '.$mytheme_slider.']'))};
Back to top