Dan Rossiter
Forum Replies Created
-
Forum: Plugins
In reply to: [Document Gallery] WP 4.4.2: Click on thumbnailHi Harald,
Can you link me to a page where this is happening?
-Dan
Forum: Plugins
In reply to: [Document Gallery] WordPress 4.5 compatible?Hi Bjarne,
We have not tested with WP 4.5 yet. Skimming the focus areas for this release, it’s possible there are some areas where DG may need tweaks, but we’ll be investigating fully prior to WP 4.5 release.
-Dan
Hi Turner,
I see that pagination is now working on your site so I will assume this issue is resolved and close out the ticket.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Documnet Icons Stretched outHi Nina,
If you go to
Dashboard -> Settings -> Document Galleryand change the first textbox afterMax Thumbnail Dimensionsto 89, you should then get images generated that are exactly what the CSS is styling the images as. By default, images are generated larger than the CSS supports so there is a brief moment when loading, before styling has been applied to the images, where they will show up at around 200px on their longest side.-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Add shortcode attribute for include_childrenHaha! Glad you got it working!
-Dan
Forum: Plugins
In reply to: [Document Gallery] Add shortcode attribute for include_childrenHi John,
Version
4.2includes this change. You’ll want to includetax_name_include_children=false as an attribute in your shortcode.Thanks for the suggestion and enjoy!
-Dan
Hi Tuner,
Please try changing to a default theme. If that doesn’t resolve the issue, try also disabling all plugins except for DG.
All of your JavaScript is being stripped from the footer so nothing will work until that is addressed.
-Dan
Hi Tuner,
You have limit set to -1 so paginate will not do anything as your limit is infinite. Set the limit to how many documents you want per page and you should get your expected behavior.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Feature Request: Offset parameter for more flexibilityHi Bjarne,
Such a parameter actually already exists (
skip) — it is just not documented. We added it at the same time pagination was added to support AJAX calls when retrieving an independent page from a given gallery.You’ll want to do the following:
[dg columns="3" limit="3" skip="1" id="1234"]-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Hi Bjarne,
You would need to categorize the actual PDF. Its parent post having the category will unfortunately not be enough.
There are a number of plugins that will add support for categorizing attachments to WP, including Media Categories which was mentioned in that post you linked to.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Custom icons?Ben,
Document Gallery will generate thumbnails for any attachments included in a gallery that it understands. You can enable different thumbnail generation methods on the settings page
Dashboard -> Settings -> Document Gallery.-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Custom icons?Hi Ben,
I’m glad you’re finding the plugin useful!
Custom icons have actually been on the todo list for quite some time. The priority for that issue went down quite a bit once auto-generation for documents was supported, but it’s still on the list! π
-Dan
Forum: Plugins
In reply to: [Document Gallery] search document nameHi Koh, Kah Huat,
Document Gallery cannot implement what you want, however it would be a good solution for the solution portion of your requirements. You would need to implement the
searchpart yourself, but, once matching attachments are identified, the display portion can simply invokedo_shortcodeusing the DG shortcode and passing in the matched attachemts to DG’sidsfield.Functionality similar to this is exactly what I originally created this plugin for many years ago now so definitely possible π
-Dan
Forum: Plugins
In reply to: [Document Gallery] Filter pdf-documents by yearHi fredrikk,
The best solution for what you want is going to be categorizing your documents by year AND what you are currently categorizing by. So for example, modifying the sample shortcode you gave:
[dg order="DESC" orderby="name" media_category="2015,Remissvar" media_category_relation=AND limit=-1 columns="1" id="-1"]Please let me know if there is anything further I can do to help.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Glad to be of service! π
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π