Support

Account

Home Forums Backend Issues (wp-admin) How to add Custom field data programmatically in custom taxonomy?

Unread

How to add Custom field data programmatically in custom taxonomy?

  • Hi all,

    I want to add Custom Field Data programmatically in Custom Taxonomy.

    I was create 3 custom field in “News” Custom Taxonomy.

    1.Political [Custom Field]
    2. Business [Custom Field]
    3. Tech [Custom Field]

    For this three custom fields of “News” Custom Taxonomy, i want to add data programmatically.

    IN update_field() function, if not add post_id, data not save to database.
    update_field($field_key, $value, $post_id)

    I want to add data without adding post_id because i want to display each taxonomy name as one page.

    So let me know, the way to add custom field data programmatically in Custom Taxonomy using Advanced Custom Field.

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.