From what I can tell, this stems from your use of get_post_field(), which is reserved for fields found in the posts table of the database (ie: built-in to WordPress, rather than custom fields). For custom fields you should use get_post_meta().
Related Posts:
- How to modify the output of wp_terms_checklist when used within the built-in category metabox on edit posts?
- Only one category per post
- Is there an easy way to make a meta box have the tabs like the Categories meta box has?
- How to display non-hierarchical taxonomy as terms with checkboxes?
- How do the ‘tag’ and ‘category’ (default) taxonomies do ‘save_post’ action?
- Checklist of selected categories
- Changing Top Level Items into Radio Buttons in the Categories Meta Box?
- Admin Panel – Disable Moving Selected Terms To Top of Metabox
- How to Make a Categories Meta Box with Hierarchical Checkboxes on Frontend?
- Add search to list of categories in post editor
- Need help adding custom field to category
- Custom query with category exclusion and post-meta “whitelist”
- Save metabox checkboxes values to custom content type
- Category Search functionality on category metabox (wordpress admin)
- WP 3.0.5: Best way to add custom metaboxes for post categories?
- Render Selected Categories in Admin Edit Post Screen differently
- Hide post meta data on a specific category
- Want to hide some categories from the categories meta box in the post editor for the two specific user roles
- How to remove the “+Add Category” button from the Category metabox?
- How to show author name only if the post is in a specific category?
- Category pie diagram meta box in post editing page
- Limit a meta box to a specific category
- Automatically exclude categories from metabox based on title
- How to display singular form of category name?
- How can I edit the ‘Most Used’ tab in the categories meta-box to show another custom taxonomy?
- Use Tag input metabox style for Categories
- get_post_meta not working on category.php
- Hidde certain category from post meta
- Is there a way to only show Custom Meta Data on single posts from certain catagories
- Custom Meta Box (SELECT2) Not Saving Taxonomy Terms
- Get Meta Keys of Custom Categories
- How to restrict the amount of categories/post tags/terms for a post type post
- Filter categories/tags to display in multiple metaboxes for selection in back-end
- WP Category Meta plugin fix? [closed]
- how can we bring category metabox to Media Library/Upload New Media Page
- create relationship between posts from one category and posts from another category
- Different size video display for category page (smaller) & detail page (larger)
- Sending all categories associated with a post to Google Ad Manager for use with .setTargeting
- Taxonomy custom check box meta field not getting saved
- Remove “Category:” from Post meta
- Displaying data from custom fields on a specific category page
- Please tell how to stop the category from showing up on posts
- Get meta values from parent post and save in child post
- Meta Box: display single image on an archive-template
- How can I add metaboxs to Admin Bar?
- how to get postmeta info based on multiple categories?
- How can I hide the category term for posts with none set?
- How to add all categories into an array and extract the categories names and use it with a custom meta box
- Category Template – to be editable from the backend?
- How can I hide a category from Contributors in the edit/add new post screen?
- Multiple post categories – single permalink
- Wrap Post count in a span
- Display all posts with same title
- Show children of top level category only
- Add custom taxonomy under the category title
- Include posts from feature category in pre_get_posts
- Looking for the best solution to build this Blog structure? Picture attached?
- How Can I Display Categories Description
- Specified number of categoy posts not showing correctly
- Display Slug instead of Name
- Filtering multiple categories via the URL
- Multiple categories with common subcategories
- Counter in loop in foreach
- How to limit number of attachments
- Show category name and new articles and display page numbers. What function to use
- Add child category to parent on post creation and save
- Sub category templates
- Can’t publish custom post type – “You are not allowed to edit this post.”
- How to add custom color fields to the category edit page?
- Target a specific category from a custom taxonomy?
- Custom post type suddenly stoped working after WordPress 5 update
- How to get nav to show current_page_parent class when on regular post (not blog), differentiated by category
- javascripts files not linking to my category slugs?
- Simple Custom Metabox Not Saving
- Generating a feed of all but one category of posts
- How to avoid saving empty data to sql while using add_meta_box
- Display all categories but only if they have posts in them that have a specific tag assigned
- How to fix select filter on category
- Show audio player only in specific post type category
- Save data is post using php front end
- Check with Jquery if second level checkbox from categories are checked
- Regarding Tags And Categories
- How to show entries related to main category
- selecting categories that have products with tag/category
- How to get WooCommerce Product Categories and its children’s children?
- Media Library Category Exclude Tree
- When category name and title are the same … WP will select archive.php instead of single.php
- How to display child-category PAGES on a category page
- How get all media from a posts category by db?
- Cant get unique_array() work on get_the_category() foreach loop
- Show posts from all categories
- Custom meta box not saving values of radio buttons in WordPress
- how to Specifies an author / editor to edit one category only?
- My Query is getting the wrong data
- Formating content in category.php
- Display post content from category name using ajax
- How to display the category featured images [closed]
- Echo Category In Loop
- How to get specific number of category post on a page or category page?
- Display different sidebar based on search results from one category