Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Uplift › Can't edit/delete mobile top bar text
New Landing › How can we help? › Themeforest Theme Support › Uplift › Can't edit/delete mobile top bar text
- This topic has 15 replies, 3 voices, and was last updated 7 years by Rui Guerreiro – SUPPORT.
-
Posted in: Uplift
-
November 7, 2016 at 12:02 pm #300732
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!
HenriNovember 8, 2016 at 12:24 pm #300961Hi,
Please disable your caching plugin and the Autoptimize plugin.
Thanks.
November 8, 2016 at 12:43 pm #300967Hi, David!
Disabled them.Thank you
HenriNovember 9, 2016 at 1:13 pm #301150Please can you disable all plugins leaving only Swift Framework and WooCommerce active whilst I look. I can replicate this on your site.
November 9, 2016 at 1:22 pm #301152Done.
Thanks
November 9, 2016 at 2:16 pm #301163Great, I have now been able to remove
FREE shipping on orders over 20€
from the mobile header.Thanks.
November 9, 2016 at 3:39 pm #301181Hi, 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!
HenriNovember 9, 2016 at 3:40 pm #301183Henri as you have WPML installed, have you checked you have not got separate options for each languages?
November 9, 2016 at 4:13 pm #301192Hi!
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!
HenriAttachments:
You must be logged in to view attached files.November 9, 2016 at 5:52 pm #301220Henri 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.
November 10, 2016 at 3:00 am #301284Hi, 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! 🙂
HenriNovember 10, 2016 at 1:44 pm #301346Hi 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/
November 11, 2016 at 3:35 am #301437Hi!
Will do and let you know, what they answer.
Henri
November 11, 2016 at 9:31 am #301450ok. Let us know.
-Rui
November 18, 2016 at 7:57 am #302459Hi!
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 -
Posted in: Uplift
You must be logged in and have valid license to reply to this topic.