Anton Vanyukov
Forum Replies Created
-
Forum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] SVG supportForum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] 404 Crawled Pages@demian85, I searched your page source and the only mention of “ns” is coming from the beautiful-and-responsive-cookie-consent-addon plugin. My plugin doesn’t even deal with page links, it only processes images, and will skip anything that is not a valid image.
Best regards,
AntonIt won’t really matter, unless you are uploading in WebP and AVIF format, as the Cloudflare Images conversions will override whatever is done with the original JPEG image.
Best regards,
AntonForum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] Pause bulk offloadHi @jinsley8,
You can just close the page, and restart later – it will continue where it left off.
Best regards,
AntonForum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] 404 Crawled PagesHi @demian85,
This is not coming from the plugin. Those pages are not there, by the way. You can check where they were indexed from the Google Search console.
Best regards,
AntonForum: Plugins
In reply to: [Market Exporter] Выгрузка одной категории с подкатегориейНет. Вот как-то так:
add_filter(‘me_exclude_post’, function ($exclude, $post, $product) {
$excluded_categories = array(‘no-use-cat’, ‘any-category’);
$categories = get_the_terms( $product->get_id(), 'product_cat' );
return empty(array_intersect($excluded_categories, $product_categories));
}, 10, 3);Но я не проверял работоспособность. Просто пример структуры фильтра
Forum: Plugins
In reply to: [Market Exporter] Выгрузка одной категории с подкатегориейК сожалению, фильтра для работы с категориями нет. Но есть вот такой:
apply_filters( 'me_exclude_post', false, $query->post, $product )
Можно проверять категории вот так:
$categories = get_the_terms( $product->get_id(), 'product_cat' );
И пропускать товар, если он принадлежит одной из заданных категорий
С уважением,
АнтонForum: Plugins
In reply to: [Market Exporter] Выгрузка одной категории с подкатегориейДобрый день,
Да, в настройках можно выбрать подкатегории для выгрузки
С уважением,
АнтонSpecifically in this case – they should not be lazy loaded, because they are inside the viewport during page load. Lazy loading images in the view port can lead to a decreased LCP.
I think, the issue is that the images use relative paths, which my plugin is not able to detect. Are you able to convert the image paths to URLs?
Hi @lazymeow,
Unfortunately, I can’t check your website – there’s a fatal error on the provided link
Best regards,
AntonHi @odysseyphotos,
Sorry for the delay reply. Yes, there’s a
wp cf-images offload
WP CLI command you can use to offload images.Best regards,
AntonForum: Plugins
In reply to: [Offload, AI & Optimize with Cloudflare Images] Settings DocsHi @cptkoolbeenz,
I have this guide on the setup: https://vcore.au/tutorials/how-to-setup-cloudflare-images-plugin/
Most options should be self explanatory. But you can ask here. I try to reply within 24 hours on most tickets.
Best regards,
AntonHi @levib,
Could you please provide some steps to replicate? I don’t think I have this issue.
Best regards,
AntonForum: Plugins
In reply to: [Market Exporter] НаценкаРабочее решение. Тогда я оставлю фильтр в плагине. И при обновлении Ваш код сохранится.
С уважением,
Антон