Archived topic
problem with elements
4 replies · Started by Ketil on October 27, 2020
Using "Read" from site library for a site I made. Some problems occured with hooks on post-page, any idea what could have happened here? Pager an author prints code instead of layout.
Hi there,
if you're adding PHP to a Hook Element, you need to make sure to check the Execute PHP option in the hook element.
aha. This message appears : "Unable to execute PHP as DISALLOW_FILE_EDIT is defined."
So setting in wp-config ?
Figured it out, the execution of php was the problem, thanks!
Glad to hear that!