Home › Forums › General Issues › How to add field value to permalink? › Reply To: How to add field value to permalink?
I’m using woocommerce to set up courses.
The courses available are for Grade 11 and Grade 12 students.
English, for example, is part of both categories and looks like this:
/grade-11/english
/grade-12/english-2
I’m trying to figure out a way to deal with this, I was thinking, because I already have a field that gets the course’s code, that I could use acf to modify the url to look like this:
/grade-11/english-eng3u
/grade-12/english-eng4u
I could do this manually in the post’s slug, but I was thinking it would be neat if it were dynamic somehow.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.