Check what attached image size is used

I think I’d use the get_image_tag filter for this – it provides you with the size as one of the parameters. Something along the lines of: function wrap_wide_image_tags($html, $id, $alt, $title, $align, $size) { if($size == ‘wide-image’) { $html=”<div class=”wrap-wide-image”>”.$html.'</div>’; } return $html; } add_filter(‘get_image_tag’, ‘wrap_wide_image_tags’, 10, 6); Hope this helps!

Email Attachment from Form Submit

Alright so I feel rather stupid now, especially because I have found the solution to my own problem right after posting my question here, but also because I would have found it much earlier had I properly debugged my page (implemented a way to look at return error codes). Anyways… As stated in my EDIT … Read more

Media library quick/inline edit

As an alternative to the List View, you can use the Grid View by clicking the icon with 4 squares at the top of the Media Library when viewing all items. When clicking on an item, a modal will appear. It has navigation arrows at the top to left you quickly navigate items. Edits are … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)