Support » Plugin: Toolset Types - Custom Post Types, Custom Fields and Taxonomies » Editing Parent does not update custom field

  • When editing an entry in one of my CPTs created with Types, I changed the dropdown menu value to change the entry’s parent and clicked update. I noticed the actual custom field value doesn’t change. Anyone else experiencing something similar?

    Using WordPress 4.0.1 & Types 1.6.4
    No other plugins are active and this occurs using any theme.

    https://wordpress.org/plugins/types/

Viewing 1 replies (of 1 total)
  • What do you mean by “actual” custom field? i.e. post_parent or something else.

    However the field post_parent is used by WordPress to store hierarchical custom post types (like pages). Where a page can be a parent of another page and so on. This type of relation happens between posts of the same type.

    Types plugin, on the other hand, provides a different relationship that can be made between 2 different post types. We store this in a custom field in the child post.

    For example, if we have parent “Companies” and child “Employees”, all employees will have a custom field with the key ‘_wpcf_belongs_company_id’ pointing to the parent company.

Viewing 1 replies (of 1 total)
  • The topic ‘Editing Parent does not update custom field’ is closed to new replies.