Support » Plugin: WP-Filebase Download Manager » [Plugin: WP-Filebase Download Manager] Can you use a shortcode for one single file?

Viewing 6 replies - 1 through 6 (of 6 total)
  • belg4mit

    (@belg4mit)

    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.

    belg4mit

    (@belg4mit)

    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.

    Cheers!

    Plugin Author Fabian

    (@fabifott)

    WP-Filebase adds a button to the visual editor, see the screenshot:
    http://s.wordpress.org/extend/plugins/wp-filebase/screenshot-4.png

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

    jooki

    (@jooki)

    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…

    belg4mit

    (@belg4mit)

    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?

    Update to latest version. Now everythng should work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP-Filebase Download Manager] Can you use a shortcode for one single file?’ is closed to new replies.