Need help
-
Ok, so this is the shortcode I have been using and could had sworn it was working before. Basically I want the viewer to be able to sort by year (Basically I created 2017,2018,2019,2020 tags) using the tags while in the same category. As of now, when I click on the tag it no longer is sorted by the initial category “co” and just displays everything regardless of category under that tag.
<center>[mla_tag_cloud] taxonomy=attachment_tag mla_link_href="[+page_url+]?current_id={+term_id+}" number=0 smallest=12 largest=12 separator=' / ' minimum="1" [/mla_tag_cloud]</center> [mla_gallery] attachment_category=co link="lightbox" orderby="date DESC" width="300" height="300" tax_query= "{+template:(array \\( 0 => array \\( 'taxonomy' => 'attachment_tag', 'field' => 'id', 'terms' => array\\( {+request:current_id+} \\) \\) \\))+}" mla_caption="{+image_alt+}" mla_alt_shortcode="su_custom_gallery" mla_alt_ids_name="source" mla_alt_ids_template="media: {+alt_ids+}" columns=5 posts_per_page=20 [/mla_gallery] [mla_gallery] attachment_category=co mla_output="paginate_links,prev_next" mla_link_class="nav-links" tax_query= "{+template:(array \\( 0 => array \\( 'taxonomy' => 'attachment_tag', 'field' => 'id', 'terms' => array\\( {+request:current_id+} \\) \\) \\))+}" columns=5 posts_per_page=20 size=full link=file [/mla_gallery]
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Need help’ is closed to new replies.