customization - Selecting An image from the Media LIbrary on the frontend

I'm using Wordpress to create a research tool where archival documents are transcribed into a relational database.

I'm using Wordpress to create a research tool where archival documents are transcribed into a relational database.

Part of this is a transcription interface, a custom page. What I'm trying to do (and struggling to do) is create a way so that when somebody transcribes a document, they can select images (that already exist in the media library of my website) to associate with the page.

Frankly, what I'd like to do is be able to us SQL and wpdb to get a list of images uploaded on a certain date (but only of a certain size), present that list to the transcriber, so they can select one or more images.

I'm only using PHP and HTML in my code- I don't know AJAX and most of the solutions I've seen using AJAX are geared towards plug-in developers anyways (and I'm not sure how to adapt that to a custom page)

Do I use wp_posts to get the list of images or is there another way to do it? There's ~500 images that I want to get in the list.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744786070a4593634.html

相关推荐

  • customization - Selecting An image from the Media LIbrary on the frontend

    I'm using Wordpress to create a research tool where archival documents are transcribed into a relational database.

    11小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信