Thread Starter
Yourit
(@yourit)
Thanks DionDesigns!
I’m not sure if this is the right solution for my project, but I might use it.
Thread Starter
Yourit
(@yourit)
He Mark,
Thanks for your reaction!
Yes i do get the template name back this way.
But all i want is to echo out the $fruit array written in the Templatefile-array.php.
Template_to_locate doesn’t seem to do the trick right now…
<?php locate_template(array('Templatefile-array.php' ), false);?>
<?php echo $fruit; ?>
How do i fix this?