Archived topic
execute php in pages
2 replies · Started by Brian on June 22, 2018
Hi,
I am trying to put a book into a website. I am trying to do this at the bottom of every page:
(the ids will change from one page to the next). My problem is how do I enable php to execute on a page in wordpress?
Kind Regards,
Brian Thompson
Hi there,
Might be better to use a GP hook with conditional statement:
https://docs.generatepress.com/article/hooks-overview/
https://docs.generatepress.com/article/using-hooks-conditional-tags/
The generate_after_content should show up at the end of the content.
Let me know if this helps.
No problem :)