You do have to be an admin and/or have the unfiltered_html
capability on the site. Otherwise it’ll get filtered like everything else.
Oh, I just saw that you are trying to put code in the TITLE. Missed that.
Yes, the PHP Code Widget does not support PHP Code in the title.
I know this is an old thread, but any way this plugin will support PHP code in the future? I decided to place <?php echo 'test'; ?>
in the title and the entire site failed to load O.o luckily I was able to remove the widget entry from the backend and the site loaded. Scared me for a sec!
the way I have done this – leave the title blank
write code in the widget to display whatever you want
Works for me 🙂