Dan Rossiter
Forum Replies Created
-
Forum: Plugins
In reply to: [Document Gallery] ability to add categoriesHi feuchtk,
You’ll want to use the taxonomy functionality documented in the Installation tab to achieve that layout.
Also, see these two related posts: How was the sample done? & Categories for media files.
All the best,
DanPS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] open pdf in new tabHi Louis,
This functionality is not currently built into DG, but this is a solution for what you want: https://wordpress.org/support/topic/open-pdf-in-new-window-1
All the best,
DanForum: Fixing WordPress
In reply to: 3.6 Media Manager blank/empty — doesn't show uploadsOdd. I’ve reproduced on a windows box and an Ubuntu box.
Forum: Plugins
In reply to: [Document Gallery] How was the sample done?Hi Bruce,
Answering the last part first, the “Published from…” is the description for that attachment. By enabling the descriptions attribute, those are rendered alongside each attachment.
For the first part of your question, I would recommend using custom taxonomies to handle this. If you have a taxon for each year and assign your attachments to that taxon, then order by date published then you should get the behavior that you are after. The custom taxonomy support is described on the Installation tab.
Please let me know if you have any further questions!
-Dan
Forum: Plugins
In reply to: [Document Gallery] The taxon value entered, "0", is not valid.Hi Kev,
What you’ve described is correct behavior. If you have spaces in a property value then you must quote it.
Glad you’ve gotten it working!
-Dan
Forum: Plugins
In reply to: [Document Gallery] The taxon value entered, "0", is not valid.Hmm… that shouldn’t be an issue. Can you give me a specific example of what is happening and what is attached to the current page/post?
-Dan
Forum: Plugins
In reply to: [Document Gallery] The taxon value entered, "0", is not valid.Interesting… Nothing is obviously wrong with what you are writing.
Which Document Gallery version are you using?
-Dan
Forum: Plugins
In reply to: [Document Gallery] Shortcode generator in TinyMCE toolbarHey Guy,
Your rationale for why this is a good feature made me laugh! π
You’re one step ahead of the game! This enhancement is actually scheduled to be our next minor release (https://github.com/thenadz/document-gallery/issues/6). The plan is actually to integrate shortcode generation into the Media Manager rather than the TinyMCE editor though — the same setup as the standard
[gallery].-Dan
Forum: Plugins
In reply to: [Document Gallery] tax_query operator – changingNo problem!
And yeah, I agree it’s pretty well hidden! I’ll work on making it a bit more prominent in the near future! π
-Dan
Forum: Plugins
In reply to: [Document Gallery] tax_query operator – changingHey Joe,
You’re looking for the relation and <taxon name>_relation attributes (documented here).
-Dan
Forum: Plugins
In reply to: [Document Gallery] Multiple Galleries on a single pageHi John,
Point #2 was addressed in Document Gallery v3.0.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] and other media?Fantastic! Happy to hear that, Katrina! π
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] and other media?Hi Katrina,
Document Gallery can support any attachments. As long as it is attached through WordPress’ Media Management. YouTube items would cause issues unless you have some third-party plugin that allows attaching them, but the other items shouldn’t be an issue.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Not working?For anyone reading this thread, the issue was resolved.
The problem was that only attachments on the page/post where the gallery was generated were being queried against when matching against the category. If you want to match attachments with a given category attached to any post, you just need to include the
id=-1property (eg:[dg category=xyz id=-1]).-Dan
Forum: Plugins
In reply to: [Document Gallery] categorize mediaHi pwpvinci,
Your post actually helped me realize the fix for another support question (https://wordpress.org/support/topic/not-working-1102), so thanks!
The fix is annoyingly simple — include “id=-1” in your shortcode. This is equivalent to the old “localpost=false” parameter.
-Dan