- This topic has 4 replies, 2 voices, and was last updated 6 years, 2 months ago by
erikkubica.
-
AuthorPosts
-
-
December 11, 2015 at 11:25 am #5298
erikkubicaMemberHi,
as I seen on this forums not only I have this problem.
Problem is that after adding post or page, when i want to update any kind of meta field, its not updated. I am using same fields using get_template_part in CPT´s where it works fine. Only post and page is affected. BUT when i click to show custom fields in display options and i edit field values here, it updates correctly.
Setup:
WP 4.4 with Piklist 0.9.9.X (because editor field works in repeated field)I have tried to debug the piklist plugin, it seems that in file class-picklist-form.php on line 3021
“elseif (in_array($scope, array(‘post_meta’, ‘term_meta’, ‘user_meta’, ‘comment_meta’)))”
when i do echo field name in foreach and i stop the execution after the foreach, then the fields is succesfully saved into database.
Please let me know how i can fix that, its extremly urgent.
Thank you.
Attachments:
You must be logged in to view attached files. -
December 11, 2015 at 1:07 pm #5300
SteveKeymasterDo the built in Demos work?
-
December 11, 2015 at 1:12 pm #5301
erikkubicaMemberThank you for reply.
Piklist demos are CPT (post_type=piklist_demo) so yes, as i mentioned, CPT-s works, only post_type=post && post_type=page are bugged.
-
December 11, 2015 at 1:22 pm #5302
SteveKeymasterGuessing the custom fields meta box is interfering.
Try removing using remove_post_type_support
-
December 11, 2015 at 1:32 pm #5303
erikkubicaMemberYou are right, i have tried before the “remove_meta_box” that does not worked, but remove postype support works as expected. I hope piklist team will add an condition to detect this and do it automatically. And thank you for this great tool.
-
-
AuthorPosts
- The topic ‘[v0.9.9.X] Post/Page meta fiels not updating, CPT works fine’ is closed to new replies.