cheryanne
Forum Replies Created
-
Forum: Plugins
In reply to: [Related Posts by Taxonomy] Change size of titleAll sorted
Forum: Plugins
In reply to: [The SEO Framework – Fast, Automated, Effortless.] change locale?Thanks again.
Forum: Plugins
In reply to: [The SEO Framework – Fast, Automated, Effortless.] change locale?Oh thank you for going the extra mile – I really appreciate it.
It just confused me because the site is set everywhere I could think and updates include the Australian translations.
I will add the filter to my child theme and see how it goes. The site is specifically about Australian podcasts so even if viewed elsewhere it will probably be fine. And if not I can always change it back.
Thank you again – you are fabulous!
Forum: Plugins
In reply to: [The SEO Framework – Fast, Automated, Effortless.] change locale?Thank you for you suggestions Sybre, It’s weird because the site is set to language English (Australia) in Settings and Users, and in the Installer details in cPanel. No sure what else I can do. Is it worth adding some code to the header?
Forum: Fixing WordPress
In reply to: Sitewide recover block CLI command?Thank you to everyone for all your suggestions – wish me luck – backups taken.
- This reply was modified 5 months, 2 weeks ago by cheryanne.
I think its because there’s no / at the end of the page URL where the buttons are positioned.
This is an example from the first button on https://scotswimarchive.scot/international
https://scotswimarchive.scot/international-why-team-scotland-and-not-team-gb
instead of perhaps https://scotswimarchive.scot/international/why-team-scotland-and-not-team-gb/
or https://scotswimarchive.scot/why-team-scotland-and-not-team-gb/
Forum: Plugins
In reply to: [LiteSpeed Cache] Massive CPU spikesI’ve been checking the CPU loads while I was working – adding posts. It doesn’t seem connected to the cron job which I set to 39 minutes past the hour, every hour.
8:39 99 / 100 (99%)
10:17 99 / 100 (99%)
10:56 98 / 100 (98%)
10:58 100 / 100 (100%)
11:02 4 / 100 (4%)
11:30 10 / 100 (10%)
11:31 54 / 100 (54%)
11:56 0 / 100 (0%)
12:11 8 / 100 (8%)
1:24 96 / 100 (96%)
1:35 0 / 100 (0%)
2:29 5 / 100 (5%)
3:26 94 / 100 (94%)Forum: Plugins
In reply to: [LiteSpeed Cache] Massive CPU spikes@litetim I have changed the timing of the cron job in cpanel and will keep an eye on it and the timing tomorrow. Thank you for the suggestion.
Forum: Plugins
In reply to: [LiteSpeed Cache] disable cdnsorted now
Forum: Themes and Templates
In reply to: [Hueman] How to avoid cropped square thumbnails in Media LibraryHopefully this might help a bit – this is what I used. Include the sizes you don’t want and disable them in the child theme’s functions.php file like this.
// Disable WordPress and Woocommerce Image Sizes
function disable_wp_image_sizes( $sizes ) {
unset( $sizes['medium'] );
unset( $sizes['medium_large'] );
unset( $sizes['large'] );
unset( $sizes['thumb-small'] );
unset( $sizes['thumb-medium'] );
unset( $sizes['150x150']);
unset( $sizes['1536x1536']);
unset( $sizes['2048x2048']);
unset( $sizes['520×245']);
unset( $sizes['300x245']);
// WooCommerce Image Size
unset( $sizes['woocommerce_thumbnail'] );
unset( $sizes['woocommerce_single'] );
unset( $sizes['woocommerce_gallery_thumbnail'] );
unset( $sizes['shop_catalog'] );
unset( $sizes['shop_single'] );
unset( $sizes['shop_thumbnail'] );
return $sizes;
}
add_filter('intermediate_image_sizes_advanced', 'disable_wp_image_sizes');
// Disable Scale Image Sizes
add_filter('big_image_size_threshold', '__return_false');
// Disable Other Image Sizes
function disable_wp_other_image_sizes() {
remove_image_size('post-thumbnail'); // disable images added via set_post_thumbnail_size()
remove_image_size('another-size'); // disable any other added image sizes
}
add_action('init', 'disable_wp_other_image_sizes');- This reply was modified 1 year, 2 months ago by cheryanne.
Forum: Themes and Templates
In reply to: [Hueman] How to avoid cropped square thumbnails in Media LibraryI’m pretty sure I amended some code to do this on my site. I’m on a bus at the moment but I’ll check the backend when I get home and post again. Give me about 30 minutes.
Forum: Plugins
In reply to: [reGenerate Thumbnails Advanced] Unfortunately doesn’t delete webp files.Thank you
Forum: Plugins
In reply to: [LiteSpeed Cache] deleted image size but .jpg.webp files still thereIn the child theme’s functions.php (for the 80×80.jpg)
function disable_wp_image_sizes( $sizes ) {
unset( $sizes['thumb-small'] );and then used the reGenerate Thumbnails Advanced plugin which removed the 80×80.jpg but not the 80×80.jpg.webp
Sorry for not getting back to you sooner – yes everything is working well now. Thank you.
Forum: Plugins
In reply to: [WP Popular Posts] center titlePerfect – thank you!