1
Wordpress Plugins / Re: Easy Chart inside of a widget
« on: September 07, 2012, 12:13:35 AM »
Thanks for your suggestion. I tried your code and it worked fine inside page content (inside "The Loop") but when I tried to insert the short code into a widget (The Sidebar) I noticed some discrepancies when I viewed the source and with the help of winmerge.
The successful call (inside "the loop") had the following script tags that were missing from my test using a widget, namely...
MISSING
script tag calling https://www.google.com/jsapi
inline script calling google.load + the Function wpEasyChartToggle()
script tag calling http://policymonitor.ca/wp-content/plugins/easy-chart-builder/js/easy-chart-builder.js?ver=3.4.1'
Not Missing
The following appeared in both:
google.setOnLoadCallback + function easyChartDiv15198001_img
I'm not printing out the entire script block but I think you get the idea of what might be happening.
Thanks again for your help.
Best regards
The successful call (inside "the loop") had the following script tags that were missing from my test using a widget, namely...
MISSING
script tag calling https://www.google.com/jsapi
inline script calling google.load + the Function wpEasyChartToggle()
script tag calling http://policymonitor.ca/wp-content/plugins/easy-chart-builder/js/easy-chart-builder.js?ver=3.4.1'
Not Missing
The following appeared in both:
google.setOnLoadCallback + function easyChartDiv15198001_img
I'm not printing out the entire script block but I think you get the idea of what might be happening.
Thanks again for your help.
Best regards