最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Media Library modal customization

programmeradmin1浏览0评论

I have a fashion website and I use a large amount of images on my website, As I add new products I should add product images and for that I use media library modal but the problem is working with this feature is very hard because I should search my product images from thousand of images and for that I should scroll down and wait and then scroll down and wait and it takes hours to do that , is it a way to customize this modal for example loading more images in each scroll call or make it with pagination so I can skip some pages .

please help thanks

I have a fashion website and I use a large amount of images on my website, As I add new products I should add product images and for that I use media library modal but the problem is working with this feature is very hard because I should search my product images from thousand of images and for that I should scroll down and wait and then scroll down and wait and it takes hours to do that , is it a way to customize this modal for example loading more images in each scroll call or make it with pagination so I can skip some pages .

please help thanks

Share Improve this question asked Sep 25, 2020 at 12:35 ahmad shahoseiniahmad shahoseini 1
Add a comment  | 

1 Answer 1

Reset to default 0

By default, in the Media Upload Modal Box you can only filter by Date (Month uploaded) and/or Search. To fully take advantage of the search function you should have proper filenames, alt text and description of every image when you upload them.

For pagination you can go to your Media Gallery and turn on List Mode:

Or directly by visiting: https://yoursite/wp-admin/upload.php?mode=list

If you want to customize the modal box and extend its functionality to filter by taxonomies like this:

please have a look at this answer. You can find the full code for Media Taxonomies at GitHub here.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论