- This topic has 2 replies, 2 voices, and was last updated 10 years, 5 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Hi Guys....i need to add some php at the top of two pages e.g mydomain.com/example and mydomain.com/example-2. the php must be before the page begins as it is a script it needs to "authenticate" before access is granted to the page. Here is an example of what needs to be at the top of the two pages
$index = true;
Would appreciate some help as to what i need to add to the functions.php file and how to ensure it is page specific.....thanks my brain is a bit numb today it seems =)
Try one of these:
I've not tried any of them, so tell us if one of them works for you.
© 2024 WPEngine, Inc.