• Hello,

    I am trying to populate my charts with dynamic data all pulled from custom post types. I am using ‘wp-types’ and ‘views’ to generate this and it comes in the form of a shortcode (‘Data String’ for values and ‘Date String’ for dates), so I am trying to integrate this data into wp-charts as follows…

    [wp_charts … datasets=”[wpv-view name=’Data String’]” labels=”[wpv-view name=’Date String’]”]

    However this just cocks up the chart as the nested shortcode contains additional quotes. I have tried using single and double quotes without any luck.

    I have read about do_shortcode function and feel this is what is preventing the insertion of this shortcode, however I am unsure about how and where to add do_shortcode to wp-charts’ code.

    I you have any answers or suggestions I will be extremely grateful.

    Cheers guys,

    Andrew

    https://ww.wp.xz.cn/plugins/wp-charts/

The topic ‘Problem dynamically populating charts using nested shortcode.’ is closed to new replies.