Skip to main content
deleted 5 characters in body
Source Link
Nicolai Grossherr
  • 18.9k
  • 8
  • 64
  • 109

I have created 6 different custom post type, each having different post meta and taxonomies associated with it. I am displaying all different custom posttypespost types in a dropdown using get_post_types() get_post_types() function, Now, onchange of dropdown, I want to display associated meta fields and taxonomy.

I know that this information is not saved in dbDB unless a post is created, so is it possible to read this information like wordpressWordPress is reading or please suggest me if this is possible or not.

Thanks

I have created 6 different custom post type, each having different post meta and taxonomies associated with it. I am displaying all different custom posttypes in a dropdown using get_post_types() function, Now, onchange of dropdown, I want to display associated meta fields and taxonomy.

I know that this information is not saved in db unless a post is created, so is it possible to read this information like wordpress is reading or please suggest me if this is possible or not.

Thanks

I have created 6 different custom post type, each having different post meta and taxonomies associated with it. I am displaying all different custom post types in a dropdown using get_post_types() function, Now, onchange of dropdown, I want to display associated meta fields and taxonomy.

I know that this information is not saved in DB unless a post is created, so is it possible to read this information like WordPress is reading or please suggest me if this is possible or not.

Source Link

get meta fields and taxonomy of any post type

I have created 6 different custom post type, each having different post meta and taxonomies associated with it. I am displaying all different custom posttypes in a dropdown using get_post_types() function, Now, onchange of dropdown, I want to display associated meta fields and taxonomy.

I know that this information is not saved in db unless a post is created, so is it possible to read this information like wordpress is reading or please suggest me if this is possible or not.

Thanks