At the moment, there is no way to query posts in WordPress based on the condition of having or not having a shortcode. Such an ability would be hugely useful to both themes and plugins – should we add it to core?
Theme-ready Shortcodes in WordPress
A few months back, I taught you how to make your widgets theme-ready by extracting the actual markup into an overridable template. Now, we’re going to do the same for shortcodes. And for those of you wanting to see this in practice, stay tuned for the release of version 2.5 of WP Publication Archive in […]