WordPress.org

Ready to get started?Download WordPress

Forums

EG-Attachments
More than one list on a post (3 posts)

  1. dancowper
    Member
    Posted 1 year ago #

    I have tried several ways of getting more than one list of attachments on a page or post in different sections. However, they are always displayed as the same attachments. Meaning it will display twice but the same info despite what I put in the shortcode. Any help would be greatly appreciated.

    http://wordpress.org/extend/plugins/eg-attachments/

  2. Joe Banks
    Member
    Posted 1 year ago #

    Yes, I'm experiencing this problem for first time, using EG-Attachments on a Debian server set-up.

    Two sets of documents, tagged differently. When I insert two identical shortcodes, but with different tag references, I get the same attachment list twice, that of the lowest document tag ID.

    I'll work to post more detailed information later as I receive it.

  3. Joe Banks
    Member
    Posted 1 year ago #

    I set up a testing site, with only the TwentyTwelve theme and EG Attachments plugin installed. I added 8 documents, 4 each tagged "excel" or "word."

    This shortcode:

    [attachments size=custom title="Excel Documents" tags="excel"]

    [attachments size=custom title="Word Documents" tags="word"]

    Produces this list:

    Word Documents

    Test Document Word 0 [11 kB, MSWORD]
    Test Document Word 1 [11 kB, MSWORD]
    Test Document Word 2 [11 kB, MSWORD]
    Test Document Word 3 [11 kB, MSWORD]

    Excel Documents

    Test Document Word 0 [11 kB, MSWORD]
    Test Document Word 1 [11 kB, MSWORD]
    Test Document Word 2 [11 kB, MSWORD]
    Test Document Word 3 [11 kB, MSWORD]

    Switching the shortcode order showed the Excel Documents twice.

    Excel Documents

    Test Document Excel 0 [8 kB, MS-EXCEL]
    Test Document Excel 1 [8 kB, MS-EXCEL]
    Test Document Excel 2 [8 kB, MS-EXCEL]
    Test Document Excel 3 [8 kB, MS-EXCEL]

    Word Documents

    Test Document Excel 0 [8 kB, MS-EXCEL]
    Test Document Excel 1 [8 kB, MS-EXCEL]
    Test Document Excel 2 [8 kB, MS-EXCEL]
    Test Document Excel 3 [8 kB, MS-EXCEL]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic