Hi,
I have a website that has products like computer boards. They have Manuals, Drivers for Windows, DOS, Linux, etc. What I want is that sidebar.php would display a Manuals button when there are manuals for that product, as well as Drivers button when there are drivers available.
Therefore I need to be able to generate from php code a link to a page that would list Drivers and another one for Manuals. So far I have used a custom property to hold the file ID to feed into wpm_get_package.
That works for some instances of Manuals when I have only one file (there might be more than one kind of Manual per product). But obviously doesn’t work as I expected for drivers. I thought I could somehow get a category ID and display a category instead, but categories seem to only render the text from the file packages it contains, no links to them.
How would you suggest that I implement that?