The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WP-Filebase Download Manager
Shortcode : list of files from current post not showing (2 posts)

  1. stempere
    Posted 4 years ago #


    since the last update a shortcode stopped working, i use it to manually display the list of files attached to a post in my sidebar template (since there is no widget to do that).

    I was using:
    do_shortcode('[wpfilebase file_post_id='.get_the_ID().' post_id='.get_the_ID().']');
    And it worked just fine.

    I tried to be more specific since the update (and more syntaxically correct) by using:
    do_shortcode('[wpfilebase tag=list file_post_id='.get_the_ID().' post_id='.get_the_ID().' /]');
    but it didn't resolve the isue.

    Did the shortcode change?
    I can't seem to find any documentation on that point.



  2. Fabian
    Plugin Author

    Posted 4 years ago #

    Actually nothing changed with shortcodes recently. I'm surprised that your code worked ;).
    Try this one:
    [wpfilebase tag=attachments]
    This should list the attachments of the current post.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic