Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5125
    hiiabiia
    Participant

    I tried to insert the shortcode into a text widget on a sidebar….doesn’t work. Is there a way to get the download attachment in a sidebar?

    #5952
    vspelman
    Participant

    You can use below short code in widget but before using this need to install shortcode excute in widget plugin.
    [download-attachments container=”div” title=”Attachments” style=”list” display_icon=”1″ display_size=”1″]

    #5953
    Bartosz
    Keymaster
    
    add_filter('widget_text', 'do_shortcode');
    
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.