alezucchi
Forum Replies Created
-
Forum: Plugins
In reply to: [Translate Multilingual sites - TranslatePress] Flag image sizeSOLVED
i missed
add_theme_support( 'post-thumbnails' );
in functions.phpForum: Plugins
In reply to: [Translate Multilingual sites - TranslatePress] Custom flag image sizealso this seems to be involved and refers to trp-custom-language-flag, but the code mentioned above is not working for me…
* Returns the original flags path for original languages * Or the custom flag path for flags uploaded into the media library * The image is returned resized to the custom size dictated bu trp-custom-language-flag * */ function trpc_flags_path_custom( $original_flags_path, $language_code ) { // only change the folder path for the custom languages: $option = get_option( 'trp_advanced_settings', true ); if ( isset( $option['custom_language'] ) ) { foreach ( $option['custom_language']['cuslangname'] as $key => $value ) { if ($language_code === $option["custom_language"]["cuslangcode"][$key] && !empty($option["custom_language"]["cuslangflag"][$key]) ) { $attachment_array = wp_get_attachment_image_src(attachment_url_to_postid($option["custom_language"]["cuslangflag"][ $key ]), 'trp-custom-language-flag'); return isset($attachment_array) && $attachment_array ? $attachment_array[0] : $option["custom_language"]["cuslangflag"][ $key ]; } } } return $original_flags_path; } add_filter( 'trp_flag_file_name', 'trpc_flag_name_custom', 10, 2 );
Forum: Plugins
In reply to: [Translate Multilingual sites - TranslatePress] Flag image sizeI’ve found this line in class-language-switcher.php in TP’s folder
// HTML code to display flag image $flag_html = '<img class="trp-flag-image" src="'. esc_url( $flags_path . $flag_file_name ) .'" width="18" height="12" alt="' . esc_attr( $language_code ) . '" title="' . esc_attr( $language_name ) . '">';
how can i override this?
Forum: Plugins
In reply to: [Translate Multilingual sites - TranslatePress] Custom flag image sizeI’ve found this line in class-language-switcher.php in TP’s folder
// HTML code to display flag image $flag_html = '<img class="trp-flag-image" src="'. esc_url( $flags_path . $flag_file_name ) .'" width="18" height="12" alt="' . esc_attr( $language_code ) . '" title="' . esc_attr( $language_name ) . '">';
how can i override this?
Forum: Plugins
In reply to: [Translate Multilingual sites - TranslatePress] Custom flag image sizeI have the same problem but unfortunately this solution seems not working for me.
??Hello, thank you for your kind answer!
Actually yes, I need some other help, but i think i’ve better open another ticket since it’s about a different topic.
Thank you for now, you can lose this ticket.
Have a nice day
AZ- This reply was modified 2 years, 7 months ago by alezucchi.
Ok.. i did it by myself… ??
it was just not very clear in your tutorials…Basically i was using the tags like translation-block in translation filed, inside the editor interface. What i had to do is to change the html block in original language and then simply translate through the editor.
You can close this ticket
Thank’s
AZ
hello, do yo have any recommendation?
THank’sHello, thank you for your kind answer!
I don’t have any filter in any of the two feeds…
and i have the error on ALL my products in the secondary feed…
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Data layer variableHELLO, AGAIN, PLEASE HELP
I need to find with metakey is applied to a product when a brand is applied.
I need to get the brand value to read it and send it to Google Analytics.
Thank’s
Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Data layer variableHello
please, help me grabbing the brand value and send it to data layer..Forum: Plugins
In reply to: [Perfect Brands for WooCommerce] Data layer variablehello, can you help me?
more specifically i’m trying to insert tis line to get brand in data layer
‘brand’: ‘<?php echo $brands[‘name’]; ?>’,
thank you
AZ
Forum: Plugins
In reply to: [HUSKY - Products Filter Professional for WooCommerce] Incomplete resultsHello, thank you for your kind answer, we are migrating hosting today. Please let me contact you as soon as it’s moved and tested again!
Forum: Plugins
In reply to: [HUSKY - Products Filter Professional for WooCommerce] Incomplete resultsafter reindex 850 products found over 1200 in archive