Home › Forums › WoodMart support forum › 5 questions
5 questions
- This topic has 13 replies, 2 voices, and was last updated 6 years, 9 months ago by Artem Temos.
-
AuthorPosts
-
February 23, 2018 at 1:23 pm #41828
RainhardParticipant1. The number of products in the category on the main page, some categories displayed in some do not (see video), how to fix it?.
2. How to make a link to the home page of the store in the product catalog menu (see screenshot).
3. I want to see social network Vkontakte (vk.com) for buttons to share and all social theme modules.
4. Also I translated 99% of themes on Russian language, where the translation may be inaccurate, but we translate the error in the process of formation of the site (link to translation).
5. Why not translate this element? (see screenshot)
P.S. Sorry for my knowledge of English, I used translator. All links will exist until you have resolved the issues in this thread.
February 23, 2018 at 2:27 pm #41868
Artem TemosKeymasterHello,
Thank you so much purchasing our theme and contacting our support center.
1. Seems that word “products” is missed in the translation files. Do you use Loco Translate to translate the theme?
2. Sorry, but it is not a link and it may require additional code customization to add a link there. You can find it in the file
inc/template-tags.php
. Function name –woodmart_header_block_categories_menu
.3. Unfortunately, we don’t have “Share VK” button.
4. Thank you for sharing it.
5. We added a translation for this text in our last update. If you use Loco Translate, try to click on “Sync” button to be able to translate it.
Kind Regards
XTemos StudioFebruary 23, 2018 at 2:37 pm #41871
RainhardParticipant1. Yes, I use the plugin Loco Translate, but translations of these phrases have been made, I noticed that it is displayed only when the category 1-4 product, if more they stop to be displayed.
2. If I write it in this file for future updates it will not be overwritten?
3. It would be cool if such functionality will be. Under this option there is documentation.
4. If you have a repository, I would post the changes. You include the translation in the theme files?
5. Now I will try.
February 23, 2018 at 2:50 pm #41879
Artem TemosKeymaster1. Try to use “Sync” for this point as well.
2. You can try to copy this function to the child theme functions.php file and then it will not be overwritten with updates.
3. We will consider it for our future updates.
4. Actually, we don’t include other languages translations since it should be always updated and maintained.
Regards
February 23, 2018 at 3:00 pm #41892
RainhardParticipant1. Made a sync, it didn’t help. In the screenshot you can see that in the category of only one product and it is displayed. There is also a translation.
2. The issue has been resolved. The decision to use a child theme.
3. The issue has been resolved. Let’s wait for updates and hope.
4. I can make a repository on Github and support this translation. For many people, it very much will help after you purchase Your theme.
5. The issue has been resolved. Synchronization helped.
February 23, 2018 at 3:02 pm #41893
Artem TemosKeymasterCould you please provide us your admin access so we can check the first issue?
February 23, 2018 at 3:05 pm #41894
RainhardParticipantAnswer in private Content
February 23, 2018 at 3:18 pm #41897
Artem TemosKeymasterCould you please provide us your FTP access as well?
February 23, 2018 at 3:23 pm #41900
RainhardParticipantAccess in private
February 23, 2018 at 8:27 pm #41931
Artem TemosKeymasterWe can’t find the reason why this text can’t be translated for you. Try to do this in the code. Create a file in the child theme
woodmart-child/woocommerce/content-product_cat.php
with the following code<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly $isotope = woodmart_loop_prop( 'products_masonry' ); $different_sizes = woodmart_loop_prop( 'products_different_sizes' ); $categories_design = woodmart_loop_prop( 'product_categories_design' ); $product_categories_style = woodmart_loop_prop( 'product_categories_style' ); $loop_column = woodmart_loop_prop( 'products_columns' ); $classes = array(); if( $different_sizes ) { $isotope = true; } woodmart_set_loop_prop( 'woocommerce_loop', woodmart_loop_prop( 'woocommerce_loop' ) + 1 ); $woocommerce_loop = woodmart_loop_prop( 'woocommerce_loop' ); $items_wide = woodmart_get_wide_items_array( $different_sizes ); if( $different_sizes && in_array( $woocommerce_loop, $items_wide ) ) { woodmart_set_loop_prop( 'double_size', true ); } $xz_columns = (int) woodmart_get_opt( 'products_columns_mobile' ); $xz_size = 12 / $xz_columns; if( $product_categories_style != 'carousel' ) $classes[] = woodmart_get_grid_el_class( $woocommerce_loop, $loop_column, $different_sizes, $xz_size ); $classes[] = 'category-grid-item'; $classes[] = 'cat-design-' . $categories_design; ?> <div <?php wc_product_cat_class($classes, $category); ?> data-loop="<?php echo esc_attr( $woocommerce_loop ); ?>"> <div class="wrapp-category"> <div class="category-image-wrapp"> <a href="<?php echo esc_url( get_term_link( $category->slug, 'product_cat' ) ); ?>" class="category-image"> <?php do_action( 'woocommerce_before_subcategory', $category ); ?> <?php do_action( 'woocommerce_before_subcategory_title', $category ); ?> </a> </div> <div class="hover-mask"> <h3 class="category-title"> <?php echo esc_html( $category->name ); if ( $category->count > 0 ) echo apply_filters( 'woocommerce_subcategory_count_html', ' <mark class="count">(' . $category->count . ')</mark>', $category ); ?> </h3> <div class="more-products"><a href="<?php echo esc_url( get_term_link( $category->slug, 'product_cat' ) ); ?>"><?php echo sprintf( _n( '%s продукт', '%s продуктов', $category->count ), $category->count ); ?></a></div> <?php do_action( 'woocommerce_after_subcategory_title', $category ); ?> </div> <a href="<?php echo esc_url( get_term_link( $category->slug, 'product_cat' ) ); ?>" class="category-link"></a> <?php do_action( 'woocommerce_after_subcategory', $category ); ?> </div> </div> <?php if( ! $isotope ) echo woodmart_get_grid_clear( $woocommerce_loop, $loop_column, $xz_columns );
February 25, 2018 at 3:46 pm #42190
RainhardParticipantHow do I make a child theme so that all the settings are preserved? Yesterday, a very high server load was recorded on the hosting, you can ask what you did? since yesterday we had a day off.
Attachments:
You must be logged in to view attached files.February 25, 2018 at 6:00 pm #42196
RainhardParticipantBelow is a screenshot with the number of hits that loaded the site
February 25, 2018 at 6:44 pm #42201
RainhardParticipantWhere are the menu items missing?
In your doc – https://yadi.sk/i/aS3ObjUg3Sm3Bs
in my site – https://yadi.sk/i/0jDqblsa3Sm3KkWhat have you done with our site? Why do we keep asking for site icons?
February 25, 2018 at 7:44 pm #42208
Artem TemosKeymasterHello,
We didn’t change anything on your website and our theme is not related to your server high loading.
As for the menu items, check your “Screen options” in the right top corner on the menu page and check all items you want to see in the sidebar.Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register