Jean-Philippe
Forum Replies Created
-
Forum: Plugins
In reply to: [Remove CPT base] 404 error on a post displaying content perfectlyOkay ! Thanks again for your work and this explanation !
Have a nice day !
Forum: Plugins
In reply to: [Remove CPT base] 404 error on a post displaying content perfectlyThanks a lot for solving the issue !
Pages are now sending a 200 status code.
Would you accept to explain to me the technical reason of this issue ? I’m really curious and I’ve opened a thread on https://wordpress.stackexchange.com/, so I could give the answer for the whole community.
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] New version of the plugin not working properlyIt works like a charm in my local environment, in the same conditions described above ! Thanks a lot, hope my customer will validate your lightbox plugin ??
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] New version of the plugin not working properlyThanks for your quick answer !
I will go on using the version 2.13 until the next update.
I will support it with a donation and a 5 stars evaluation if the customer I’m working for validate your lightbox for his website.
Thanks for your work !
Forum: Plugins
In reply to: [Featured Image Zoom] Adding width and height to the outputI understand. Thanks for your time. I will use another solution then. Hope one day you will improve this little plugin because it could really have a bright future. Keep it light, easy-to-use. Thanks again ??
Forum: Plugins
In reply to: [Featured Image Zoom] Adding width and height to the outputPs :
If i use your function in my theme, like this, I dont get the expected code.
For example, if i use :<?php if ( function_exists('cc_zoom_featured_image') ) { echo cc_zoom_featured_image(array( 'size' =>; 'thumbnail', 'zoomsize'=>'full', )); } ?>
I get :
<div data-zoom="https://localhost/site/medias/image.jpg" class="zoom"><img width="3650" height="2566" src="https://localhost/site/medias/image.jpg" alt="Arnold Bocklin, A la lisière du bois" /></div>
But if I use :
<?php if ( function_exists('cc_zoom_featured_image') ) { echo cc_zoom_featured_image(array( 'size' => 'large', 'zoomsize'=>;'medium', )); } ?>
I get :
<div data-zoom="https://localhost/site/medias/image.jpg-300x211.jpg" class="zoom"><img width="3650" height="2566" src="https://localhost/site/medias/image-1024x720.jpg" alt="Arnold Bocklin, A la lisière du bois" /></div>
Why ? There is something I dont understand : logically, I would expect to obtain a data-zoom image bigger (this is the one I use to zoom right ?) than the image inside the img tag (which is the image displayed).
Thanks in advance !
J.- This reply was modified 4 years, 10 months ago by Jean-Philippe.
Forum: Plugins
In reply to: [Featured Image Zoom] Adding width and height to the outputThanks for your quick answer.
I needed to add width and height attributes to improve page load time and performance (it is recommended to display the width and height attributes of the img tag directly inside the html).
What if I try to contribute to the code of your plugin (like the alt attribute i’ve added as you can see in the edit of my previous post) ? Do you want me to submit it to you if my code does the job ?
- This reply was modified 4 years, 10 months ago by Jean-Philippe.