Forum Replies Created
-
AuthorPosts
-
Andrew Wheeler
Participanthi peter, thanks for replying. it appears that MB is returning the attachment ID, and in this case divi needs the image URL. there are various posted fixes, but using MB term meta as described here is a code block fix, rather than working WITHk with particular divi modules. one proposed fix is this one; can you see any possible improvements?
Andrew Wheeler
Participantthis worked, thank you. i was also making the mistake of putting it in my rwmb_enqueue_scripts, rather than admin_head.
Andrew Wheeler
Participantno, wait! i am trying to add a second MB admin column after a first one, and that's not working. what does work is if it is adjacent to a default woo column. but not if i'm trying to specify it's position in relation to another MB column. so: before default woo 'date' works, but after custom MB 'product_line' doesn't. i'm following your correction, to specify the column postion using the column ID, and i'm trying to put 'product_routine' AFTER 'product_line' but it doesn't work. putting 'product_routine' BEFORE woo 'date' does. can you have a look at this for me please?
Andrew Wheeler
Participantgreat, thank you, that worked! silly me.
Andrew Wheeler
Participantcould you also explain why i have a default '_id'? how do i get rid of it?
Andrew Wheeler
ParticipantHi Peter!
Thanks for taking a look at this.
{ "post_type": "meta-box", "post_title": "Product line", "post_date": "2023-08-18 20:16:24", "post_status": "publish", "post_content": "", "settings": { "object_type": "post", "post_types": [ "product" ], "context": "side", "priority": "high", "style": "default", "tab_style": "", "tab_default_active": "", "class": "", "prefix": "", "text_domain": "your-text-domain", "function_name": "your_prefix_function_name" }, "fields": { "checkbox_list_pepuiqyfikc": { "_id": "checkbox_list_pepuiqyfikc", "name": "Product line", "id": "product_line", "type": "checkbox_list", "label_description": "", "desc": "", "options": "Olive\r\nSnail\r\nHyaluronic", "std": "", "min_clone": "", "max_clone": "", "add_button": "", "admin_columns": { "enable": true, "position": { "type": "after", "column": "Categories" }, "title": "", "before": "", "after": "", "sort": true, "link": "edit" }, "columns": 12, "before": "", "after": "", "class": "", "sanitize_callback": "", "save_field": true } }, "data": [], "meta_box": { "title": "Product line", "id": "product-line", "post_types": [ "product" ], "context": "side", "text_domain": "your-text-domain", "function_name": "your_prefix_function_name", "fields": [ { "name": "Product line", "id": "product_line", "type": "checkbox_list", "options": { "Olive": "Olive", "Snail": "Snail", "Hyaluronic": "Hyaluronic" }, "admin_columns": { "position": "after Categories", "sort": true, "link": "edit" } } ] } }Andrew Wheeler
ParticipantIs there an update to this? and, possibly related, i have a Checkbox List top level group that i can't get to display in admin columns either; not the column, or the selected value.
August 11, 2023 at 9:24 PM in reply to: How can I configure the WYSYGYG editor options in MB Frontend Submission? #42898Andrew Wheeler
Participanthi. old thread, but looking for an answer to an issue. I'm using the metabox UI and trying to get the following in quicktags.buttons - strong,em,u,link. i get bold, italics, and link correctly, but not <u> underline.
is it me?
Andrew Wheeler
Participantthanks! that almost got me there. it was:
.postbox:not(.postbox.rwmb-seamless) .rwmb-field .rwmb-labelAndrew Wheeler
Participantthanks! that almost got me there. it was
'.postbox:not(.postbox.rwmb-seamless) .rwmb-field .rwmb-label' for me. -
AuthorPosts