Admin back end – get URL of file using file browser
You can scan the directory for files with glob() then loop throw the results and list them in a admin modal (thickbox) or just show the list within a admin metabox in the post editor. Here’s a little snippet that i was playing with. /** * Get HTML Article Files from uploads/articles * Support both … Read more