New Landing How can we help? Themeforest Theme Support Uplift Can't edit/delete mobile top bar text

Viewing 15 posts - 1 through 15 (of 16 total)
  • Posted in: Uplift
  • #300732
    birdfamily
    Member
    Post count: 31

    Hi!
    I’m having troubles deleting and/or editing mobile top bar text.

    First I entered Mobile Top Bar text, but couldn’t manage to get it translatable in WPML string translations.
    Then I just tried to delete it, but it keeps coming up in admin and front-end.

    If I delete/edit the text (Theme Options > Mobile Header Options) and save it, it’s gone/changed in admin view. After refreshing admin window, the previous text appears again.
    I’ve tried clearing caches, but it doesn’t help. The text doesn’t also go away/change in front-end.

    With big screen top bar (Theme Options > Header Options) everything works great and is translatable.

    Hope you can at least help to hide the mobile top bar text.

    Thank you very much!
    Henri

    #300961
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please disable your caching plugin and the Autoptimize plugin.

    Thanks.

    #300967
    birdfamily
    Member
    Post count: 31

    Hi, David!
    Disabled them.

    Thank you
    Henri

    #301150
    David Martin – Support
    Moderator
    Post count: 20834

    Please can you disable all plugins leaving only Swift Framework and WooCommerce active whilst I look. I can replicate this on your site.

    #301152
    birdfamily
    Member
    Post count: 31

    Done.

    Thanks

    #301163
    David Martin – Support
    Moderator
    Post count: 20834

    Great, I have now been able to remove FREE shipping on orders over 20€ from the mobile header.

    Thanks.

    #301181
    birdfamily
    Member
    Post count: 31

    Hi, David!

    The “Free shipping on orders over 20€” text still keeps coming back to mobile top bar.

    I noticed that when I delete the whole mobile top bar text in Theme Options, save changes and won’t refresh or leave the Theme Options page, then the mobile top text gets removed from pages in Estonian only (pages starting with krutstravel.com/et/). All English pages (krutstravel.com/) still have the mobile top bar text.

    Once I refresh the Theme Options page or leave to Dashboard or anywhere else in admin, then all the pages in all languages show the same same “Free shipping…” text. When going back to Theme Options, the old text is there again.

    I left autoptimizer and WP Super Cache deactivated.

    Hope you can take another look at it.

    Thanks!
    Henri

    #301183
    David Martin – Support
    Moderator
    Post count: 20834

    Henri as you have WPML installed, have you checked you have not got separate options for each languages?

    #301192
    birdfamily
    Member
    Post count: 31

    Hi!
    From WPML translation management it looks like it should be translatable with string translations (like the “big screen” top bar).
    In string translations the mobile top bar string is still missing after several theme localization tries. I added some screenshots.

    Do you mean with separate options, if I change the “Showing content in: English/Estonian” in admin top bar? I’ve tried deleting the text in both English and Estonian view, but it just keeps coming back.
    If it’s not possible to translate the mobile top bar text at the moment, that’s OK, I can use promo bars or some other ways.
    But I would like to be able to delete the mobile top bar text from all the pages.

    Thanks again!
    Henri

    Attachments:
    You must be logged in to view attached files.
    #301220
    David Martin – Support
    Moderator
    Post count: 20834

    Henri this is caused by a plugin. You need to find out which one is causing this.

    Deactivate all plugins as before. Remove the text from the theme options as I did. Then reactivate each plugin one at a time.

    – David.

    #301284
    birdfamily
    Member
    Post count: 31

    Hi, David!

    It’s caused by WPML String Translation.
    When it’s deactivated, I can change and delete mobile top bar text without problems.

    Few more things I noticed:
    1) If I deactivate wpml string translation and delete mobile top bar text, it’s gone from everywhere and doesn’t reappear, perfect.
    2) When I re-activate string translation, then the “old text” is automatically displayed only on default language pages (English) and is also filled in in Mobile Header Options > Mobile Top Bar Text. When though I changed or deleted the text, while string translation was deactivated.
    3) Once I open any Theme Options (General, Color, Header, Mobile Header Options or anything) and click Save Changes (even without making any changes), the mobile top bar text is displayed on all pages in all languages. Probably because the mobile top bar text gets filled in with the old text, if string translation is activated again.

    So for now, if I avoid saving any theme options, after string translation is deactivated, mobile top bar text deleted and string translation re-activated, the old mobile top bar text shows up only on default language (English) pages.

    Hope there’s some solution for that. As I mentioned, the “big screen” left and right top bars are working perfectly with WPML.
    With my close to zero knowledge in programming, my wild guess is the desktop and mobile top bar function in quite similar ways.

    Thanks a lot! 🙂
    Henri

    #301346
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Henri,

    Can you delete the strong from WPML String Translation?

    We work closely with WPML in order to be sure the theme is compatible, if you can log a ticket with them we can work with them to improve this.

    Please contact WPML support and report this issue: https://wpml.org/forums/forum/english-support/

    #301437
    birdfamily
    Member
    Post count: 31

    Hi!

    Will do and let you know, what they answer.

    Henri

    #301450
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    ok. Let us know.

    -Rui

    #302459
    birdfamily
    Member
    Post count: 31

    Hi!

    I wanted to let you know, that this issue is fixed.

    Ankit from WPML support fixed it with these steps:
    1. I’ve investigated the issue and it seems that somehow this is happening because of database conflict or improper update. However, deleting one record from *_icl_strings (id=57) and one record from *_icl_string_translations (string_id=57) table resolves the issue and make everything work again.
    2. Another change is copying wpml-config.xml file from parent theme to child theme and deleting it from parent theme.

    Hope it helps, if someone might have the same issue.

    Thank you guys!
    Henri

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register