erikkk / 2013-01-05 17:46:00
Hi again!
I want to add an echo-command in the index.php-file for my current theme (ndxzsite/mytheme/index.php), but it does not seem to work, the <?php ?>-command seems to be ignored? Any ideas why this is happening to me?
The code that I want to add in an footer:
>© {{obj_name}} 2012 - <?php echo date'(Y' ?>. All rights reserved.
Vaska A / 2013-01-05 20:40:36
You don't use echo - you return your results at the end of the function.
erikkk / 2013-01-06 12:19:48
Thank you for your time Vaska!
I found a solution to this by adding a function in ndxzsite/plugin.index.php and then inserting it to the (mytheme)/index.php with
I don't know if this was the easiest way, but it works.
erikkk / 2013-01-06 12:20:29
with <plugin:myfunction />
This thread has been closed, thank you.