WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. stempere
    Member
    Posted 2 years ago #

    Hi,

    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.

    Thanks.

    http://wordpress.org/extend/plugins/wp-filebase/

  2. Fabian
    Member
    Plugin Author

    Posted 1 year 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