I hope someone can help me.
- I have a custom post type called Site members with slug
- I have a custom field (which is a select field) called
aab-ew-select-visibleand in this field users can select either of the options
- The taxonomy slug is
- The term slug is
Whenever anyone posts a new post to this custom post type, they can choose to either 'hide' or 'display' a section of their post on the website. If they choose to 'display' with the select field, then they should automatically be assigned to the taxonomy term 'test-all-members-ew-tax' mentioned above.
If anyone can help with the code for this, that would be massively appreciated.
Thank you for your time, Andrew