Ahh, there you go ... I was thinking $content_width should be "set" explicitly then changed by $dynamic_width if the layout required it.<br><br><br clear="all">Cais.<br>
<br><br><div class="gmail_quote">On Wed, Aug 10, 2011 at 2:36 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net">chip@chipbennett.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm setting $dynamic_width explicitly, then altering its value, based on conditionals. So, by that point in the code, $dynamic_width is *always* set.<div><br></div><div><font color="#888888">Chip<br><br></font><div class="gmail_quote">
<div><div></div><div class="h5">On Wed, Aug 10, 2011 at 10:21 AM, Edward Caissie <span dir="ltr"><<a href="mailto:edward.caissie@gmail.com" target="_blank">edward.caissie@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5"><div><div class="gmail_quote">On Wed, Aug 10, 2011 at 11:11 AM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><span style="white-space:pre-wrap">                </span>// Apply dynamic width to $content_width</div>
<div><span style="white-space:pre-wrap">                </span>global $content_width;</div><div><span style="white-space:pre-wrap">                </span>if ( ! isset( $content_width ) ) {</div><div><span style="white-space:pre-wrap">                        </span>$content_width = $dynamic_width;</div>
<div><span style="white-space:pre-wrap">                </span>}</div><div></div></blockquote></div><br></div>I know I'm a little "off" today, but shouldn't you be testing if $dynamic_width is set versus the $content_width ... which you are setting with function's code above this test?<br>
<br>For example:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><span style="white-space:pre-wrap">                </span>// Apply dynamic width to $content_width</div>
<div><span style="white-space:pre-wrap">                </span>global $content_width;</div></div><div><span style="white-space:pre-wrap">                </span>if ( isset( $dynamic_width ) ) {</div><div><span style="white-space:pre-wrap">                        </span>$content_width = $dynamic_width;</div>
<div><span style="white-space:pre-wrap">                </span>}</div></blockquote><br><br>Cais.<br>
<br></div></div><div class="im">_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br>