'site_url()' would work even better in my mind ... they can even test with 'is_ssl()' if need be.<br><br><br>Cais.<br><br><div class="gmail_quote">On Wed, Nov 3, 2010 at 4:13 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: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I bet you're right! :)<div><br></div><div>I didn't install it, so I didn't get to see how it looks with my domain name. Regardless, there's no reason to use this method, when bloginfo() would suffice.</div>
<div><br></div><div>Thanks!</div><div><br></div><div>Chip<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Nov 3, 2010 at 3:07 PM, Jerry Johnson <span dir="ltr"><<a href="mailto:jmiloj@gmail.com" target="_blank">jmiloj@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">HTTP_HOST is what the client/user asked for as the target host of that request.<div>
<br></div><div>So for most sites, it would return the _requested domain name_ from the url.</div>
<div><br></div><div>So, a page at <a href="http://www.yourdomain.com/about-us" target="_blank">http://www.yourdomain.com/about-us</a> would return:</div>
<div><br></div><div>Copyright 2010 <a href="http://yourdomain.com" target="_blank">yourdomain.com</a></div><div><br></div><div>(it is stripping out the first 4 chars, assuming the domain starts with www., and that part should be stripped off.)</div>
<div><br></div><div>I bet it works _perfectly_ on the site(s) it was created for.</div><div><br></div><div>Jerry Milo Johnson<div><div></div><div><br><br><div class="gmail_quote">On Wed, Nov 3, 2010 at 4:00 PM, 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: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Found this in another Theme:<blockquote style="margin: 0pt 0pt 0pt 40px; border: medium none; padding: 0px;">
<div><span style="font-family: 'Times New Roman'; font-size: medium;"><pre style="word-wrap: break-word; white-space: pre-wrap;">Copyright <?php echo date('Y') . ' ' . substr($_SERVER['HTTP_HOST'], 4, 100); ?></pre>
</span></div></blockquote><div>I don't know what it's trying to do, other than pull something out of the HTTP header...</div>
<div><br></div><font color="#888888"><div><br></div></font></blockquote></div></div></div></div>
<br></div></div>_______________________________________________<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></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>