<div><font size="2"><font face="tahoma,sans-serif">I understood what you meant before :) two girls? Nice! we have one and sometimes she's like two.</font></font></div>
<div><font size="2"><font face="tahoma,sans-serif"><br clear="all"> </font></font></div>
<div><font size="1"><strong>Emil Uzelac</strong> | ThemeID | T: 224-444-0006 | Twitter: <a href="http://twitter.com/emiluzelac" target="_blank">@EmilUzelac</a> | E: </font><a href="mailto:emil@themeid.com" target="_blank"><font size="1">emil@themeid.com</font></a><font size="1"> | </font><a href="http://themeid.com/" target="_blank"><font size="1">http://themeid.com</font></a></div>
<div><font size="1"><font color="#666666"><em>Make everything as simple as possible, but not simpler.</em> - Albert Einstein</font></font></div><br><br><br>
<div class="gmail_quote">On Sat, Jan 15, 2011 at 7:46 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">And yes, I meant "after_setup_theme".
<div><br></div>
<div>I shouldn't try to compose emails while simultaneously giving the girls baths...</div>
<div><br></div>
<div><font color="#888888">Chip</font>
<div>
<div></div>
<div class="h5"><br><br>
<div class="gmail_quote">On Sat, Jan 15, 2011 at 7:05 PM, Otto <span dir="ltr"><<a href="mailto:otto@ottodestruct.com" target="_blank">otto@ottodestruct.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Sorry, I meant "after_setup_theme". I always get that wrong.<br><font color="#888888"><br>-Otto<br>
</font>
<div>
<div></div>
<div><br><br><br>On Sat, Jan 15, 2011 at 8:04 PM, Otto <<a href="mailto:otto@ottodestruct.com" target="_blank">otto@ottodestruct.com</a>> wrote:<br>> Actually, I believe it only needs to be set globally. The easy way to<br>
> do this is to set it outside that hook, and that's what twentyten<br>> does, but this would be equally valid:<br>><br>> add_action('after_theme_setup','theme_setup');<br>> function theme_setup() {<br>
> global $content_width;<br>> if ( ! isset( $content_width ) )<br>> $content_width=640;<br>> }<br>><br>> Also equally valid would be to set $_GLOBALS['content_width'] = 640;<br>> or similar. Same thing, really.<br>
><br>> However, for theme compatibility (and to allow child themes to<br>> override it) the "if ( ! isset( $content_width ) )" should be used as<br>> well.<br>><br>> -Otto<br>><br>><br>> On Sat, Jan 15, 2011 at 7:54 PM, Chip Bennett <<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>> wrote:<br>
>> So, I just realized something today regarding setting $content_width: it<br>>> must be set *before* the after_theme_setup hook.<br>>> Just a mental note to myself, to check functions.php to ensure that the call<br>
>> to set $content_width isn't inside of a theme setup function that gets<br>>> called on after_theme_setup. I thought I'd share that with everyone, just in<br>>> case I'm not the only one who needed that clarification. :)<br>
>> Chip<br>>> _______________________________________________<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>>><br>><br>_______________________________________________<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>
</div></div></blockquote></div><br></div></div></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>