WP-Filebase Download Manager
Can you use a shortcode for one single file? (7 posts)

  1. Persephone33
    Posted 4 years ago #

    I would like to use this to put a shortcode within a document, for one single file (not a list) - is this possible?


  2. belg4mit
    Posted 4 years ago #

    I would also like the ability to use a shortcode to link to specific files in locations other than the post a file is attached to.

  3. belg4mit
    Posted 4 years ago #

    Apparently this already exists, but is un(der)documented.
    The author's website has some thin documentation that indicates there is a wizard in the Visual editor, but it is incomplete. Therefore I dug into the code and found that one could do:

    [wpfilebase tag=file id=136]

    To provide a link block for file 136. You can also include tpl as an attribute to the shortcode to specify a template other than the default for display.


  4. Fabian
    Plugin Author

    Posted 4 years ago #

    WP-Filebase adds a button to the visual editor, see the screenshot:

    You can create all supported shortcodes with this wizard, including single file tags.

  5. jooki
    Posted 4 years ago #

    exactly this button is not working at my blog's visual editor.
    can someone tell the shortcodes for manual insert?

    if found this working
    [wpfilebase tag=file id=2 tpl=simple]

    but the plugin is not really hiding the URL isn't it?
    In Firefox i can't make it hide the download link by any option...

  6. belg4mit
    Posted 4 years ago #

    Correct, the visual editor is broken, and probably should not be the only way to access the feature.

    I'm not sure about hiding it, but I assume restricting access to the download by user level works. It seems to work for the daily file limits at least. Have you tried viewing the post in a second browser without session cookies/a new MultiFox identity profile?

  7. 14nc310t
    Posted 4 years ago #

    Update to latest version. Now everythng should work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic