Improve the markup of featured images, inline images and embeds, and make them all responsive to all screen sizes.
Yes, but a settings screen hasn't been made yet. Until then you can override the default behaviour by adding a global array in your wp-config file. Here are the options with their default values...
/** Options for Pco Media Mandler */ global $pco_ih_options; $pco_ih_options = array( 'pco_ih_keep_p_wrap' => false, 'pco_ih_allow_avatar_dimensions' => false, 'pco_ih_allow_inline_image_dimensions' => false, 'pco_ih_allow_thumbnail_dimensions' => false, 'pco_ih_captioned_images_no_html5' => false, 'pco_ih_leave_oembeds_alone' => false, 'pco_ih_hide_oembed_styles_in_head' => false, 'pco_ih_link_images_to_file' => false );
This options allow you to opt out of certain features. By setting a feature exception to true, you revert that feature to the standard functionality.
Yep. The default values for these filters can be found in public/class-pco-media-handler
pco_media_handler_embed_css- change the css that gets added to the head to deal with responsive embeds.
pco_media_handler_oembed_providers- change the accepted oembed providers that should get the responsive treatment.
pco_media_handler_youtube_params- change the params for all YouTube embeds.
No, it does not add any HTTP requests. It does, however, add one line of css to the head tag of the site to make oembeds play nicely responsivly. You can turn this off by copying the rules ot your stylesheet and setting the option called
pco_ih_hide_oembed_styles_in_head to true.
It probably works back to at least 3.5, but we have not tested it.
Requires: 3.8 or higher
Compatible up to: 3.9.15
Last Updated: 2 years ago
Active Installs: 40+
Got something to say? Need help?