Support

Account

Home Forums Backend Issues (wp-admin) Dynamically set tags and categories according to user choice

Unread

Dynamically set tags and categories according to user choice

  • Hi,

    I’ve created a CPT named “Module”.

    I’ve created an ACF named “Modules choice” containing 1 relationship field linked to my CPT “Module”. I show this ACF when I am on a post.

    I’ve created an ACF “Modules details” that contains 6 fields : mod_Title (text), mod_Responsible (text), mod_Role (text), mod_Photo (image), mod_Category (taxonomy -> category) and mod_Taxonomy (taxonomy -> post-tag). I show this group of fields when i am on my CPT “Module”.

    The process i’d like to be able to use, is :

    • a user add a new a module, define its “properties” and set 1 (or more) category(ies) and 1 (or more) tag(s) for it.
    • After what, he creates a post, add some tags, category(ies), select a module (or several) that he wants to link to this post, and then, I presume by ajax, i add to the current post tags and categories those linked to the selected module(s).

    I’m sure it’s possible to do, but actually, i’m unable to do it :)…

    Someone to to guide me, step by step, through the process ?

    TIA,

    Pierre.

Viewing 1 post (of 1 total)

The topic ‘Dynamically set tags and categories according to user choice’ is closed to new replies.