PHP code in template SeoToaster v. 2.5.0

asked Mar 21 by carlo15 (450 points)
Hello,

I want to use a short php code inside my template, using SeoToaster v 2.5.0.

Here's the code:
<?php
        // Change the line below to your timezone!
        date_default_timezone_set('Italy/Rome');
        $date = date('Y-m-d', time());
        echo '{$featured:area:Giornate Mondiali' . $date . ':20:0:img:0}';
    ?>

However, the code gets commented out, so it doen't run. How can I do this?

Thank you, bast regards.

Carlo Stefani

1 Answer

answered Apr 19 by Pavel.g (4,520 points)
Hello Carlo,

You can't use the php code inside the template.

Regards, Pavel.
...