Title: selected state variable
Last modified: September 29, 2021

---

# selected state variable

 *  Resolved [zenyu7](https://wordpress.org/support/users/zenyu7/)
 * (@zenyu7)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/selected-state-variable/)
 * Hi, I have this plugin working correctly. My question is, if I want to detect
   what state is detected for other elements on the page is there a variable or 
   something I can access to share it? For example, if I want to show ads only specific
   to the selected state in the store locator accross the top of the page? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Agile Logix](https://wordpress.org/support/users/agilelogix/)
 * (@agilelogix)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/selected-state-variable/#post-14921949)
 * Hi [@zenyu7](https://wordpress.org/support/users/zenyu7/) , sorry I don’t understand
   the exact question, can you please email usus a screenshot related to it at [support@agilelogix.com](https://wordpress.org/support/topic/selected-state-variable/support@agilelogix.com?output_format=md)
   so we can check it and get back to you.
 * Thank you
 *  Thread Starter [zenyu7](https://wordpress.org/support/users/zenyu7/)
 * (@zenyu7)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/selected-state-variable/#post-14922211)
 * Thanks I just sent a screenshot.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘selected state variable’ is closed to new replies.

 * ![](https://ps.w.org/agile-store-locator/assets/icon-128x128.png?rev=2780478)
 * [Store Locator WordPress](https://wordpress.org/plugins/agile-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/agile-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/agile-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/agile-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/agile-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/agile-store-locator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [zenyu7](https://wordpress.org/support/users/zenyu7/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/selected-state-variable/#post-14922211)
 * Status: resolved