Query to get latest uploaded files
-
I want to display the latest uploaded file as a featured download on my front page.
is there a “WP_Query” way of doing this? I want to get the title, the description, the file size and any other important information.for instance, if I wanted to do this with woocommerce products, I’d pass the array(‘post_type’ => ‘product’) as argument.
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Query to get latest uploaded files’ is closed to new replies.