Loop through all media library images and return those where caption contains the text carousel
Im new to WordPress but I’m looking for a way to loop through all the images that have been uploaded to the media … Read more
Im new to WordPress but I’m looking for a way to loop through all the images that have been uploaded to the media … Read more
So, I’m no big fan of how WP stores images (image data) and I was hoping there had been made some improvements in … Read more
I’ve read a couple of things about the wp.media object and have successfully initialised in the state that I can find to upload … Read more
I have enabled SVG uploads using this code: add_filter(‘upload_mimes’, function($mimes) { $mimes[‘svg’] = ‘image/svg+xml’; return $mimes; }); However, uploads of SVG files that … Read more
A plugin created lots of posts that I now need to delete. They are targetable by category (e.g. Tweet). Many also have attached … Read more
Is there a possible way to get the alt text from the media file by just knowing the URL? For example, if the … Read more
Until now I have used default WordPress directory structure, however since I started using GIT, I plan to setup WordPress as a submodule … Read more
I’m trying to get the alt text of our featured image and have it output on the frontend. Currently my code is <img … Read more
When uploading images via the media manager there are a couple of set sizes available such as thumb, medium and large. I do … Read more
Have been developing a site and noticed that all of the media files were being saved in the default WP year/month/day rule in … Read more