Title: Display variable content based on variable in URL
Last modified: August 30, 2016

---

# Display variable content based on variable in URL

 *  [stolemyusername](https://wordpress.org/support/users/stolemyusername/)
 * (@stolemyusername)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/display-variable-content-based-on-variable-in-url/)
 * Hi there,
 * I am looking at displaying variable content on a page based on a variable in 
   the url.
 * I have a 1 page website (www.vidlab.io) and i would like the section “GoPro Video
   Editing” to display information about GoPro video editing if the url is vidlab.
   io/?type=GoPro or information about wedding editing if the Url is vidlab.io/?
   type=wedding, and so on. Any ideas?

The topic ‘Display variable content based on variable in URL’ is closed to new replies.

## Tags

 * [get](https://wordpress.org/support/topic-tag/get/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [url](https://wordpress.org/support/topic-tag/url/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [stolemyusername](https://wordpress.org/support/users/stolemyusername/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/display-variable-content-based-on-variable-in-url/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
