by (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

by (5.1k points)
Hello Carlo,

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

Regards, Pavel.
...