@jamesk said:
Hi Andy,
Just updated the plugin, but I now get the following code at the top of any page that uses the plugin: not sure how to post a screenshot
SELECT a.*, b.* FROM wppf_church_admin_calendar_date a,wppf_church_admin_calendar_category b WHERE a.cat_id=b.cat_id AND a.start_date BETWEEN CAST(“2017-10-02” AS DATE) AND CAST(“2017-10-30” AS DATE) AND (a.cat_id=4 || a.cat_id=6 || a.cat_id=7) ORDER BY a.start_date,a.start_time
***UPDATE***
Been investigating further and the code appears when shortcodes using “calendar-list” OR when specifying categories e.g. category=”1,2,3″
The other two calendar shortcodes that don’t use “calendar-list” or categories are OK.
Hope this helps.