Support Forum » User Profile

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Divi Blurb module image and link #46765
    Andrew WheelerAndrew Wheeler
    Participant

    hi 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?

    in reply to: thumbnail size #43068
    Andrew WheelerAndrew Wheeler
    Participant

    this worked, thank you. i was also making the mistake of putting it in my rwmb_enqueue_scripts, rather than admin_head.

    in reply to: Admin column for Checkbox List #43059
    Andrew WheelerAndrew Wheeler
    Participant

    no, 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?

    in reply to: Admin column for Checkbox List #43048
    Andrew WheelerAndrew Wheeler
    Participant

    great, thank you, that worked! silly me.

    in reply to: Admin column for Checkbox List #43030
    Andrew WheelerAndrew Wheeler
    Participant

    could you also explain why i have a default '_id'? how do i get rid of it?

    in reply to: Admin column for Checkbox List #43029
    Andrew WheelerAndrew Wheeler
    Participant

    Hi 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"
                    }
                }
            ]
        }
    }
    in reply to: Fields inside groups not showing as admin columns #42990
    Andrew WheelerAndrew Wheeler
    Participant

    Is 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.

    Andrew WheelerAndrew Wheeler
    Participant

    hi. 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?

    in reply to: hide field label if :not seamless #42838
    Andrew WheelerAndrew Wheeler
    Participant

    thanks! that almost got me there. it was:
    .postbox:not(.postbox.rwmb-seamless) .rwmb-field .rwmb-label

    in reply to: hide field label if :not seamless #42837
    Andrew WheelerAndrew Wheeler
    Participant

    thanks! that almost got me there. it was
    '.postbox:not(.postbox.rwmb-seamless) .rwmb-field .rwmb-label' for me.

Viewing 10 posts - 1 through 10 (of 10 total)