前回の続き
$this->_tpl_vars[Smartyでの変数名] でPHPのほうへ渡せるようです
こんな風に
{foreach from=$action.tags|smarty:nodefaults item=tag}
{php}print urlencode($this->_tpl_vars[‘tag’]);{/php}
{/foreach}
Just another WordPress site
前回の続き
$this->_tpl_vars[Smartyでの変数名] でPHPのほうへ渡せるようです
こんな風に
{foreach from=$action.tags|smarty:nodefaults item=tag}
{php}print urlencode($this->_tpl_vars[‘tag’]);{/php}
{/foreach}