Hans
Forum Replies Created
-
That’s great. I love it!
I now use the JIG plugin as gallery together with MLA gallery for documents and audio. S made a hybrid page π And when a photo tg is clicked one see a larger picture. For pdfs and audio it does not make sense to have larger icons.
https://www.jongenskoorcantasonaboxtel.nl/zoek-documenten-audio-en-fotos-via-labels/
Downsite of this method is that when a tag for photos is clicked also pdf and audio are displayed when available.
This is the code right now. Perhaps you can advise in making it better?
[mla_gallery mla_alt_shortcode=justified_image_grid post_mime_type="image" attachment_tag=";{+template:({+request:term_slug+}|a-bad-term)+}"; posts_per_page=100 mla_output="paginate_links,prev_nex" mla_link_href="{+page_url+}?term_slug={+request:term_slug+}" mla_caption="{+title+}"] [mla_gallery / post_mime_type="application,audio" attachment_tag=";{+template:({+request:term_slug+}|a-bad-term)+}"; posts_per_page=100 mla_output="paginate_links,prev_nex" mla_link_href="{+page_url+}?term_slug={+request:term_slug+}" mla_caption="{+title+}"] [mla_gallery mla_alt_shortcode=justified_image_grid post_mime_type="image" attachment_tag="{+template:({+request:term_slug+}|a-bad-term)+}" mla_caption="{+title+}" size=icon posts_per_page=100 mla_nolink_text="Klik op een label om de audio, het document en/of de foto's te tonen"] [mla_gallery / post_mime_type="application" post_mime_type="application,audio" attachment_tag="{+template:({+request:term_slug+}|a-bad-term)+}" mla_caption="{+title+}" size=icon posts_per_page=100] <hr /> Labels van de Documenten: [mla_tag_cloud post_mime_type="application" taxonomy=attachment_tag number=0 mla_link_href="{+page_url+}?term_slug={+slug+}"] <hr /> Labels van de Audio: [mla_tag_cloud post_mime_type="audio" taxonomy=attachment_tag number=0 mla_link_href="{+page_url+}?term_slug={+slug+}"] <hr /> Labels van de Foto's: [mla_tag_cloud post_mime_type="image" taxonomy=attachment_tag number=0 mla_link_href="{+page_url+}?term_slug={+slug+}"] <hr />I found it already to have titles below icons and images. In your second code example there is a code caption and that works out fine.
Now I am going to try to have the photos displayed in JIGAh your support is great! Thank you for that. And you are a very good teacher π Now I understand a bit more about this great plugin.
The code works out now and I have pdf icons!But how can I have titles below the pdf icons and thumbnails? Because a long list with just pdf icons are not very useful. If one could see the titles of the pdf it would make sense.
And is there a way to have larger icons for the images and just icons for the pdf’s? The photos are very small now.
I updated the test page with your code.
Forum: Plugins
In reply to: [Media Library Assistant] Sorting items in Tag cloud by parent/child?@antonstepichev great this Lightbox, displaying the content of your tags. How did you do that? I saw that you uses photonic plugin. Is this plugin using MLA as input?
Hope to hear from you because I would love to use it.
Does it also display pdf and audio content in the Lightbox?Hi David,
sorry about not including the source code. I thought you could see it. But here is the code which is currently in the post. The debug code is also included. That is generated in the post:
Below a test with "mla_gallery ids=2652 post_mime_type=all" No pdf icon there anymore. After adding featured image now pdf icon shows up. But in the tag cloud below on "Streekmuziekschool" it does not [mla_gallery ids=2652 post_mime_type=all] Here is the tag cloud, When choosing for document there should be pdf's: [mla_tag_cloud post_mime_type=application/pdf mla_debug=true taxonomy=attachment_tag number=0 mla_link_href="{+page_url+}?term_slug={+slug+}"] [mla_gallery size=icon_only attachment_tag="{+template:({+request:term_slug+}|a-bad-term)+} posts_per_page=100" post_mime_type=all mla_output="paginate_links,prev_next" mla_link_href="{+page_url+}?term_slug={+request:term_slug+}"] [mla_gallery size=icon_only attachment_tag="{+template:({+request:term_slug+}|a-bad-term)+}" posts_per_page=100 mla_nolink_text="Click a term to display the gallery."]The tag “document” has several pdf’s in it. And earlier I saw these pdf icons. So no titles and no icons are included. Also the audio icon was nicely included. But also that icon is gone now. On my Mac I also do not see the image anymore when I click Document. I just see some image icon.
I also did another test on: http://www.jongenskoorcantasonaboxtel.nl/gallerie/ βThe code there is:
[mla_tag_cloud] taxonomy=attachment_tag mla_link_href="[+page_url+]?current_id={+term_id+}" number=0 limit=500 smallest=10 largest=10 separator=' / ' [/mla_tag_cloud] [mla_gallery] style='random' post_mime_type=all tax_query= "array ( 0 => array ( 'taxonomy' => 'attachment_tag', 'field' => 'id', 'terms' => array( {+request:current_id+} ), 'include_children' => false ) )" mla_caption="{+title+}" columns=3 posts_per_page=12 size=full link=file orderby="ID DESC" mla_link_class="nav-links" mla_debug=true [/mla_gallery] <hr> [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+} ), 'include_children' => false ) )" mla_caption="{+title+}" columns=3 posts_per_page=12 size=full link=file orderby="description, content, title" mla_debug=true [/mla_gallery]As you can see there are titles but also no images when clicking on “Document”. Just 1 pdf icon which I have entered s featured image. I also included the debug code there which also run when clicking document. As you can see when clicking document the title is displayed twice with one with html link and the item with the pdf icon as featured image has the html link on the icon.
This weird thing just started after saving the option in JIG plugin to let it use mla gallery code as JIG gallery code. I got a nice album grid then but no audio and pdf in it because JIG does not support that. So I changed JIG back to normal. It seems that JIG did something with thumbnails.
I have thumnails on the mediapage and attachment. I use real media library and I see all the pdf and audio icons.Hopes this helps.
I included the debug info in the post.
I am using Extra/Divi themeDid some testing with [mla_gallery ids=2652 post_mime_type=all]
I can see the title of the document now, but without and pdf icon image. So seems that the pdf icons are gone?Forum: Plugins
In reply to: [YouTube for WordPress] YouTube channel embedHi
any progress in embedding channel in grid?
Forum: Plugins
In reply to: [Flickr Photostream] Plugin not working: HTTP/1.1 403 Forbidden errorIt does not work here. First photo is loaded correct but she clicking in navigation to next photo the screen remains black and the navigation is not loaded
Forum: Networking WordPress
In reply to: Admin slowness and other issues after 3.7.1 updateI upgraded via Installatron and now the whole install of WordPress is very slow. Not just the admin also performance on blog dropped.
I also have the message on top of my admin screen to update:
An automated WordPress update has failed to complete – please attempt the update again now.
But it is 3.71. now…..
How to solve bad performance?
Forum: Fixing WordPress
In reply to: youtube oembedI tested it once again. One older posting of some weeks ago with a nice responsive frame has this embed code:
<iframe width="700" height="394" src="http://www.youtube.com/embed/5QmJCOnUqoU?feature=oembed" frameborder="0" allowfullscreen=""></iframe>When I publish a fresh posting I get an embed code (and frames with large black bars at bottom and head) on my blog with:
<iframe width="700" height="525" src="http://www.youtube.com/embed/0Lp7uahuc3g?feature=oembed" frameborder="0" allowfullscreen=""></iframe>Forum: Plugins
In reply to: [Video Thumbnails] Video Thumbnails Plugin Stopped WorkingVimeo thumbnail do work. But youtube no way
Forum: Plugins
In reply to: [Video Thumbnails] Video Thumbnails Plugin Stopped WorkingIt stopped working at once. The image is there at the right side but it does not appear as featured image on my post