MLA Gallery Shortcode
-
Hi. Thanks so much for such a good plugin. I was looking for different options. This plugin is the best.
I have a question.
I need to make a page with a gallery and a tag cloud.
Here is the code:[mla_tag_cloud] taxonomy=attachment_tag mla_link_href="[+page_url+]?current_id={+term_id+}" number=0 smallest=12 largest=12 separator=' / ' [/mla_tag_cloud] [mla_gallery] tax_query= "array ( 0 => array ( 'taxonomy' => 'attachment_tag', 'field' => 'id', 'terms' => array( {+request:current_id+} ) ) )" mla_caption="{+image_alt+}" columns=3 posts_per_page=20 size=full link=file mla_link_class="nav-links" [/mla_gallery] [mla_gallery] mla_output="paginate_links,prev_next" mla_link_class="nav-links" tax_query= "array ( 0 => array ( 'taxonomy' => 'attachment_tag', 'field' => 'id', 'terms' => array( {+request:current_id+} ) ) )" columns=3 posts_per_page=20 size=full link=file [/mla_gallery]
Everything works, but there is one problem.
When I go to the gallery page for the first time, I see only a tag cloud, but there is no image gallery itself. After clicking on the tag cloud links, everything works fine.
How to make the gallery visible immediately upon entering the page?
I would be grateful for an example.Thanks a lot
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘MLA Gallery Shortcode’ is closed to new replies.