Support

Account

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.