alexislevrai
Forum Replies Created
-
Here the string “We are here to help” is from my theme and yes my theme is checked in TTfP settings
Here it is
And this string for instance doesn’t work in front anymore if I disable Polylang Theme Strings ?by Modewine
With only your plugin active ?
Forum: Plugins
In reply to: [WooCommerce] Confirmation email before stock updateOkay thank you
Forum: Developing with WordPress
In reply to: Tax_query brake attachment size and srcsetI finally figure out the issue.
Wasn’t my code, wasn’t a plugin overriding code, wasn’t missing images. And I don’t really know what cause this problem.
So I’m using Instant Image plugin, a plugin that offer one click image uploads directly from media library like Unsplash, Openverse, Pixabay and Pexels.
When I’ve changed my theme I used Regenerate Thumbnails (from Viper007bond) to bulk resize all my image to fit my new theme. And for some reason, images originate from Instant Image have been correctly resized but not “linked” to the featured image.Problem only appear for featured image.
I’ve manually removed and res-select each featured image issu from Instant Image library and it work.Really strange, don’t really find what was the problem, but found a solution.
Anyway, thank you for your help!
Forum: Developing with WordPress
In reply to: Tax_query brake attachment size and srcsetGlad to read that I’m not doing it wrong.
It sounds like the call is returning the right image, only it’s the wrong size? An image’s size has nothing to do with WP_Query, so it’s an even greater mystery.
Are you sure the small file size actually exists and is accessible? If it cannot be found or cannot be accessed, I think the code would fall back to the full size.Yes that’s right I have the right image but the full size and without src-set, and I’m 100% sure all the size exists, if double/triple check !
And the strange part is that as soon I remove
'tax_query' => array( array( 'taxonomy' => 'knowledge_category', 'field' => 'term_id', 'terms' => $category->term_id, ), ),
Image work like expected …?
Thank you for your feedback, I’m gonna try to do all your step you mention and I will let you know asap.
Forum: Developing with WordPress
In reply to: Tax_query brake attachment size and srcsetThe thing is that I’m trying to display all the post from a custom post type bu category, for all categories.
Here is the full code, I don’t really see how can I do that to an other way …$knowledge_categories = get_terms('knowledge_category'); foreach ($knowledge_categories as $category) { $category_url = get_term_link($category);?> <header><?php echo esc_html($category->name); ?></header> <?php $query_args = array( 'post_type' => 'knowledge', 'posts_per_page' => 99, 'tax_query' => array( array( 'taxonomy' => 'knowledge_category', 'field' => 'term_id', 'terms' => $category->term_id, ), ), ); $knowledge_query = new WP_Query($query_args); if ($knowledge_query->have_posts()) : while ($knowledge_query->have_posts()) : $knowledge_query->the_post(); ?> <?php get_template_part( 'card-post-and-page' );?> <?php endwhile; wp_reset_postdata(); endif; }
- This reply was modified 1 year, 1 month ago by alexislevrai.
Yeah my fix work fine for now, it was more to let you know ??
The url is probably created by VAT-Number plugin but it overide the dashboard url in your plugin.
For now I solve it by doing that in dashboard-navigation.php// Check if href contains "vat-number"
$url = $endpoint_options['url'];
if (strpos($url, 'vat-number') !== false) {
// If "vat-number" found, remove it from the URL
$url = str_replace('vat-number', '', $url);
}Forum: Plugins
In reply to: [Polylang] WordPress 6.4 broke PolylangI finally found a solution.
After flushing permalink dozen of time, changing link format, nothing happen.And I discover my Polylang for Woocommerce was a really old version, updating this plugin solved my problem
I’ve create a topic on their (Polylang) support section, I will let you know here about their answers.
https://www.ads-software.com/support/topic/multilingual-categories-doesnt-appear-in-sitemap/
To be honest I really don’t know, from what I can see in you plugin code there is no reference to Polylang, but in Polylang there is a sitemap folder and references to Yoast, so maybe I should ask them first ??
Forum: Plugins
In reply to: [Mollie Payments for WooCommerce] 7.3.8 cause wordpress crashAlrigth I don’t see it in wordpress for now, I will wait for that. Thank you for the quick reaction
Forum: Plugins
In reply to: [Mollie Payments for WooCommerce] Undefined array key “voucher”Nice that was quick !
Forum: Plugins
In reply to: [Mollie Payments for WooCommerce] Undefined array key “voucher”Also faced this error this morning after an automatic update during the night.
Everything was in production and working fine yesterday with the 7.3.0Warning: Undefined array key "voucher" in?wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php?on line?44 Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php:44) in?wp-admin/includes/misc.php?on line?1381 Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php:44) in?wp-includes/functions.php?on line?6878 Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php:44) in?wp-includes/pluggable.php?on line?1421 Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Voucher/VoucherModule.php:44) in?wp-includes/pluggable.php?on line?1424
- This reply was modified 2 years, 6 months ago by alexislevrai.