Forum Replies Created

Viewing 30 posts - 121 through 150 (of 444 total)
  • Avatar: Goostaf
    Goostaf
    Participant
    November 28, 2024 at 17:54

    We got 2 codes:

    // Remove text output for screen-reader.
    add_filter(‘woocommerce_get_price_html’, ‘remove_screen_reader_text_from_prices’, 10, 2);
    function remove_screen_reader_text_from_prices($price, $product) {
    // Remove screenreader text using a regular expression.
    $price = preg_replace(‘/.*?<\/span>/’, ”, $price);
    return $price;
    }
    add_filter( ‘woocommerce_loop_add_to_cart_args’, ‘clear_success_message_attribute’, 10, 2 );
    function clear_success_message_attribute( $args, $product ) {
    // Clear the contents of the data-success_message attribute.
    if ( isset( $args[‘attributes’][‘data-success_message’] ) ) ) {
    $args[‘attributes’][‘data-success_message’] = ”; // Empty value.
    }
    return $args;
    }
    and it seems to work, will it harm the site?

    Avatar: Goostaf
    Goostaf
    Participant
    November 28, 2024 at 17:12

    This is the solution neuron offered us in function:

    // Remove text output for screen-reader.
    add_filter(‘woocommerce_get_price_html’, ‘remove_screen_reader_text_from_prices’, 10, 2);

    function remove_screen_reader_text_from_prices($price, $product) {
    // Remove screenreader text using a regular expression.
    $price = preg_replace(‘/.*?<\/span>/’, ”, $price);
    return $price;
    }
    It kind of removes the piece, but still in the card pulls texts like: “ data-product_sku=”56777“ rel=”nofollow“ data-success_message=”“A set of balls "Cream Heart"” added to your cart“>” Why they have all this, I do not understand, I do not even know what to do, rollback, but is it safe?

    Avatar: Goostaf
    Goostaf
    Participant
    November 28, 2024 at 11:08

    screen

    Files is visible for topic creator and
    support staff only.
    Avatar: Goostaf
    Goostaf
    Participant
    November 28, 2024 at 11:05

    I just wrote in the last thread that there were errors in the button, you solved the problem and the plugin was updated, I have not updated it specifically for probably half a year:)

    Anyway, maybe you can help here? So that I don’t rollback, but update as it should be further? I don’t know what the file code was before, but I know for sure that removing the code here is what you seem to have done for me in past threads:

    //label class=“screen-reader-text” for=“”> in quantity-input.php//

    everything worked fine. I.e. we apparently removed all this unnecessary stuff from the code via screen-reader-text, a bunch of garbage in the code, which throws us off the whole relevance of the document type:

    //span class=“screen-reader-text”//The original price was, Current price: 2990 ₽.// all this style is not needed absolutely, the file itself quantity-input.php is not large, can you tell me what can be commented or changed?

    Avatar: Goostaf
    Goostaf
    Participant
    November 28, 2024 at 10:00

    I don’t even know what version you had, you updated our Woocomerce plugin.

    Avatar: Goostaf
    Goostaf
    Participant
    November 25, 2024 at 10:01

    Thank you, I have corrected all the errors in loco

    Avatar: Goostaf
    Goostaf
    Participant
    November 23, 2024 at 18:13

    Everything has been updated, nothing has changed, there is no icon for the button

    Please contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    Avatar: Goostaf
    Goostaf
    Participant
    November 19, 2024 at 13:12

    Where are the font files in general? I can’t find the path to add local fonts to WP Rocket preloading

    Avatar: Goostaf
    Goostaf
    Participant
    November 19, 2024 at 13:11

    Now it’s like this, but the error from the console hasn’t disappeared for some reason

    Files is visible for topic creator and
    support staff only.
    Avatar: Goostaf
    Goostaf
    Participant
    November 14, 2024 at 11:05

    and it seems to be a problem only on iphones.

    Avatar: Goostaf
    Goostaf
    Participant
    October 30, 2024 at 09:27

    Thank you, that’s what we did

    Files is visible for topic creator and
    support staff only.
    Avatar: Goostaf
    Goostaf
    Participant
    October 29, 2024 at 13:57

    Maybe that’s what’s causing the problem. Basically on the site we only use Monserat regular kind of thing.

    Avatar: Goostaf
    Goostaf
    Participant
    October 29, 2024 at 11:56

    Maybe here?

    Files is visible for topic creator and
    support staff only.
    Avatar: Goostaf
    Goostaf
    Participant
    October 28, 2024 at 12:15

    Ok, we added the font to WP Rocket, also on the hosting for some reason there are a lot of the same font files, maybe we need to do something here too?

    Files is visible for topic creator and
    support staff only.
    Avatar: Goostaf
    Goostaf
    Participant
    October 28, 2024 at 08:18

    Let’s do it again, please, we’re not clear on what to do. In this thread you recommended us to connect fonts locally: https://www.8theme.com/topic/is-it-possible-to-make-fonts-local-on-the-server/#post-393021 to optimize the site, now it has caused a base growth problem and is negatively affecting the site, do I understand correctly? Maybe then it’s easier for us to use google font as before and that will solve the problem? Or do we need to put your code in function after all?
    ђ

    Avatar: Goostaf
    Goostaf
    Participant
    October 27, 2024 at 19:27

    I am observing the problem from Safari browser on 13 afyon, I will check with staff tomorrow, also some have this….

    About the first point did not do anything like that, we only use your theme, but I think it might be related to your help earlier maybe? Earlier you helped us with styles in style.css and a number of files with edits that replaced the icon with the word “Buy” instead of the icon, now we have returned back, maybe there is something not finished.

    Translated with DeepL.com (free version)

    Avatar: Goostaf
    Goostaf
    Participant
    October 26, 2024 at 12:06

    They threw it off again

    Please contact administrator
    for this information.
    Avatar: Goostaf
    Goostaf
    Participant
    October 25, 2024 at 15:38

    I’m sorry, I do not know what to choose, I thought local fonts on the contrary speed up the site, but it turns out that it is on the contrary becomes heavier? The second code if I put, something will change on the site? Will it become slower or faster?

    Avatar: Goostaf
    Goostaf
    Participant
    October 25, 2024 at 07:24

    then the code above doesn’t need to be put anywhere? Isn’t it something to do with fonts? We have it added locally, maybe we did something wrong.

    Avatar: Goostaf
    Goostaf
    Participant
    October 25, 2024 at 03:01

    It turned out that you had to Click Sync in Loco and everything appeared, thank you!

    Avatar: Goostaf
    Goostaf
    Participant
    October 24, 2024 at 11:40

    Did I understand correctly that you need to wait for the next update and then the error will disappear?

    Avatar: Goostaf
    Goostaf
    Participant
    October 24, 2024 at 10:26

    Got it, is there any way to make changes to the translations in such files in some other way, so as not to constantly change after every theme update? There is no access to all these files in Loco translation plugin, if there was, I would translate once and forget, but so every update turns into a torture.

    Avatar: Goostaf
    Goostaf
    Participant
    October 21, 2024 at 09:37

    Thanks, read the thread, installed the Autoload Checker plugin and I see this:

    1516 KB

    Autoload top list:
    # Option name Size
    1 et_header_builder_fonts 446 KB
    2 theme_mods_xstore-child 121 KB
    3 permalink-manager-uris 82 KB
    4 widget_custom_html 65 KB
    5 wooccm_billing 49 KB
    6 wpseo_taxonomy_meta 45 KB
    7 et_multiple_headers 33 KB
    8 cforms_settings 29 KB
    9 redux_builder_amp 28 KB
    10 rewrite_rules 27 KB
    11 ppoec_user_roles 24 KB
    12 fs_accounts 21 KB
    13 wooccm_shipping 20 KB
    14 asl_debug_data 20 KB
    15 bwp_minify_detector_log 19 KB
    16 _wc-bitrix24-contact-fields 19 KB
    17 _cf7-bitrix-company-fields 19 KB
    18 _wc-bitrix24-company-fields 19 KB
    19 nf_form_1 18 KB
    20 _wc-bitrix24-lead-fields 18 KB

    Do I understand correctly that this is your table in the 1st place? I see a topic you have with cleaning methods, can this be done from us?

    https://www.8theme.com/topic/huge-table-called-et_header_builder_fonts/

    Avatar: Goostaf
    Goostaf
    Participant
    October 18, 2024 at 13:27

    We cleaned it, it didn’t work, let’s try from other devices, your video has the Menu Header disappearing from the top, why?

    Files is visible for topic creator and
    support staff only.
    Avatar: Goostaf
    Goostaf
    Participant
    October 18, 2024 at 08:21

    Alas, the code doesn’t work

    Avatar: Goostaf
    Goostaf
    Participant
    October 16, 2024 at 18:48

    Everything is great, thank you so much!!!

    Avatar: Goostaf
    Goostaf
    Participant
    October 15, 2024 at 15:42

    Hello, will they help us? I can do the update myself and show the problem, but I would like to understand the timing of the solution, it is probably more correct for you to go in, do it and immediately see the problem so that we do not wait very long. We have made a full backup

    Avatar: Goostaf
    Goostaf
    Participant
    October 14, 2024 at 17:17

    I have now made a full backup, if you want, you can try to update the plugin and theme and see the problem, if there is no solution immediately, I will restore the backup, can I do so? I have not worked with such a plugin.

    Avatar: Goostaf
    Goostaf
    Participant
    October 14, 2024 at 10:19

    Problem

    Files is visible for topic creator and
    support staff only.
    Avatar: Goostaf
    Goostaf
    Participant
    October 14, 2024 at 10:13

    I’m throwing the data, the problem I described here in detail, https://www.8theme.com/topic/after-the-update-the-headers-in-categories-are-missing-how-to-get-them-back/#post-418535 I updated your Core plugin and theme and I have on my site from all categories and products disappear headers for some reason, so I did not wait for you and rolled back all the updates, if now you are ready to help, I’ll make updates again or you can do it yourself and see the problem.

    Please contact administrator
    for this information.
  • 1 2 3 4 5 6 13 14 15
    Viewing 150 results - 121 through 150 (of 444 total)
Viewing 30 posts - 121 through 150 (of 444 total)
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.