Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author jethin

    (@jethin)

    Yes, inserting the following routing into your theme’s functions.php file should do the trick:

    remove_shortcode('gallery', 'gallery_shortcode');
    function gss_override_gallery($atts) {
    	$atts_string = '';
    	foreach($atts as $k => $v){
    		$atts_string .= ' ' . $k . '=' . $v;
    	}
    	$gallery_html = do_shortcode('[gss' . $atts_string . ']');
    	return $gallery_html;
    }
    add_shortcode('gallery', 'gss_override_gallery');

    Let us know how you make out. Thanks.

    Plugin Author jethin

    (@jethin)

    Marking topic as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Embed automatic’ is closed to new replies.