Support Forum » User Profile

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Pull a field from a different post #16136
    DraganDragan
    Participant

    Hi Anh Tran, I managed to do it by myself.

    Can you paste in the code how to pull 'sizes' from 'Image Upload' field and place sizes inside tag, thank you. ( because $image['sizes'] causes array to string conversion notice )

    in reply to: Color Picker Alpha channel slider duplicate #15423
    DraganDragan
    Participant

    Another bug (mentioned in my reply above) is that the 'Color code' and 'Clear' fields are hidden.

    See the generated code:

    Color code and clear fields hidden

    As you can see, the 'Color code' input (rwmb-color) has data-options 'hide' option set to true which I guess adds the "display: none;" line in its "style" attribute. And the button input has the 'hidden' class which, by WordPress core ui CSS also produces display: none;

    If another plugin is using Iris, it would be best that your code anticipates possible conflicts and makes sure that your Iris elements, that are meant to be visible, stay visible.

    Thanks

    P.S. I solved my issue with some !important CSS that forces those fields to display: inline-block; but it would be best if your code does it by default. Here's the code if anyone else needs it:

    /* Metabox COLOR PICKER 'color code' and 'Clear' inputs FIX */
    .rwmb-field.rwmb-color-wrapper .rwmb-input .wp-picker-container.wp-picker-active span.wp-picker-input-wrap input[type=text].wp-color-picker,
    .rwmb-field.rwmb-color-wrapper .rwmb-input .wp-picker-container.wp-picker-active span.wp-picker-input-wrap input[type=button].wp-picker-clear {
        display: inline-block !important;
    }
    in reply to: Color Picker Alpha channel slider duplicate #15419
    DraganDragan
    Participant

    Hi Anh,

    No errors in console.

    That's weird, mine only has the color field and the duplicated alpha slider. It doesn't even have the color code and 'Clear' fields.

    Could you give me the code for that particular field from your image? I'd like to paste it in and test it.

    Thanks.

    in reply to: How to create metabox fields in widgets? #15404
    DraganDragan
    Participant

    I very much support this idea.

    DraganDragan
    Participant

    I'm having serious width issues on 'New Category' page
    Link to screenshot

    It seems that WordPress' default css sets the width of options page for new category to 800px:

    #edittag {
    max-width: 800px;
    }

    and your plugin doesn't fare well with this.

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