• I see that a wildcard can be used to include (or exclude) all child posts in a URL structure (like, domain.com/services/*).

    But, can Widget Context be used to target specific slug fragments (or specific keyword fragments)?

    Set-up: I have a tool that creates hundreds of pages and spins the page titles to vary things up a bit. But, I don’t want to target *all* child pages created – just certain ones.

    Example: I would like to target just the pages with the slug fragment “air-conditioning” (or just “air” or just “conditioning”) in the URL – and no others pages.

    Example URLs:
    domain/services/top-rated-air-conditioning-replacement-service/
    domain/services/best-air-conditioning-installation-contractor/
    domain/services/air-conditioning-maintenance-company/
    domain/services/affordable-furnace-replacement-service-available/
    domain/services/thermostat-replacement-contractor/
    domain/services/quality-duct-cleaning-service/

    Goal: I would like to target just the “air conditioning” pages and be able to display a coupon for, say, “20% OFF on A/C Work”. I don’t want this coupon on the furnace or thermostat pages. And, I don’t want to look-up numerous individual page IDs for the air conditioning pages and manually enter a long array for the logic in Widget Context.

    “Coupon display” set-up aside, is Widget Context able to target slug fragments in the URLs?

    Thanks & Best

  • The topic ‘Target Slug Fragments?’ is closed to new replies.