I'm trying to use woody snippets plugin in wordpress but can't get it to work.
Here's what I've done:
UPDATE: Do woody snippets work in static pages or do we need to use a template?
Here's what I've done:
- downloaded and activated woody snippets
- created the following php snippet:
<?php
add_action('init','print2');
function print2($str){
$str = str_replace(",","<br>",$str);
print $str . "<br>";
}
?> - got the short code and added the following to a static page
[wbcr_php_snippet id="96"]
$test="yes";
print2("$test");
[/wbcr_php_snippet]
UPDATE: Do woody snippets work in static pages or do we need to use a template?
Last edited: