Exclude code from certain pages?
-
Hello there, I have created an opt in form called optin.php. I want to display it only on my home page (static page). I created optin.php and include the code in my page.php (<?php include(TEMPLATEPATH . ‘/optin.php’); ?>). I only want it to appear on my homepage (a specific page set to my home page), how do I stop it from appearing on all my other pages?
Regards,
Byron
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Exclude code from certain pages?’ is closed to new replies.