Hi, I am trying to customise a Wordpress theme. I have a function in themes/functions.php that I would like to run on some pages.
I need to be to:
- Detect the page ID to determine whether the function should execute
- Determine which hook to attach the function to (preferably something like page load.
Cheers