hugodebe
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Pinnacle] Deliver the correct size for image galleryHello Kevin, thanks for the plugin! It took few hours as the website has more than 3000 images. All the images have now a 230×230 thumbnail, but the browser continue choosing the 400×400 option.
The code is the same :
<img class="light-dropshaddow" alt="" src=" https://example.com/wp-content/uploads/2016/10/image-400x400.jpg" srcset=" https://example.com/wp-content/uploads/2016/10/image-230x230.jpg 230w, https://example.com/wp-content/uploads/2016/10/image-60x60.jpg 60w, https://example.com/wp-content/uploads/2016/10/image-400x400.jpg 400w" sizes="(max-width: 400px) 100vw, 400px" height="400" width="400" >
I had some readings about responsive images in wp, but I’m not sure how to modify the src and sizes attributes to 230px instead of 400px.
1/ Is the 400px parameter set by the theme and can I edit the template in my child theme?
2/ Do I need a filter to redefine the src and sizes attributes?
3/ To go further, is it recommended to unset the 400×400 thumbnails and bulk delete them to save space?
Thanks in advance for any help
Forum: Plugins
In reply to: [W3 Total Cache] Minify HTML breaking the wp video playlist /*<!–[CDATA[*/Hi, I added [CDATA to the ignored comments and I tried all the possible configurations available in the HTML & XML section, but I continue having the same problem. The same with CDATA or [CDATA[…
Please, let me know if there is something else I could try.
I’m thinking about duplicating the website in another server to downgrade the plugin and/or wp to try to find when this problem happened.
Forum: Themes and Templates
In reply to: [Virtue] Translate virtue portfolio_linkThanks for this information.
If my understanding is right, in Premium the solution would be to create a parent type for each language. Don’t you think the portfolio navigation buttons could act, by default, the same as the post next/previous buttons. I mean going through the post list in the current language and be hidden, respectively, at the end or the bottom of the list? Could that be a feature request?
I am already a customer but I didn’t really want to install Virtue Premium on that specific project as I don’t need most of the features. I will reconsider that choice or maybe stop using the portfolio navigation for now.
Forum: Themes and Templates
In reply to: [Virtue] Translate virtue portfolio_linkThanks for the information. I’ve updated the theme and my child theme, and then I was able to set page id for each language into the the Polylang table.
But I still have a problem regarding the portfolionav previous and next buttons. The navigation goes through the portfolio posts in the current language, but at the end of the list, it continues through the portfolio posts in another language.
Is there a way to set the loop only for the posts in the current language?
Thanks in advance
Forum: Plugins
In reply to: [Polylang] Tracking visitor with google analyticsHi, I’m also looking for to set different properties in Google Analytics for each language.
Do you have any progress with this conditional syntax to set a GA tracking code by language/domain?
Forum: Themes and Templates
In reply to: [Virtue] Home Icon Menu translation strings missingI get it! Thanks a lot
Into Polylang, the strings appear now under the group
virtue_child
.Forum: Plugins
In reply to: [Yoast SEO] Do Yoast support Polylang for multidomain sitemap.xml?The only error I get from now in Google Search Console is regarding the Language Sitemap created by Yoast SEO.
domainlang1.com/language-sitemap.xml
As mentioned by interactivebonnier above:
each domain on a site should have its own sitemap.xml url
It looks to be problem to have several domains in the same sitemap.
To disable it, go to the Yoast SEO settings > XML Sitemaps section > Taxonomies tab and switch off Languages (language)
Forum: Plugins
In reply to: [Yoast SEO] Do Yoast support Polylang for multidomain sitemap.xml?Yoast SEO and Polylang are working well together.
I also have a different domain for each languages and I automatically get a sitemap per domain/language:
domainlang1.com/sitemap_index.xml
domainlang2.com/sitemap_index.xmlForum: Themes and Templates
In reply to: [Virtue] Home Icon Menu translation strings missingYes, I use a child theme. Could you explain me a bit how to:
override the WPML config or manually add the strings to be available through the string translation.
I’m not familiar yet with WPML config, neither adding the strings manually, but I tried, adding something like this in function.php:
// Virtue Home Icon Menu translation pll_register_string('title',$virtue['icon_menu'],'virtue'); pll_register_string('description',$virtue['icon_menu'],'virtue');
I can see 2 new strings in the Polylang table, but they are empty of text. What am I missing? Do I need to add something (like pll_) into icon-menu.php into my child theme?
Thanks in advance
Thanks pavloborysenko for your feedback and video. I’m happy you replicated the problem I have.
I will consider choosing one plugin, but it’s difficult as both are very important to my customers.
Please, could you recommend compatible plugins for discounts, with a free version if possible?
–
The main feature I’m looking for is BUY 3 GET 4.
More exactly: BUY X GET X+1 (where X is the minumum product quantity set to get the offer on a selected product or category, for example 3 units). Then the logic continue that way BUY X+1 GET X+1, Buy X+2 Get X+1, etc. Until we get to BUY 2X GET X+2. And then BUY 2x+1 GET X+2, etc.
Thanks for your feedback.
I’m actually trying to make it multilingual with the Polylang plugin.
Any idea?
Here is my thread: https://www.ads-software.com/support/topic/multilingual-integration-with-polylang-wc-product-stock-alert-plugin
Now I can save the translations of the strings into Polylang without problem. But, still nothing on front end.
The translated strings aren’t shown on the website and the labels I set in the WooCommerce Product Stock Alert setting page are the only ones in use. So, one language only…
Any suggestion to make this plugin properly working with Polylang?
Thanks in advance
No more fatal error on my side since I’ve updated the plugin code following the recommendation:
For others who didnt see:
/wp-content/plugins/woocommerce-product-stock-alert/classes
File: class-woo-product-stock-alert-admin.php
Change line 231 to
if( is_object($product_obj) && $product_obj->is_type(‘variable’) ) {
https://www.ads-software.com/support/topic/fatal-error-call-to-a-member-function-is_type-on-boolean-inThe thread on the Pricing Deals for WooCommerce support page: https://www.ads-software.com/support/topic/woocommerce-currency-switcher-conflict
The developer said:
Pricing Deals does not employ javascript to change pricing in the cart, so I am at a loss as to what might be causing/not causing a JS error.
Here a version of the website but with Pricing Deals plugin deactivated (currency switcher works fine for me): package001.montoeu.com
Here the first version with Pricing Deals activated (currency switcher doesn’t work fine for me): demo.montoeu.com
Thanks for your quick support. The problem come from Pricing Deals for WooCommerce plugin I use for BUY ONE GET ONE offers.
https://www.ads-software.com/plugins/pricing-deals-for-woocommerce/
I will report the compatibility issue to them.
Any suggestion from your side?