The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › Calling images from media library to my template file in WordPress.
I am creating a custom page type that will call some img tags in the layout, but I would prefer to call the images I have within my media library rather than place the images within the theme I am using.
therefore, this technique would not work for my specific needs.
I have tried searching for the answer but my efforts do not seem to warrant any results.
See wp_upload_dir() function.