Site logo

Archived topic

Issue Regarding add new hook element

24 replies · Started by kmaji5051 on January 5, 2021

Viewing posts 16–25 of 25

Any update

Hi there,

does the error persist if you just add some plain HTML e.g <p>Hello World</p>
If it does it looks like a permalink issue - go to Settings > Permalinks and click Save Changes to rebuild the links.

With <p>Hello World</p> code, it's work.

But when I use <?php code, it showing same error.

Do you have any security plugins ? As that may be blocking the PHP from being saved.

Can you check my dashboard.

I had a look and it doesn't look like it's a plugin issue.

Can you check your wp-config.php and see if there are any code in there that's preventing PHP?

You can also ask your hosting support to see if they have any built-in security that needs to be disabled.

Ok

This archived topic is closed to new replies.