[theme-reviewers] content_width in variable-width themes

Robert Ambartsumov robert6292 at gmail.com
Wed Jan 25 22:54:30 UTC 2012


$content_width = mframe_option( 'layout' ) == 'wide' ? mframe_option(
'layout-width-wide' ) : mframe_option( 'layout-width' );

On Thu, Jan 26, 2012 at 12:41 AM, Kirk Wight <kwight at kwight.ca> wrote:

> It seems $content_width has to be in pixels, so unless it's set very
> small, it's conceivable that the embed test in the Theme Unit Test will
> overflow the content area at some point.
>
> What is the best method for setting $content_width in a variable-width
> theme?
>
>
> _______________________________________________
> 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/20120126/fcdbfa9d/attachment.htm>


More information about the theme-reviewers mailing list