• Resolved pizzapie79

    (@pizzapie79)


    Hi, I’m using your plugin to hide/show a section using a “post-term” as Dynamic tag with “in array” condition. Here’s my debug:

    Element:template-5e63abd (widget)
    DynamicTag-Tag:post-terms
    DynamicTag-Key:
    DynamicTag-Value:<span>Borse da donna</span>
    Check-Value:<span>Borse da donna</span>,<span>Women's bags</span>,<span>Borse da uomo</span>
    Check-Value2:
    Condition-Type:default
    Condition:Show if in_array
    Condition met:yes

    As you can see, everything is working right but my post terms are inside <span> tags, and I don’t understand why… maybe it’s something related to your plugin? or do you think there’s something wrong with my custom taxonomy?

    Also, is there a way to use term’s slug instead of term’s name?

    Thanks in advance and keep up the good work ??

Viewing 1 replies (of 1 total)
  • Plugin Author rtowebsites

    (@rtowebsites)

    Hello @pizzapie79,

    they are in span tags, because elementor decided to return them inside span tags.

    Here the code from elementor where its done:

    foreach ( $terms as $term ) {
    				$term_names[] = '<span>' . $term->name . '</span>';
    			}

    There is no way for term’s slug without creating a custom dynamic tag.

    Thank you very much. We close this issue, since it is not about our plugin. If you need any further help, you can rewrite or open a new issue.

    • This reply was modified 4 years, 10 months ago by rtowebsites.
Viewing 1 replies (of 1 total)
  • The topic ‘Using taxonomy slug instead of name’ is closed to new replies.