1

Is it possible to include category or tag slug in the entry URL format? Would you please let me know the tags that make it, if possible?

2

Assuming you want the first category that's selected in the field, you'd set your "Entry URL Format" setting to:

{categoryFieldHandle.first().slug}

You can access any of your custom fields by their handle in a similar way.

|improve this answer|||||
  • 2
    Just in case there is no first categoryFieldHandle, I use {categoryFieldHandle.first().slug ?? 'no-category'} – Marion Newlevant Nov 5 '17 at 16:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.