• wtmann

    (@wtmann)


    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!

    https://www.ads-software.com/extend/plugins/eg-attachments/

Viewing 1 replies (of 1 total)
  • Thread Starter wtmann

    (@wtmann)

    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?

Viewing 1 replies (of 1 total)
  • The topic ‘Tag Problem’ is closed to new replies.