PHP code not supported in the widget title
-
Hi, I’m trying to add PHP code in the widget title, but when I press save, the PHP code is removed.
For example the widget title that I want to use is:
More from <?php $category = get_the_category(); echo $category[0]->cat_name; ?>
But when I hit Save, the title becomes:
More from
Is there any trick for allowing this to work?
Thanks for your help.
https://www.ads-software.com/extend/plugins/php-code-widget/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP code not supported in the widget title’ is closed to new replies.