1

I am currently building a website using Wordpress as CMS.

We offer recurring workshops. I have registered this as a custom post type. As most workshops feature the same name I would like to create a permalink which shows the date of the workshop like so: /workshop/day/month/year/best-workshop-ever.

Can I do so by using a custom field created by Advanced Custom Fields? Or are there other options to achieve this?

1

1 Answer 1

0

You can use any ACF field in URL thank to the plugin: https://github.com/athlan/wordpress-custom-fields-permalink-plugin/

Functionality i also extended by: https://github.com/athlan/acf-permalink/

You can also calculate your own fields on-the-fly based on fields (like parse date and extract three separate custom post fields on-the-fly for permalink purpose) using generate_dynamic_metadata filter. Example here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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