Brigitte
Forum Replies Created
-
AuthorPosts
-
April 17, 2020 at 11:48 am in reply to: Want use GD Lightbox for single detail place content images #540849This reply has been marked as private.April 17, 2020 at 11:48 am in reply to: Want use GD Lightbox for single detail place content images #540848
Oops here the true code with the parameter, I can’t edit my last post about that:
<script> // Add automatically link + lightbox to description content of single places jQuery('.entry-content .geodir-field-post_content img').each(function(){ var href = jQuery(this).attr('src'); jQuery(this).wrap( "<a href='"+ href +"'></div>" ); }); </script>
The string “gd-lity” is censured on the forum?!
Edit: That’s crazy lol, the forum automatically delete the “gd-lity” parameter on this code, so this code is false ^^
April 17, 2020 at 11:29 am in reply to: Want use GD Lightbox for single detail place content images #540845Thank you very much Naveen for yur help!
I didn’t know how to add your code in functions.php, because my plugin which manages functions.php does not allow me to close the php tag…
But adding it in my custom.js it worked thanks.For others, here the final code with the gd-lity parameter:
<script> // Add automatically link + lightbox to description content of single places jQuery('.entry-content .geodir-field-post_content img').each(function(){ var href = jQuery(this).attr('src'); jQuery(this).wrap( "<a href='"+ href +"'></div>" ); }); </script>
Cheers 😉
April 16, 2020 at 5:23 am in reply to: Want use GD Lightbox for single detail place content images #540536Thank you very much for your answer Naveen 😉
Yes by adding “data-lity” in my link, the lightbox works!
But do I have to manually add this for all the images in each post? Is it not possible to activate the lightbox on ALL images that are in the content of each single place descriptions?
I would be delighted not to have to install an additional plugin to simply have an already existing lightbox on the images of my content. It makes sense ?
Thanks.
April 15, 2020 at 8:21 pm in reply to: Want use GD Lightbox for single detail place content images #540429This reply has been marked as private.Same! Thank you to the whole team for the reactivity as usual 😉
This reply has been marked as private.Same issue here. I just updated GeoDirectory from 2.0.0.83 to 2.0.0.87.
And now without being asked my opinion, all the loops of the locations display the logo for ALL MY LOOPS on posts covers, instead of the featured image that I have been using for months now.
Other problem, ,now a detail single place displays the logo in featured image..
Alex I understand when you talk about fallback, but apparently this is only for GD Post Images. Here I’m talking about GD Archive (gd_loop) and Location page (gd_listings).
How use Featured images by default and logo for 2nd choice.
ThanksApril 10, 2020 at 6:24 pm in reply to: Want use GD Lightbox for single detail place content images #539526This reply has been marked as private.Hmmmm… sorry for this post… that works again when I disable DEBUG mode…
April 6, 2020 at 8:19 am in reply to: wp_terms datas table prevents me from creating a category slug #538676Problem solved… It’s a Yoast plugin feature (yst_prominent_words), that eating up my wp_term table… Now I can create a GD category.
Sorry for this post.
This reply has been marked as private.Hello Alex,
1) I’m sorry but I don’t understand…
2) Is the snippet updated ?Thanks.
Oops sorry, please see the new attachment file here, I want only hide the “Add files” zone with show/hide collapse button.
I just need where I can put my “collapse button shortcode” with a PHP function or hook ?!
Thank you very much for your hints.
Cheers,
Adrien H.February 29, 2020 at 1:19 pm in reply to: BUSINESS HOUR MODULE : just a small translation that doesn't work #532918Oh my god I’m very sorry… we can delete this topic… that was a corrupted .mo file… My apologies!
-
AuthorPosts