Title: Conditional content from URL
Last modified: September 1, 2016

---

# Conditional content from URL

 *  [RicksterBC44](https://wordpress.org/support/users/ricksterbc44/)
 * (@ricksterbc44)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/conditional-content-from-url/)
 * Can I use this to display a block of content based on a parameter that is passed
   in the URL?
 * For example, I may have a URL of mysite.com/?model=PT2000 that I want to pass
   in a link. For that page, if the model is PT2000, I want to display a paragraph
   or an image. If the model is something else, then I want to display a different
   image or paragraph.
 * Am I on the right track by using this plugin? Thanks!
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

The topic ‘Conditional content from URL’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [RicksterBC44](https://wordpress.org/support/users/ricksterbc44/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/conditional-content-from-url/)
 * Status: not resolved