[theme-reviewers] Deregistering mediaelement style / script
justin at justintadlock.com
Thu Apr 10 23:05:03 UTC 2014
always plugin territory), but the CSS is fine in many cases.
Presentation of content is entirely within the theme's domain.
I even have a project for handling custom styling of the media player:
This is referring to overwriting the entire stylesheet with a custom
one. I like to mix it with Genericons instead of the images packaged
with WP. There's no need to load WP's stylesheets (two of them) when
completely customizing the player's design.
Just to overwrite some minor things, all that's needed is a bit of CSS
in a theme's `style.css`.
On 4/10/2014 2:32 PM, Afzaal wrote:
> I'm currently reviewing a theme where the author is deregistering a
> WordPress bundled stylesheet "wp-mediaelement". This is being done
> within a custom theme class and immediately the authors own stylesheet
> is being registered.
> Is there any problems with doing this? I know that deregistering some
> scripts such as jQuery are not allowed, so thought it best to ask.
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
More information about the theme-reviewers