• marianogi

    (@marianogi)


    Hi,
    I am trying a simple loop filtering by tags. But most of my tags contain spaces and the plugin fails (empty output).
    I am trying this:
    [loop type=post tag='some text' count=5]

    Please help!
    Thank you in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Peter Berger

    (@peterpolow)

    Hi,

    I think you have to use the slug of the term. If the tag term is “Some text”, in most cases the slug is some-text.

    Give it a try:

    [loop type=post tag=some-text count=5]
    [field title]
    [/loop]

    Peter

    Thread Starter marianogi

    (@marianogi)

    YES!!!!!!!!!!!!
    Thank you very much, Peter!!

    Peter Berger

    (@peterpolow)

    You’re welcome. Don’t forget to mark this topic as “resolved”. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Quotes doesn’t work with spaces’ is closed to new replies.