Title: Query not working
Last modified: September 12, 2024

---

# Query not working

 *  Resolved [bzsim](https://wordpress.org/support/users/bzsim/)
 * (@bzsim)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/query-not-working-5/)
 * I have a Visibility setup based on the Query String. If the word “career” is 
   in the URL, a purple box with a horoscope should appear on the page. It’s not
   working. Any thoughts?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fquery-not-working-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Nick Diego](https://wordpress.org/support/users/ndiego/)
 * (@ndiego)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/query-not-working-5/#post-18011574)
 * Hi [@bzsim](https://wordpress.org/support/users/bzsim/),
 * If you are trying to display a block based on `career` being in a URL, like this
   one:
 *     ```wp-block-code
       https://staging6.accuhoroscope.com/aquarius-daily-career
       ```
   
 * you will need to use the [URL Path](https://blockvisibilitywp.com/knowledge-base/how-to-use-the-url-path-control/)
   control. That URL does not actually contain a query string. You can learn more
   in the [Query String](https://blockvisibilitywp.com/knowledge-base/how-to-use-the-query-string-control/)
   documentation.
 * Let me know if you have any further questions.
 * Best, 
   Nick

Viewing 1 replies (of 1 total)

The topic ‘Query not working’ is closed to new replies.

 * ![](https://ps.w.org/block-visibility/assets/icon-256x256.png?rev=3122657)
 * [Block Visibility — Conditional Visibility Control for the Block Editor](https://wordpress.org/plugins/block-visibility/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/block-visibility/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/block-visibility/)
 * [Active Topics](https://wordpress.org/support/plugin/block-visibility/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-visibility/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-visibility/reviews/)

## Tags

 * [Query String](https://wordpress.org/support/topic-tag/query-string/)

 * 1 reply
 * 3 participants
 * Last reply from: [Nick Diego](https://wordpress.org/support/users/ndiego/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/query-not-working-5/#post-18011574)
 * Status: resolved