Hi Eric -
I'm trying to use this plugin on a client's site where document management is vital. On the test server I can get the plugin to work as a short code, but not as a PHP template tag - and, unfortunately, that's how I need it to work.
I add it to the source like this:
` <h3>Recent website updates</h3>
<ul>
<?php wp_publication_archive(); ?>
</ul>`
And get this on the page:
Fatal error: Call to undefined function wp_publication_archive() in /var/www/virtual/www/CLIENTSITENAME/wp-content/themes/2011new/sidebar.php on line 71
I've also tried it as WP_Publication_Archive since that looks like how it is in the plugin file, but no success.
Do you have any suggestions why this should be, or where I should start looking?
Two other questions:
1. Is it possible to filter the template tag by categories, in the same way the shortcode can be? (Ideally I'd rather do it by tag but I don't think that's available at all, is it?)
2. Is it possible to show only the icon, file title and 'download' link - no other data - without having to hack the plugin code? I suspect it's not...
Many thanks in advance for any help you can give, and obviously ask anything you need to clarify what I'm asking. I can't show you the site, I'm afraid, as it's locked away on a private test server.
Andy