I have a channel where I need each entry's URI include the year and then a sequential number, like this: 2018/1/ 2018/2/ 2018/3/ 2019/4/

I have no problem getting the year, but is there a way to get the entry slug to be a sequential number?

  • 1
    Would it be an option to include an "increment" field in the layout that stores this number and increases +1 for each entry? Another option is to create a query and fetch the current position of your element whenever you store it. Nov 8 '18 at 22:13

Your Answer

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

Browse other questions tagged or ask your own question.