Home › Forums › General Issues › How to add field value to permalink? › Reply To: How to add field value to permalink?
First you would need to figure out how to change the output of the link wherever WC is outputting it. Then you’d need to alter the WP rewrite rules for your site, especially since you are talking about altering a taxonomy term url. All could be possible with a large amount of work.
Alternately, you could create an acf/save_post filter, see if what is being saved is a term in your taxonomy and then alter the term slug every time that the term is saved. Also a possible solution and more likely that the first one. Still a little complicated and I don’t know the exact details of getting it done.
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.