WordPress.org

Ready to get started?Download WordPress

Forums

EG-Attachments
Tag Problem (2 posts)

  1. wtmann
    Member
    Posted 1 year ago #

    Hi,

    I'm trying to use tags to divide my attachment listings on a page. For example, given 4 files, two of which have "comune" as a tag and the other two with "region" I like to show something like this:

    Comune Files

    File 1 ....
    File 2 ....

    Regione Files

    File 3 ....
    File 4 ....

    However, when I put in the shortcodes on the page like so:

    Comune Files

    [attachment size=custom label=doctitle tags="comune"]

    Regione Files

    [attachment size=custom label=doctitle tags="region"]

    what I'm actually getting is this:

    Comune Files

    File 1 ....
    File 2 ....

    Regione Files

    File 1 ....
    File 2 ....

    Am I not using the tags field correctly? Is what I'm trying to do possible with the plugin?

    Thanks!

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

  2. wtmann
    Member
    Posted 1 year ago #

    Hi,

    I found the problem with the tags: that is the tags work fine. The problem is that I can't put the shortcode twice on the same page with different tags, the plugin just repeats the first one inserted. Is this the desired functionality or is it a problem with the plugin? Having the shortcode repeated with different tags on a page allows you to have a single "Documents" page with the attachments divided by tag, such as my example above. Any ideas or comments?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.