Parsing shortcodes in plugins
-
Hi,
I’d like to use shortcodes from one plugin (Polly Daddy Rating) inside a text area created by a second plugin (Participants Database). I’ve seen lots of posts about adding <?php add_filter(‘widget_text’, ‘do_shortcode’); ?> to the functions.php file. But this doesn’t work, I imagine because “widget_text” is the wrong field. I’m a real newbie so I actually don’t know what the field should be instead (I’ve called the desired field in Participants Database “rating”).
I’ve also run across posts using <?php echo do_shortcode(‘[custom shortcode]’); ?> which is entered into the plugin’s files, except I don’t know where to put it…..
Any help would be great!
- The topic ‘Parsing shortcodes in plugins’ is closed to new replies.