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->cat_name; ?>
But when I hit Save, the title becomes:
Is there any trick for allowing this to work?
Thanks for your help.
- The topic ‘PHP code not supported in the widget title’ is closed to new replies.