Viewing 1 replies (of 1 total)
  • The plugin was not designed with this much flexibility, so it will require a little more work on your part.

    But first, I must make sure that you ONLY want to look for a Word when it is the FULL directory/folder name. For example, /1warmup/, /warmup1/ and /1warmup1/ would not be selected using this approach.

    Here is how you would it. For each word, you would need multiple entries. In the “For An Individual Page, Post or other non-Admin page; or a group of pages, specified by URL Prefix, optionally with Asterisk(s)” section of the Settings for the plugin, select “URL Prefix with Asterisk (“*”)”, the desired Theme, and:

    1. https://mysite.com/*/warmup for the first entry;
    2. https://mysite.com/*/*/warmup for the second entry;
    3. https://mysite.com/*/*/*/warmup for the third entry;
    4. and so on, as deep as you want to go

    Obviously, if /course/ is always the first level folder/subdirectory, then replace the first asterisk in each of those entries, making #1 “URL Prefix” since there is no asterisk in the entry.

Viewing 1 replies (of 1 total)
  • The topic ‘Switch when a word is found anywhere in the url’ is closed to new replies.