..
Within the WordPress template you can run PHP instructions, so you can use the include () function.
To include a file within a template, simply use this code:
<? Php include ('/ path / miofile.php');?>
If the file is to be included in the same folder of the theme we're using we can use a code like this:
<? Php include (templatePath. '/ Miofile.php');?>If the server configuration allows it is also possible to include remote files:
<? Php include ('http://www.sito.com/miofile.php');?>
| |
HTML (Course)
The markup language for the Web from 29 €. |
| |
MySQL (Course)
Management of open-source database. From 39 €. |
| |
PHP (Course)
Full course for creating dynamic Web sites. From 49 €. |