Title: Content based on dropdown menu selection
Last modified: May 10, 2017

---

# Content based on dropdown menu selection

 *  [wpzoneman](https://wordpress.org/support/users/wpzoneman/)
 * (@wpzoneman)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/content-based-on-dropdown-menu-selection-2/)
 * I would like to create a selection using a dropdown menu at the top of a page
   that would allow a user select a city. Based on that city it would change a pricing
   content area of the page (below and above other content) and remember that selection
   when visiting other pages. I don’t want or need to use geo location. It needs
   to be based on user input.
 * I looked for plugin options or code to accomplish this and could not find a solution.
   I would appreciate any suggestions. Thank you.

Viewing 1 replies (of 1 total)

 *  [swayam.tejwani](https://wordpress.org/support/users/swayamtejwani/)
 * (@swayamtejwani)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/content-based-on-dropdown-menu-selection-2/#post-9124378)
 * It needs some php/html coding to accomplish this. You need to create a dropdown
   with the countries you need and when user selects any one, then you can call 
   an ajax request which saves the country name in a cookie and based on that ajax
   response, just replace the content you want for each country.

Viewing 1 replies (of 1 total)

The topic ‘Content based on dropdown menu selection’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [swayam.tejwani](https://wordpress.org/support/users/swayamtejwani/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/content-based-on-dropdown-menu-selection-2/#post-9124378)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
