php determine what page is currently being viewed

This is helpful for making custom themes and wanting certain styles or things to load based on the page you are viewing..
<?php if ($_REQUEST[‘q’] ==”our-services”): ?>
Do something if the URL is testimonials..
<?php endif; ?>

Leave a comment

Filed under Uncategorized

Leave a comment