Impossible to call wordpress function inside an include?
I’ve had this problem in past try using include with locate_template: I don’t exactly remember the reason but this code still works: Example: include(locate_template(YOUR_TEMPLATE_PATH)); Here’s a complete demonstration too, using the same idea, if you need more help. For Admin Panel include simply works in admin panel. You might want to modify your code like: … Read more