Updating fields
-
I’m back! I know I can find a work-around for this issue, but I’m having trouble getting certain properties to update in custom fields.
Problem 1. Can’t update wp_autop settings. After I have created a wysiwyg field, I wanted to change it to use wp_autop(). I added
'wpautop' => true, // use wpautop?
to the options array, but nothing changes. No paragraphs are generated on the front-end. Is this something that gets set once and needs to be manually changed in the database? Is my syntax wrong?Problem 2. Can’t update field ‘id’. I have a field with this setting:
'id' => $prefix . 'test_embed'
. If I change the settings to `’id’ => $prefix . ‘video_embed’, nothing seems to happen. I still have to use the ‘test_embed’ name when calling it with get_post_meta. I imagine that these two problems have the same solution, but I’m not sure what it is.Any help is always appreciated. Thanks!
- The topic ‘Updating fields’ is closed to new replies.