I just wanted to share this query for anyone who is updating their site from SimpleFields to Advanced Custom Fields:
SET @key_from = " _simple_fields_fieldGroupID_3_fieldID_0_numInSet_0";
SET @key_to = "hero_title";
UPDATE wp_postmeta a,
WHERE meta_key = @key_from
AND meta_value <> ''
b SET a.meta_value = b.meta_value
WHERE a.meta_key = @key_to
and a.meta_value = ''
and a.post_id = b.post_id
All you need to do is find the Simple Fields key and map it to the corresponding ACF key.
Viewing 1 post (of 1 total)
The topic ‘Simple Fields Database to ACF Database’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users