Title: If URL
Last modified: October 17, 2020

---

# If URL

 *  [theshae](https://wordpress.org/support/users/theshae/)
 * (@theshae)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/if-url/)
 * Does anyone know if you display something based on an exact url? I need it to
   include the full url variable
 * For example:
 * [if url=https://test.com/?tab=new] TRUE [else] FALSE [/if]

Viewing 1 replies (of 1 total)

 *  [iantresman](https://wordpress.org/support/users/iantresman/)
 * (@iantresman)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/if-url/#post-13546508)
 * In the Custom Content Shortcode documentation (in the plugin pages), select “
   Pass” (in the Advanced tab) where you will see “URL route” which is used “to 
   pass the current URL route or its parts”.
 * It would be great if the documentation could be searched, as finding the appropriate
   section is time consuming.

Viewing 1 replies (of 1 total)

The topic ‘If 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [iantresman](https://wordpress.org/support/users/iantresman/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/if-url/#post-13546508)
 * Status: not resolved