Any Segment


Nicolas Bottari

3rd Party (Free)

EE Version Support

  • ExpressionEngine 1.x


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



A plugin that can be used with ExpressionEngine conditionals which returns TRUE if a specified string is found in any segment.

Does this happen to you?

Your templates are accessible on your site with or without the default template group:


But you have conditionals in your template targeting specific segments:

{if segment_2 == "blog"}

What happens if en is not part of the URL? “blog” may not be in segment_2. In this case, the any_segment plugin would look at all segments and return true if any segment contains “blog”.

Sample Usage

{if {exp:any_segment equals="projects"}}
  ...Show content ...

Works with simple conditional if, if:elseif, if:else tags

Any Segment Links

This entry was created September 25, 2009, 4:25 pm.
This entry was last updated December 10, 2011, 8:37 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at to initiate your return. If you have questions, email

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!