How to call file attached by WP Filebase to a post?
-
Hi,
I am using WP-Filebase plugin to upload and attach documents to posts. When I attach a file to a post it shows up either before or after the content automatically, with its defined attributes. But I want to call the attached files through a Page Template php in a certain position of the page. As I am dealing with 100+ pages and different pages will include different doc, ppt or pdf files. The WP-Filebase does this part well. But the only problem is it shows the files in a predefined position.
For example:
I am also using Related Links plugin that allows me to add a code
<?php related_links(); ?>
in a page template wherever I want. I just have to add the links to a page or post in wp page editor.In this case I want something like that. Or is there any way to call the file attached to the page or post by WP-Filebase according to page id?
- The topic ‘How to call file attached by WP Filebase to a post?’ is closed to new replies.