Timeline for Accessing Media/Files outside the_content
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 21, 2012 at 12:45 | comment | added | matthewvb | I was searching for a plugin that would allow me to set a "featured attachment" and then use a shortcode or some php on the page to allow for that attachment to be downloaded. Sorry I wasn't clear. | |
Jun 21, 2012 at 8:05 | comment | added | MaximOrlovsky | I think I don't understand what you expect to receive. Do you you need a shortcode? or better formatting? or both? | |
Jun 19, 2012 at 18:29 | comment | added | matthewvb |
I ended up using the WP-Filebase Download plugin. This allowed me to pull the attachments into a shortcode list that I could put in my template file outside the_content() .
|
|
Jun 19, 2012 at 18:05 | comment | added | matthewvb | Also would like to figure out how to exclude an attachment from this list -- or better yet set an attachment as "featured" and only display that. | |
Jun 19, 2012 at 18:04 | comment | added | matthewvb |
Thanks Maxim - When I do that I get a lot of extra text that doesn't seem to be related to the attachment. I took out the_title() and the_excerpt() but need to figure out formatting.
|
|
Jun 19, 2012 at 17:38 | history | answered | MaximOrlovsky | CC BY-SA 3.0 |