ashmozza89
Forum Replies Created
-
Forum: Plugins
In reply to: [Permalink Manager for WooCommerce] Strange URLsProducts /product-name
Categories /category-nameBut why is it allowing anything to be put before this
Forum: Plugins
In reply to: [Broken Link Checker] No products foundHi
Thank you. Please see a product here
These are just standard woocommerce product pages. I want to scan for broken product images
Forum: Plugins
In reply to: [Media Sync] Importing ThumbnailsFound another code and changed it, seems to ignore webp now
function my_custom_media_sync_additional_file_skip($is_ignored, $full_path, $file_name) { $is_this_webp_thumbnail = strpos($file_name, '.webp') !== false; return $is_ignored || $is_this_webp_thumbnail; } add_filter('media_sync_filter_is_scan_object_ignored', 'my_custom_media_sync_additional_file_skip', 10, 3);
Forum: Plugins
In reply to: [Media Sync] Importing ThumbnailsI actually noticed I missed this part when copy pasting the code
add_filter('media_sync_filter_is_scan_object_ignored', 'my_custom_media_sync_additional_file_skip', 10, 3);
So add it, Initiated scan and it just gives the following error
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Remove it, re-scan and it scan fine, tho shows webp images.
Forum: Plugins
In reply to: [Media Sync] Importing ThumbnailsHi, They are named as follows
Main image .jpg.webp
Thumbnails example -1024×1024.jpg.webp- This reply was modified 3 years, 5 months ago by ashmozza89.
- This reply was modified 3 years, 5 months ago by ashmozza89.
Forum: Plugins
In reply to: [Media Sync] Importing ThumbnailsFound this code from another thread seems to be working
/** * Overwrite Media Sync plugin rules for skipping scanned files or folders. * * File/folder contains: * $fileOrFolder->getFilename() * $fileOrFolder->getPathname()) * $fileOrFolder->isDir()) * * Should return bool value. * * @param boolean $is_ignored Default rules for this file/folder (skipping thumbnails, index.php, hidden files, etc.) * @param RecursiveDirectoryIterator $fileOrFolder Each scanned file/folder * @return boolean */ function my_custom_media_sync_additional_file_skip($is_ignored, $fileOrFolder) { $name = $fileOrFolder->getFilename(); // Check if it is optimized .webp file $is_optimized_webp = preg_match('/.[a-z]{3,4}.webp/i', $file_name) == true; // Already ignored files or webp return $is_ignored || $is_optimized_webp; }
UPDATE: Still importing thumbnail webp versions unfortunately
- This reply was modified 3 years, 5 months ago by ashmozza89.
Forum: Plugins
In reply to: [Age Gate] Creating JS filesThank you Phil.
I have installed that version and will see how it goes, very helpful thanks.
Forum: Plugins
In reply to: [Age Gate] Creating JS filesOk thank you.
Forum: Plugins
In reply to: [LiteSpeed Cache] Random String IssueI have 8715 pages.
And nearly all the files are JS
Forum: Plugins
In reply to: [LiteSpeed Cache] Random String IssueSearch plugin developer fixed the issue with unique ID’s so no difference there now. But files are still rising, it’s on 26,000 now, how many should there be?
Here is the new report only thing that I can see is different is the time at the bottom.
Forum: Plugins
In reply to: [LiteSpeed Cache] Random String IssueI thought it was pretty obvious I have read the documentation as I sent you the report from diff checker as stated in the docs. Even our hosting support tried adding common strings none work
I am in the same boat also that warning is stupidly annoying now. I spoke to them they kept telling me to disable sendinblue, why should I lose my newsletter plugin for something that isnt actaully conflicting. SMTP is disabled in sendinblue, any emails it does send is through it’s own servers and not mine.
Hopefully this is sorted soon.
Forum: Plugins
In reply to: [Load More Products for WooCommerce] Repeated Product & Layout IssueThis is a temp fix until it’s sorted in the next update
add_filter( 'option_generate_blog_settings', function( $settings ) { if ( function_exists( 'is_woocommerce' ) && is_woocommerce() ) { $settings['infinite_scroll'] = false; } return $settings; } );
Forum: Plugins
In reply to: [Load More Products for WooCommerce] Repeated Product & Layout IssueIt’s a conflict with Generatepress Premium, I found a temp fix for now.
Forum: Plugins
In reply to: [Load More Products for WooCommerce] Repeated Product & Layout IssueReally? That’s your response, find another plugin.
I have been using this plugin for over a year