Need help with wp.media calling using javascript

[ad_1]

I have minimal understanding of the coding functions WP, but have been trying to write my own script code, which uses a button click to read specific media library files and display them on a page.

I keep getting console errors, and am becoming very frustrated.

Any assistance would be appreciated, and I would be glad to share the code I have written.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer