HI,
is it possible to include this into theme page so if a page has attached documents it will automatically display docs? This way I can have pre-prepared theme. Something like:
<?php if (function_exists('document gallery')) echo ('get_attachment_icons'); ?>
Thanks
http://wordpress.org/extend/plugins/document-gallery/
Or perhaps to add it in widgets, that would be cool since than it would automatically be listed if a page has attachments... simmilar to Document Attachment Widget.
Thanks
My mistake. For including in template:
<div class="inheritssomeclass">
<?php echo do_shortcode('[document gallery]'); ?>
</div>
@gojak: Thanks for the comment! It sounds like you found a solution for your own question so I'm going to mark this as resolved, but do let me know if you have any other questions.
Thank you, no more questions. :)
All the best!