REQUEST_URI versus is_home
-
I recently upgraded from 1.2.1 to 1.5.1.3, and am trying to redesign my site using the theme engine. Anyway, I want to cut down on as many queries and php calls as possible for speed purposes, and wondered if it would be faster to do something like:
<?php if ($_SERVER["REQUEST_URI"] == '/') { echo " | your tagline here"; } ?>
versus using the default template tag is_home to get the same results?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘REQUEST_URI versus is_home’ is closed to new replies.