Probably your already solved this (hopefully not by hand).
This part of your question is intriguing:
I found that if I open a post through WordPress front-end and then click “update” the custom field data and the post content “sync”
Do you mean back-end, right?
If so, I think a bulk update would solve this problem.
In wp-admin/edit.php
- increase the number of post shown (Screen options)
- select all
Bulk actions -> Edit
- “change” some parameter, e.g. mark the same Author, o same Ping, or insert a temp tag you’ll delete later
Maybe, before increasing the number of posts shown, do a little test to see if it works.
Related Posts:
- How to update custom fields using the wp_insert_post() function?
- Change slug with custom field
- Better post meta efficiency?
- Change post format using custom field
- Sanitizing `wp_editor();` Values for Database, Edit, and Display
- What Is meta_id In wp_postmeta?
- Add custom field automatically (add_post_meta) with value based on number of words of article
- Duplicating Table of Contents for Paginated Post
- How can I sort posts by the date and a custom meta field?
- How to display Common posts from specific Tag & Category with Shortcode
- Cannot retrieve a custom RSS field from posts
- Redirect to another page using contact form 7? [closed]
- Customize rel=canonical tag for single blog post
- How to I retrieve the ID from the Posts page?
- Get post meta retrieving wrong value
- if in category but only with post meta
- Saving Post Data in Another Database
- Add multiple meta keys to a post at once
- saving/reading custom field value does not work – no value gets POSTed
- How To Use Custom Fields With .mp3 Links
- Post meta not working
- get_post_meta shortcode returns empty field
- How do you update post date (year only) in a separate custom field?
- When working with a post, almost all wp_postmeta are deleted
- WP_Query sort by meta_value_num or date
- Creating Ordered Query using Meta_key
- Using Post ID and Page ID in same function
- How can I create a menu items from meta box based on users input
- Display a custom field rating system in the front end
- get value from post to sidebar
- How enter custom post meta or custom field on box post list archive page?
- Add a checkbox to post screen that adds a class to the title
- Export WordPress Posts and Meta Information in CSV format
- Publish pending article from front end with a button?
- Restrict users from editing post based on the age of the post
- Shortcode Not displayed at the Right Place [duplicate]
- Automatically added brs and paragraphs?
- How to show posts rank based on custom field value
- Setting post meta data to random value during post status transition / on publish
- Specific loop in Shortcode
- How can update custom meta for all posts
- Search widget breaks when using multiple loops?
- Add custom fields to post programmatically
- How to get Advanced Custom Field Value According using POST ID? [closed]
- Make custom field meta not display if there is not data in it
- Remove Shortcode […] from Blog Preview
- Only display posts after current date
- Global $post not working in OOP function WordPress
- How to generate numbers indistinguishable for the IDs of the posts
- Accessing post->ID outside of the loop for listing child pages
- How to VAR_DUMP a $variable during checkout process (Is my product meta callable?)
- get_post_meta not working on publishing
- How to create a shortcode to print specific values stored in a post meta array?
- What’s the best way to render Visual Composer in posts, not pages?
- display-posts shortcode attributes have no effect
- Page template is accessing the incorrect posts?
- Get post ID from a link
- Create a list of posts with topic headdings
- Add field to user meta table in database when link is clicked
- Hide custom metabox value from custom fields
- Change post author without using wp_update_post()
- WordPress loop by meta key that is an array? and how loop multiple arrays
- wp_query with ajax
- Updating post meta for checkbox
- Automatic blog page with custom design [closed]
- How to convert query sql to shortcode in wordpress?
- Retrieve data from post meta meta_key having ‘_product_fq_image’ while having author_id and post type is PRODUCT
- Hide a div when a custom field is empty
- Adding a meta box to determine the sidebar [closed]
- Display message depending on capability outside loop
- Get post category as a separate string and url
- Adjust the order for returned posts
- post/page content
- Display content between two dates?
- Can ‘Custom Field’ data be inserted into this Short Code?
- Override WordPress core post-template.php block template
- Alike Shortcode using in Custom Shortcode
- get category in list of posts // shortcode for custom related posts
- Display “no post” message
- How to update custom fields when post is published?
- Featured Story Shortcode not outputting content
- Private post caught in endless redirect loop
- What is proper filter or hook action to add data to the $post object?
- Display Updated Date Instead of Published Date
- Bulk Post update_post_meta
- Re-order Category Meta-data
- alt of attached image in post / pages
- Custom fields changes the formatting of metabox input
- Shortcode: How to add custom posts?
- Add custom class to existing menu items from custom meta
- How to use extract shortcode in loop?
- How can I put a custom field as the link of a button shortcode?
- Delete old post with new post
- How can i retrive the movies, trailers, news in a single page using search
- How do I display a full post, not just an excerpt?
- How *not* to show the last post on the latest posts list
- How to Do Custom Fields to Output a Definition List
- Retrieving custom field as shortcode
- Site ‘Categories’: save an admin global setting with post metadata [closed]
- How to execute a shortcode within a custom field?