Title: Conditional views?
Last modified: October 3, 2017

---

# Conditional views?

 *  Resolved [alx359](https://wordpress.org/support/users/alx359/)
 * (@alx359)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/conditional-views/)
 * Have a ST shortcode filtered via hook applicable to all WC products, but sometimes
   the query returns empty. Is it there a way to hook into the results to check 
   them before display, so one could perform a more generic query/view instead?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Thread Starter [alx359](https://wordpress.org/support/users/alx359/)
 * (@alx359)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/conditional-views/#post-9552617)
 * Nevermind, opted to add more terms and change some queries instead. Otherwise
   it seemed a too difficult task to do, according of what I read.

Viewing 1 replies (of 1 total)

The topic ‘Conditional views?’ is closed to new replies.

 * ![](https://ps.w.org/strong-testimonials/assets/icon-256x256.png?rev=3134855)
 * [Strong Testimonials](https://wordpress.org/plugins/strong-testimonials/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/strong-testimonials/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/strong-testimonials/)
 * [Active Topics](https://wordpress.org/support/plugin/strong-testimonials/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/strong-testimonials/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/strong-testimonials/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [alx359](https://wordpress.org/support/users/alx359/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/conditional-views/#post-9552617)
 * Status: resolved