Zepzilia
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Library Assistant] Add searc box to GalleryFirst I did as you said, adding the
<code></delimiters>around my shortcodes.Later I did as you told me, to replace the
{+page_url+}?term_slugformla_link_href="{+page_url+}&term_slug.It still wasn’t working until I wondered what if I replaced the
mla_link_href="{+page_url+}?search-string={+request:search-string+}for amla_link_href="{+page_url+}&search-string={+request:search-string+}"and voilá! Magic happened! I have no idea why, but I still will leave the code just in case is useful for anyone:<form id="mla-search-form" action="http://www.enriquemetinides.com/esp/?page_id=15" method="post"><input id="mla-search-box" name="search-string" type="text" value="" /> <input id="submit" name="submit" type="submit" value="BUSCAR" /></form> <h3></h3> <h3>Galería</h3> <code>[mla_gallery post_mime_type=all post_parent=all s="{+template:({+request:search-string+}|a-bad-term)+}" mla_nolink_text="No pages to show." posts_per_page=21 mla_output="paginate_links,prev_next" mla_link_href="{+page_url+}&search-string={+request:search-string+}"]</code> <code>[mla_gallery post_mime_type=all post_parent=all s="{+template:({+request:search-string+}|a-bad-term)+}" mla_nolink_text="Ingrese uno o varios términos para desplegar la galería" posts_per_page=21]</code> <h3>Nube de etiquetas</h3> <code>[mla_tag_cloud taxonomy=attachment_category number=0 mla_link_href="{+page_url+}&term_slug={+slug+}"]</code> <h3>Galería</h3> </code>[mla_gallery post_mime_type=all post_parent=all attachment_category="{+template:({+request:term_slug+}|a-bad-term)+}" mla_nolink_text="No pages to show." posts_per_page=2 mla_output="paginate_links,prev_next" mla_link_href="{+page_url+}&term_slug={+request:term_slug+}"]</code> <code>[mla_gallery post_mime_type=all post_parent=all attachment_category="{+template:({+request:term_slug+}|a-bad-term)+}" mla_nolink_text="Haz click en el término que te interesa" posts_per_page=21]</code>Certainly this is like a Serindipity to me. Thank you so much for all your help!
Forum: Plugins
In reply to: [Media Library Assistant] Add searc box to GalleryWell, I compared this to the other version, the english site and it is the same.
First we have te code referring to the search form:
[mla_gallery post_mime_type=all post_parent=all s="{+template:({+request:search-string+}|a-bad-term)+}" mla_nolink_text="No pages to show." posts_per_page=2 mla_output="paginate_links,prev_next" mla_link_href="{+page_url+}?search-string={+request:search-string+}"] [mla_gallery post_mime_type=all post_parent=all s="{+template:({+request:search-string+}|a-bad-term)+}" mla_nolink_text="Ingrese uno o varios términos para desplegar la galería" posts_per_page=40]Later the code referring to the tag_cloud
[mla_gallery post_mime_type=all post_parent=all attachment_category="{+template:({+request:term_slug+}|a-bad-term)+}" mla_nolink_text="No pages to show." posts_per_page=2 mla_output="paginate_links,prev_next" mla_link_href="{+page_url+}?term_slug={+request:term_slug+}"] [mla_gallery post_mime_type=all post_parent=all attachment_category="{+template:({+request:term_slug+}|a-bad-term)+}" mla_nolink_text="Haz click en el término que te interesa" posts_per_page=40]So in general the thing looks like this:
[mla_gallery post_mime_type=all post_parent=all s=”{+template:({+request:search-string+}|a-bad-term)+}” mla_nolink_text=”No pages to show.” posts_per_page=2 mla_output=”paginate_links,prev_next” mla_link_href=”{+page_url+}?search-string={+request:search-string+}”]
[mla_gallery post_mime_type=all post_parent=all s=”{+template:({+request:search-string+}|a-bad-term)+}” mla_nolink_text=”Ingrese uno o varios términos para desplegar la galería” posts_per_page=40]
<h3>Nube de etiquetas</h3>
[mla_tag_cloud taxonomy=attachment_category number=0 mla_link_href=”{+page_url+}&term_slug={+slug+}”]
<h3>Galería</h3>
[mla_gallery post_mime_type=all post_parent=all attachment_category=”{+template:({+request:term_slug+}|a-bad-term)+}” mla_nolink_text=”No pages to show.” posts_per_page=2 mla_output=”paginate_links,prev_next” mla_link_href=”{+page_url+}?term_slug={+request:term_slug+}”][mla_gallery post_mime_type=all post_parent=all attachment_category=”{+template:({+request:term_slug+}|a-bad-term)+}” mla_nolink_text=”Haz click en el término que te interesa” posts_per_page=40]
Sorry for causing so much trouble!
Forum: Plugins
In reply to: [Media Library Assistant] Add searc box to GalleryThe code is in a WP Page.
I put together both code versions and found out both where equal except by one part, which is the following:
In the English site:
[mla_tag_cloud taxonomy=attachment_category number=0 mla_link_href="{+page_url+}?term_slug={+slug+}"]On the Spanish page:
[mla_tag_cloud taxonomy=attachment_category number=0 mla_link_href="{+page_url+}&term_slug={+slug+}"]As you can see the
&thing is there but when I replace it for the?term_slug={+slug+}, no images are shown. So I left it the way it was.I was wondering, is there a way to tell it to show ALL the search results in one page?
Forum: Plugins
In reply to: [Media Library Assistant] Add searc box to GalleryThank you for your detailed answer, David.
By the time I was building the website I had no idea of the troubles you are now talking of. I first created the “/demoblog” subdomain in English and latter, the “/esp” subdomain on Spanish. This is my first WP site so I may have made many mistakes, I don’t know if they can be corrected on short time…or by far, how they are generated and why. I will try to investigate the Plugins you are suggesting me 🙁
I made the changes you suggested, and now when I use the search box, yes, the images show up, but not many of them and if I want to go to the “next” page, nothing is displayed. As for the
tag_cloud,it works now, but with the same problem: page 2, 3, and so forth are not displayed. I am sure it has something to do with the&term_slug=thing but I do not know if I should go to a .php file or something to configure it.This problem is exclusive of the Spanish part, which is the second I created. The English one works so good and smooth and gives no trouble. So I am sure it has to do with something I did wrong.
Forum: Plugins
In reply to: [Media Library Assistant] Add searc box to GalleryHello David,
I am glad this topic has helped someone else with his own doubts. As for me, I started by adding “keywords” to the caption field on every image, and used the code you provided on your second reply to me, which I think has worked out fine on my website. Now the users can search for terms in the box or click on the tag cloud.
I am creating the the Spanish version of the website, with Spanish terms, in another WP directory but in the same domain. I copy/pasted the same code I used on the English version. However, when I search something on the box and click the “Go” button, it redirects me to the website’s home page -no results are shown, and if I click on any tag from the tag_cloud, nothing happens. Could it be that a sort of “interference” is generated by having two WP installs on the same domain?
http://www.enriquemetinides.com/esp/?page_id=15
Thanks for your support!
Forum: Plugins
In reply to: [Media Library Assistant] Add searc box to GalleryThanks for your quick response, David.
I have been reading and studying the links and topics related to term search and so on. I copied the code you offered in another topic and look out nicely –but the search didn’t work 🙁
I have uploaded circa 20 images and added Att. Tags and Att. Category to all of them. But when I use the search box, it displays nothing, or just one or two images –when clearly there are more of them which have that Att. Tag or Category. I.E. I have a Att. Tag and Att. Category called “ambulance” which I have added to at least six or seven images, but the search box only displays one. I have another term called “planes” , but the search returns nothing.
I also used the [mla_tagcloud] just to see how it was working and the terms displayed are the default WP tags I created a long time ago. Is there a way to make the [mla_tagcloud] display only Att. Tags and Att. Categories.?
I’ll keep on trying to figure out how to do it but I would appreciate your advising a lot. This is the link to the website : http://www.enriquemetinides.com/demoblog/archive/
Forum: Fixing WordPress
In reply to: Old mobile movile version of site STILL SHOWINGI cleaned the caché again and nothing happens 🙁
Forum: Fixing WordPress
In reply to: Old mobile movile version of site STILL SHOWINGYes. I clean the cache folder every day, and it works for the desktop version but not for the mobile version. I have looked at it in other people’s devices, who have never visited the site and it is the same for them.
I feel like I must clean the caché somewhere on the hosting, but I have no idea where. When I visit the mobile folder, here there are the html files of the old, ugly, mobile version..