Suggestion
-
5 Stars for You !!
Would you like to involve the following snippet the plugin was
awesome.remove_shortcode(‘gallery’, ‘gallery_shortcode’);
function gss_override_gallery($atts) {
global $post;
$atts_string = ”;
foreach($atts as $k => $v){
$atts_string .= ‘ ‘ . $k . ‘=’ . $v;
}
$gallery_html = do_shortcode(‘[gss’ . $atts_string . ‘ carousel=”fx=carousel” ‘ . ‘ name=’ . $post->ID . ‘]’);
return $gallery_html;
}
add_shortcode(‘gallery’, ‘gss_override_gallery’);
- The topic ‘Suggestion’ is closed to new replies.