Strange behaviors from tag cloud/gallery
-
I’m seeing some strange behaviors in tag-cloud recently, though not really sure if they have been there all along or not…
At first I thought this only applied to attachment tags that had a space in the name, so was searching (so far saucerful) for a solution there but then now I find some spaced tags that work and can’t figure out why some and not the others…
The gallery code is:
[mla_gallery] tax_query= "array ( array ( 'taxonomy' => 'attachment_tag', 'field' => 'name', 'terms' => array( {+request:current_name+} ) ) )" post_mime_type=image orderby=date order=DESC mla_caption=' ' columns=5 posts_per_page=20 size=thumbnail link=file [/mla_gallery]
and the tag cloud code is:
[mla_tag_cloud] taxonomy=attachment_tag post_mime_type=image mla_link_href="/images-by-tags/?current_name={+name+}" minimum=2 number=200 smallest=8 largest=16 separator=' - ' [/mla_tag_cloud]
“horse racing” and “pumpkin patch” work, but “race track” and “walk-the-winds” come up blank. “sun glasses” pulls up the images for “glasses” (which works properly) and not it’s own images.
Ideally I’d like to know why some are working and others aren’t but for all the broken tags, if I manually add quotes the URL they then show the correct images in the gallery so I’m thinking adding quotes to the link would be a perfectly viable work around if anyone can tell me how to make that work…
The page I need help with: [log in to see the link]
- The topic ‘Strange behaviors from tag cloud/gallery’ is closed to new replies.