I’m using this plugin (which is awesome, btw!), including a custom template, to display a custom post type of special offers in my site’s sidebar. The CPT includes a metabox for the offer’s status (i.e., Active/Inactive).
I’m wondering if there’s any code I can add to the custom template to further filter the widget’s query by the status? I’ve been able to do this successfully in other areas of the site (like so: http://pastebin.com/nGzdrLUK), but I’m unsure if or how to filter a query that’s already been called. I tried using pre_get_posts but couldn’t make it work.