I have an include
include ('myfile.php');
Now, I am using wordpress and to get the template path I use:
<?php echo get_template_directory_uri(); ?>
My question is:
How can I use both together?
Like:
<?php
include('<?php echo get_template_directory_uri(); ?>/myfile.php');
?>
Thanks
The
include()function just takes a string parameter. Nothing special about it.