Skip to main content

Timeline for PHP Widget and do_shortcode

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Jul 16, 2012 at 2:54 vote accept Anagio
Jul 16, 2012 at 2:54 answer added Anagio timeline score: 0
Jul 15, 2012 at 21:53 comment added Anagio @brasofilo the plugin code works fine in template files. The PHP widget works fine echoing the variables. For some reason do_shortcode isn't working right in the widget.
Jul 14, 2012 at 23:24 comment added brasofilo What about the plugin?! . . . . Use @username, so the other party receives a notice of your reply.
Jul 14, 2012 at 16:53 comment added Anagio Yes it's from ACF
Jul 14, 2012 at 16:23 comment added brasofilo Is this the plugin you're using? (btw, your Question should contain this info) . . . . . . . . . Also, get_field is a function from Advanced Custom Fields or is a function of yours?
Jul 14, 2012 at 6:30 comment added Anagio Yes it works with hard coded values, it also works using do_shortcode placed into a template file.
Jul 13, 2012 at 21:05 comment added Evan Mattson have you tried using the shortcode in your code with hardcoded values as a test? Why not update your question with the code for the shortcode callback function so we know what is going on there.
Jul 13, 2012 at 20:50 comment added Anagio That's what wunderground plugin uses in their example shortcode. Even if I remove that attribute it still doesn't work.
Jul 13, 2012 at 19:58 comment added Evan Mattson why are you using single quotation marks for your measurement attribute? Try dropping the escaping slashes and just using the double quotation marks.
Jul 13, 2012 at 19:53 history asked Anagio CC BY-SA 3.0