Writing php to a specific page
-
Hello everyone,
I would like to execute some PHP code only in a specific page. I know that can use an if statement with is_page , but in what php file should I execute the code? When I write some code in the index.php file, it only works when I’m in the main page and not in other pages.
Thanks in advance,
Omer
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Writing php to a specific page’ is closed to new replies.