won't work from php since last (4.5.3) update
-
Hi, I’ve been using your plugin for a while now, and it’s great! but ever since the last WP update it stopped working from a php call (still works fine in posts and pages).
this is how I used it so far:
echo do_shortcode( '[showhide type="more" more_text="read more..." less_text="" hidden="yes"]' . $text_to_be_revealed . '[/showhide]' );
where $text_to_be_revealed var is defined earlier as
$text_to_be_revealed = "some text";
it used to work fine, but now I get a link that throws me back to the beginning of the page i.e. idanp.com/#I don’t know how to resolve this, any help would be appreciated. Thanks!
- The topic ‘won't work from php since last (4.5.3) update’ is closed to new replies.