Hi, I would like to include a php file on some of my pages using
<?php include('filename.php'); ?>
Unfortunately, php code is not executed by the server. My .htaccess file is changed so it will parse .php .htm .html, but it doesn't work. Am I missing something?
Hi, I would like to include a php file on some of my pages using
Unfortunately, php code is not executed by the server. My .htaccess file is changed so it will parse .php .htm .html, but it doesn't work. Am I missing something?
Hi, pls. use:
https://developer.wordpress.org/reference/functions/get_template_part/
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver