Forum Replies Created
-
AuthorPosts
-
Dragan
ParticipantHi 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 )
Dragan
ParticipantAnother bug (mentioned in my reply above) is that the 'Color code' and 'Clear' fields are hidden.
See the generated code:
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; }Dragan
ParticipantHi 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.
Dragan
ParticipantI very much support this idea.
January 26, 2019 at 1:38 AM in reply to: ✅Select elements with long titles from relationship boxes break out of meta box #13138Dragan
ParticipantI'm having serious width issues on 'New Category' page
Link to screenshotIt 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.
-
AuthorPosts