Any segment 0.1

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.
    eg. {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”.


Auto-login on future visits

Forgot your password?