Hi Reson8,
Here are the step-by-step directions to setup a document gallery using categories:
- Install Document Gallery & Media Library Categories
- Upload the documents to be included in the gallery
- For each of the uploaded documents, set the
category equal to xyz on the edit page
- In the post where you want the gallery displayed, include this shortcode:
[dg category=xyz localpost=false]
NOTE: If you are only planning to have the documents displayed on a single page, you should upload the documents directly to that page (on the page edit screen in the top left is a button to “Add Media”. If you do this, the localpost attribute can be removed from the above shortcode, making it [dg category=xyz].
Please let me know if you’re still stumped after following these directions and we’ll keep working to figure out what’s happening.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! 🙂
Thread Starter
Reson8
(@reson8)
Hi Dan
I have done that using the latter suggestion, the links show on the page as they would without the shortcode. ie plugin does not seem to function
code is
[dg category=xyz]
Human electromagnetic emission in the ELF band
Study Antioxident
Looking at the page, the plugin is running and finding no matches to the query (if you search for “No attachments to display.” in the HTML you’ll see the document gallery output). In other words, no attachments exist that have a category of that name (note that it is case sensitive).
Have you tried including localpost=false (ie: [dg category=xyz localpost=false])? Other than that, I’m at a loss as to what to tell you. This setup has worked for a number of other users, including myself.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! 🙂