Snippets aren't working
-
I’ve created a simple snippet:
function shortCodeHandler($attr){ return 'I was here'; } add_shortcode('my_short_code', 'shortCodeHandler');I can tell it being read (I’ve even added a “mail” below the “add_shortcode” and emails were sent to me). But the shortcode itself is not being processed by wordpress.
Am I doing something wrong?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Snippets aren't working’ is closed to new replies.