MCBs Won't Update on Post Save
-
This plugin is working great for normal pages/posts. I am trying to use it for a custom post (wp e-commerce products) and am running into a nagging issue. The content blocks show on the edit post page, and when you add content to a post for the first time in any given block, it saves as it should and displays. The issue is when you try to change the value in the block after there already is one in place, it does not update when you save the post. It does save if you make the change in the custom field text area below, but obviously this kind of defeats the purpose as there is no wysiwyg for those.
I am not getting any error, and I would imagine this is a relatively simple fix, as everything is displaying as it should, and saving the first time around, it’s just not updating the value if there is already a postmeta record in place (and only for updates to the block itself – it saves changes made in the custom field area).
I did have to modify refresh_blocks() in class.MCB.php in order to have the blocks still show on the back end after saving, as wp e-commerce is jacked up in the way it generates permalinks, but I don’t see anywhere else where this would be causing an issue.
https://www.ads-software.com/plugins/multiple-content-blocks/
- The topic ‘MCBs Won't Update on Post Save’ is closed to new replies.