Access html element in media modal with jQuery

(function($){ //since only one label with data-setting=’caption’ exists, use this selector $(“[data-setting=caption]”).children(‘textarea’).attr(‘required’, true); })(jQuery); I’m more curious as to how adding this would affect anything since these labels are not inside a <form> element?

Allow users to upload attachments to certain posts

One way to do this might be with a plugin such as Gravity Forms, they allow you to create posts from a form, you can upload images too. They have an add on that helps you with this: https://www.gravityforms.com/add-ons/advanced-post-creation/ You can also see a bit more on this information here: https://fewerthanthree.com/tutorial/using-gravity-forms-multi-file-uploads-when-creating-a-new-post/ There might be other … Read more

Broken images on iphone

You either upload or convert your images after upload to webp format, which is supported by limited range of browsers (see https://caniuse.com/#feat=webp for complete list). The important information for you is that it’s not supported in iOS Safari I suggest you re-upload your media in other image format (jpeg, png etc.). If you want to … Read more