I trying to insert a php snippet into either the sidebars or header area. The code is super simple and is the content that goes into the snippet. I use [hello test="here"] as an example. Nothing done on the attribute. I just want it to print hello.
The snippet doesn't get executed? Is this by design that php snippets don't get executed in sidebar/headers? Have any ideas?
*EDIT* I changed the widget from a custom html to just plain text and it is working as needed. This is partially solved.
Code:
<?php
echo "hello";
*EDIT* I changed the widget from a custom html to just plain text and it is working as needed. This is partially solved.
Last edited: