charlie67p
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: How to automatically list all unused Fonts in a Block themeThank you @threadi
I sent the request : https://github.com/WordPress/gutenberg/issues/65152Hello,
OK, I understand,
It works perfectly now!
Thank youHi
So I tried including a loop in a Test Post
typing URL mywebsite.com/testpost/?price=75000Data type : Numeric
Compare operator : <=
Filed Key : price
Field value : [I let this field empty]
Query String Parameter : price
It is not filtering. I get all prices, also over 75000Hi! Thank you very much for your answers,
I will test it and write a feedback as soon as I’m back home = after the weekend.
See you soonForum: Developing with WordPress
In reply to: Browsers load the wrong Image sizesThank you @bcworkz , allright, I thought I could have done something wrong. I’m relieved.
Still I don’t understand why some browsers “want” to load an image larger than necessary, as you wrote. It don’t make sense when finally images are slowing down the page loading…
I mark as resolved.
Thanks!Forum: Developing with WordPress
In reply to: Browsers load the wrong Image sizesHi @t-p, Thanks for answering
All the thumbnails are OK (they exist in the upload folder)
But when I watch in the Inspector > Network , I can see that the wrong size is loaded, depending on the System/Browser version
Important Edit : I just checked an other website I made, with a totally different Theme, and it is the same behaviour….For example, if I select Medium Size for the Block Featured Image :
On computer with Firefox 115.11.0 and (old) Chrome 116.0.5 : all is OK, the Medium Size (640px) is loaded
On laptop with Firefox 115.11.0 : the 1536px is loaded
On laptop with Chrome 125.0.6 : the 1024px is loadedBelow : I compared the source code and it seems to be exactly the same…
The only difference I see is that in the first case width=”640″ height=”480″ is at the beginning, and in the other case it is at the end…
And the IMG SRC is correct in both cases…SOURCE CODE CHROME 125 (wrong image size) :
<figure style="aspect-ratio:3/2; margin-top:0;margin-bottom:0;" class="wp-block-post-featured-image">
<a target="_self" >
<img
width="640" height="480"
src="https://mywebsite.eu/wp-content/uploads/2024/04/mypicture_A-01-640x480.jpg"
class="attachment-medium size-medium wp-post-image"
alt="Jardin"
style="border-radius:0px;width:100%;height:100%;object-fit:cover;"
decoding="async"
fetchpriority="high"
srcset="https://mywebsite.eu/wp-content/uploads/2024/04/mypicture_A-01-640x480.jpg 640w,
https://mywebsite.eu/wp-content/uploads/2024/04/mypicture_A-01-1024x768.jpg 1024w,
https://mywebsite.eu/wp-content/uploads/2024/04/mypicture_A-01-768x576.jpg 768w,
https://mywebsite.eu/wp-content/uploads/2024/04/mypicture_A-01-1536x1152.jpg 1536w,
https://mywebsite.eu/wp-content/uploads/2024/04/mypicture_A-01.jpg 2048w"
sizes="(max-width: 640px) 100vw, 640px" />
</a>
</figure>SOURCE CODE FIREFOX 115 on COMPUTER (image size OK) :
<figure style="aspect-ratio:3/2; margin-top:0;margin-bottom:0;" class="wp-block-post-featured-image">
<a target="_self">
<img
src="https://mywebsite.eu/wp-content/uploads/2024/04/mypicture_A-01-640x480.jpg"
class="attachment-medium size-medium wp-post-image"
alt="Jardin"
style="border-radius:0px;width:100%;height:100%;object-fit:cover;"
decoding="async"
fetchpriority="high"
srcset="https://mywebsite.eu/wp-content/uploads/2024/04/mypicture_A-01-640x480.jpg 640w,
https://mywebsite.eu/wp-content/uploads/2024/04/mypicture_A-01-1024x768.jpg 1024w,
https://mywebsite.eu/wp-content/uploads/2024/04/mypicture_A-01-768x576.jpg 768w,
https://mywebsite.eu/wp-content/uploads/2024/04/mypicture_A-01-1536x1152.jpg 1536w,
https://mywebsite.eu/wp-content/uploads/2024/04/mypicture_A-01.jpg 2048w"
sizes="(max-width: 640px) 100vw, 640px"
width="640" height="480">
</a></figure>so strange…. ???
- This reply was modified 5 months, 2 weeks ago by charlie67p.
- This reply was modified 5 months, 2 weeks ago by charlie67p.
- This reply was modified 5 months, 2 weeks ago by charlie67p.
Forum: Plugins
In reply to: [Contact Form 7] grecaptcha is not defined – what should I do?OK – I deleted and made new keys and it works now !
Thank youForum: Plugins
In reply to: [Contact Form 7] grecaptcha is not defined – what should I do?alsacejardins.org/formulaire-de-contact-1/
Forum: Developing with WordPress
In reply to: Tag cloud alphabetical order and french é special characterLast note : I know that some other languages organize things differently : The greek Η, Ι and Υ have the exact same pronunciation, but have totally different places in the alphabet…
Forum: Developing with WordPress
In reply to: Tag cloud alphabetical order and french é special characterThank you for explaining @bcworkz ,
I’ll ckeck later to use the Tag Cloud Block with a totally fresh WordPress install, but I can’t go much further in investigation because I don’t have any skill with Apache and webservers ??
Regards
And still about the é and the E , you can better understand why E and é are placed together in the dictionnary, and why we expect to find them together in a Tag cloud, when knowing that, for example, in “escamoter”, “effilocher” and “esquiver” , the “e” must be pronounced “é” ! [ that’s what I guess, but I do not know the official reasons ]
…Tricky language, where the words are not always written in accordance with their pronunciation- This reply was modified 8 months, 2 weeks ago by charlie67p.
- This reply was modified 8 months, 2 weeks ago by charlie67p.
Forum: Developing with WordPress
In reply to: Tag cloud alphabetical order and french é special characterHey, thanks,
But wouldn’t that possibly wrongly mix é and E words, for example:
éa, Eb when we want Eb, éa ?No, it is correct, it is like this in the dictionnary, here a little sample :
écuyers
eczéma
(…)
eczémateux
édamAbout PHP and locales, sorry but I am totally ignorant about this, I don’t know how it works.
Should it be fixed by changing some PHP settings. I mean : should I talk to my Hosting provider ? …- This reply was modified 8 months, 2 weeks ago by charlie67p.
Forum: Developing with WordPress
In reply to: Tag cloud alphabetical order and french é special characterOK, I still don’t know why the Tag Cloud Block does not work,
but I fixed with this !!/* Plugin Name: XV Sort Tag Cloud Description: Sorts properly tag cloud by name (removing accents) Author: Xavi Ivars Author URI: https://xavi.ivars.me/ Version: 1.0 License: https://www.gnu.org/copyleft/gpl.html GNU General Public License */ add_filter('tag_cloud_sort', function( $tags, $args ) { if( empty( $tags ) || ! is_array( $tags ) ) { return $tags; } uasort( $tags, '_xv_sort_term_by_name' ); return $tags; }, 10, 2 ); if ( ! function_exists( '_xv_sort_term_by_name' ) ) { function _xv_sort_term_by_name($a, $b) { return strnatcasecmp( remove_accents($a->name), remove_accents($b->name) ); } }
- This reply was modified 8 months, 2 weeks ago by charlie67p.
Forum: Developing with WordPress
In reply to: Tag cloud alphabetical order and french é special characterWell, I deactivated the plugins one by one, but it did not change anything.
I noticed that the Post Tags Block is working fine (not placing é after Z letter)
I have the problem only with the Tag Cloud Block…
I tried with Twenty Twenty Four Theme on another website that does not any plugin installed : same problem.- This reply was modified 8 months, 2 weeks ago by charlie67p.
- This reply was modified 8 months, 2 weeks ago by charlie67p.
Forum: Developing with WordPress
In reply to: Tag cloud alphabetical order and french é special characterHi @bcworkz ,
Thanks for your answer
I just added the Cloud Tag Block to my page,
I didn’t use any tag cloud function or hook in my functions.php
Strange
I will try to deactivate all the plugins, one by one, to see if it could be a conflictForum: Developing with WordPress
In reply to: How are calculated fluid spacingSizes in theme Json ?OK ?? thanks !