wanderingeyedog
Forum Replies Created
-
Hi David! Thanks for the response!
I tried your shortcode, and although I didn’t get an error I also didn’t pull any results from WP. It came up blank. Not sure why, so I played around a little bit with the dates and still couldn’t get it to pull up any media attachments. Any ideas what could be the problem?
Also, do I need to specify the month and day? Or can I just go by year?
Thanks again!Perfecto! The addition of the modification worked as it was before! Thanks again David! GREAT plugin!!!
Hi David, I need your support again…
When I updated my Media Library Assistant plugin this short code broke, and it now displays incorrectly. It dumps all of the files underneath the cloud even when you haven’t clicked on any of the tags. Also, when I click on one of the attachment page links it now comes up “Page Not Found.”Here is my shortcode:
[mla_tag_cloud] taxonomy=attachment_tag post_mime_type="audio" mla_link_href="[+page_url+]?current_id={+term_id+}" number=0 smallest=12 largest=40 separator=' / ' [/mla_tag_cloud] [mla_gallery] tax_query= "array ( array ( 'taxonomy' => 'attachment_tag', 'field' => 'id', 'terms' => array( {+request:current_id+} ) ) )" post_mime_type="audio" columns=3 posts_per_page=500 size=none [/mla_gallery] [mla_gallery] mla_output="paginate_links,prev_next" mla_link_class="nav-links" tax_query= "array ( array ( 'taxonomy' => 'attachment_tag', 'field' => 'id', 'terms' => array( {+request:current_id+} ) ) )" post_mime_type="audio" posts_per_page=500 [/mla_gallery]
Thanks in advance!
- This reply was modified 3 years, 3 months ago by wanderingeyedog.
Okay, that worked! However it links directly to the MP3 file instead of the attachment page. There’s probably an easy fix, but I can’t figure it out. Here is my shortcode:
[mla_tag_cloud] taxonomy=attachment_tag post_mime_type="audio" mla_link_href="[+page_url+]?current_id={+term_id+}" number=0 smallest=12 largest=12 separator=' / ' [/mla_tag_cloud] [mla_gallery] tax_query= "array ( array ( 'taxonomy' => 'attachment_tag', 'field' => 'id', 'terms' => array( {+request:current_id+} ) ) )" post_mime_type="audio" columns=3 posts_per_page=20 size=none link=file [/mla_gallery] [mla_gallery] mla_output="paginate_links,prev_next" mla_link_class="nav-links" tax_query= "array ( array ( 'taxonomy' => 'attachment_tag', 'field' => 'id', 'terms' => array( {+request:current_id+} ) ) )" post_mime_type="audio" posts_per_page=20 [/mla_gallery]
I think I understand, I will need to add code to my archive pages to include Media Library items?
But there is a workaround,
link=current
andmla_link_href
?
Do you think you could help me use mla_link_href to link to the search feature with GET?I don’t understand exactly what you mean by
want to use the tag cloud to filter an [mla_gallery] display, selecting items assigned to the cloud term when it’s clicked on
No, I don’t think so.
I just want to create a tag cloud where each link goes to a list of attachments (songs) by each artist. Or at least goes to some form of content other that a “nothing found” page.
I looked at the resources you provided and I still couldn’t figure out a shortcode.