yessoftmk
Forum Replies Created
-
I found problem…. Looks like its not work when in slug exist emogi symbols….
Forum: Developing with WordPress
In reply to: How use ajax post in backend (post edit)thanks. work
Forum: Plugins
In reply to: [Performance Lab] Delete original after convert to webpany idea?
I try by custom code:add_filter( 'wp_generate_attachment_metadata', 'delete_fullsize_image' ); function delete_fullsize_image( $metadata ) { $upload_dir = wp_upload_dir(); $full_image_path = trailingslashit( $upload_dir['basedir'] ) . $metadata['file']; $deleted = unlink( $full_image_path ); return $metadata; }
but not workin…. I guess it’s because of your plugin conflict
Forum: Plugins
In reply to: [App for Cloudflare?] How does caching work in the plugin?(better to solve the server issues)
of course this is not to solve the server problem, this is as an example of exactly how the cache works…thanks for fast / detailed answer, I test y plugin and will wtite result / check “resolved”.
Good luck.Forum: Plugins
In reply to: [App for Cloudflare?] How does caching work in the plugin?the same goes for the site speed…. when I setup full Cache Rule on the Cloudflare side – pages very very fast open
Forum: Plugins
In reply to: [App for Cloudflare?] How does caching work in the plugin??to make granular decisions based on various factors.
yeas, I understand.For now I use – Super Page Cache for Cloudflare. And when my site down – its not shown, its down. But when I setup full Cache Rule on the Cloudflare side – page always shown from CF cache….. Do you see the difference? That’s why I’m asking how your plugin works.
Forum: Plugins
In reply to: [PW WooCommerce Bulk Edit] Illegal Mix of Collations Errorthanks, fixed
Forum: Plugins
In reply to: [PW WooCommerce Bulk Edit] Illegal Mix of Collations ErrorAny ideas?
зрозум?ло, дякую
н?, cpt – custom post type…..
Product – це кастомний тип запису… ? питання – чи можна вашим сканером шукати не по кастомному типу запису продукт, а по ?ншому кастомному типу запису… по ?Д…. Ну з коробки зв?сно не можна… наск?льки складно зм?нити пошук на ?нший CPT….? Зам?сть пошуку по продуктамForum: Developing with WordPress
In reply to: Hide woocommerce zero price in related productsdone with hardcode (/plugins/woocommerce/templates/single-product/related.php):
<?php foreach ( $related_products as $related_product ) : ?> <?php //check price if ($related_product->regular_price >0){ $post_object = get_post( $related_product->get_id() ); setup_postdata( $GLOBALS['post'] =& $post_object ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited, Squiz.PHP.DisallowMultipleAssignments.Found wc_get_template_part( 'content', 'product' ); } ?> <?php endforeach; ?>
Forum: Developing with WordPress
In reply to: Hide woocommerce zero price in related productsIf you use a commercial theme or plugin
no, its standard woo function:
woocommerce_output_related_products()Forum: Plugins
In reply to: [AI Comment Creator] Where I can add Open AI key?@berkbirkan after 5 comments plugin write:
AI Comment Creator Plugin
AI Comment Creator has stopped working because you exceeded the maximum comment limit of your package. Please upgrade your package to generate more comments!
UPGRADE MEMBERSH?P
—
its very limited…. please add possibility to use Open AI key
Forum: Developing with WordPress
In reply to: Modify meta data when add postthanks for quick help…..
I use particaly your constructor and I not correct convert time to TS. This right:
if (empty($meta_value)) { $start_date = get_post_meta($post_id, 'ev_date_start', true); $end_date = strtotime('+ 1 hour', $start_date); update_post_meta($post_id, 'ev_date_end', $end_date);
now works, thanks.
Forum: Developing with WordPress
In reply to: Modify meta data when add postin ev_date_end, ev_date_start date time in timestamp format like: 1701601399