[theme-reviewers] Gallery Styling

Chip Bennett chip at chipbennett.net
Fri Mar 29 13:50:44 UTC 2013


That is absolutely the correct approach. Gallery styling is presentational,
and thus controlled by the Theme. Removing default styling via filter is
the correct implementation, if the core-defined styling is incompatible
with the Theme's gallery styling.

If a Plugin has a conflict with that implementation, then the PLUGIN is
_doing_it_wrong(), not the Theme.


On Fri, Mar 29, 2013 at 9:48 AM, Thomas from ThemeZee
<contact at themezee.com>wrote:

> Hi everybody,
>
> I have just one question about best coding practice and didn't know if it
> was already discussed.
>
> Is it senseful for a theme do remove the default gallery styling of
> WordPress core with
>
> add_filter( 'use_default_gallery_style', '__return_false' );
>
> and add own gallery styling within the style.css?? Or will it lead to
> conflicts with some plugins which enhance the gallery feature?
>
> Best Regards,
> Thomas
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130329/44e3d3b2/attachment.htm>


More information about the theme-reviewers mailing list