Show uploaded pdf files dynamically and filter by month name
unfortunately, I can’t write comments yet, I don’t have enough reputation. first, the file path must be absolute. $filename = __DIR__.’/wp-content/uploads/2020/10/’. $months.’.pdf’; second, does the frontend browser handle file uploads? On JS or something else?