Open xmlmes opened 10 years ago
Hello Did you get any answer ? I would like to update mine but no idea if that works this way!
I changed the theme, I suppose no exist a solution
You can do something like this:
First save your post, than update it
widget.id = wp.call(posts.NewPost(widget)) widget.custom_fields = [] for k, v in custom_fields_dict.items(): widget.custom_fields.append({'key': k, 'value': v}) out = wp.call(EditPost(widget.id, widget))
I can't add or edit any information in some custom fields. I speak about blog post, not another content.
Field with atribute name="url_video" I haven't problem. But for example name="data[url_video]" doesn't work to add/edit.
I think only occurs this with custom field that contains [ ]. Is there any known problem? I can't find anything in Internet. Is a bug, not possible to do or an error in code?
My Python code that works:
My Python code that doesn't works: