options = get_option( 'add_full_svg_support_option_name' ); ?>
options['acai'], false ) . '/>'; $html .= '
'; $html .= '
(Images will be changed if there is a svg file with the exact same name in the exact same folder on your server. You can improve compatibility by giving all of your images width and height values (also recommended for SEO issues). Please make sure that your theme has set wp_head and wp_footer correctly!)
(I do not recommend to activate this, because it is a huge performance killer! It might also overload your server in some rare cases. However, if you love the convenient way, feel free to use it.)
'; echo $html; } public function asf_callback() { $html = '
options['asf'], false ) . '/>'; $html .= '
'; $html .= '
(You can use this function if you experience any strange behaviour that is related to the size of your images. Generally, I recommend to give all of your image files (including the SVG shortcode) width and height values. This is not only good for compatibility, but also SEO reasons!)
(The auto-size function of this plugin is also more of a fallback solution, since most svg images do not contain size-information!)
'; echo $html; } } if (is_admin()) $add_full_svg_support_settings_page = new AddFullSVGSupportSettingsPage(); ?>