kostasmorph13
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Exclude elementor entrance animations for headingsThis was on the homepage title. Anyway, I stay for the moment with no guest optimization off and I will see what I can do.Thank you for all the help.Please close the ticket.
Forum: Plugins
In reply to: [LiteSpeed Cache] Exclude elementor entrance animations for headingsI tried your suggestion above. The problem remains. I searched it more and run the page with and without optimization. I found out that in the optimized version there was an error in the console (right click in page ->inspect, then console), which was :
Uncaught ReferenceError: wp is not defined
at blob:https://footballpublicationslimited.co.uk/ebf0f593-52bd-45b7-b354-be97c21f9d91:1:1The js file responsible for this is the following: i18n.min.js?ver=7701b0c3857f914212ef.
I tried to exclude it from the JS Excludes and JS Deferred / Delayed Excludes with its full url , and purged all, but nothing happened.
Any other suggestions?
Forum: Plugins
In reply to: [LiteSpeed Cache] Exclude elementor entrance animations for headingsHello again.
The problem is caused by Guest optimization. When this option is on, then the headings of elementor , which have entrance animation are shown only if scroll in mobile or if i move the cursor in desktop.
I tried to turn off all options in Page Optimization tabs 1 to 9 (CSS settings to Tuning CSS), but the problem is still there.
Some options though, even if turned off , there is a message that mentions that cannot be turned off due to Guest Optimization.
These are from tab 1,CSS settings???->? CSS minify,CSS combine,Generate UCSS, UCSS inline. And from tab 4,Media Settings -> Responsive placeholder.
In tab 9 Tuning CSS i must always put on CSS Excludes the / character, otherwise the contact us page breaks completely.Is there a way to ersae all the settings of litespeed cache in order for this page not to break? This was not happening before, even if i tested many presets and options.
When i make the changes i select “purge all” and then i check in mobile and desktop. I think i see immediately the changes. Am i right or should i wait more? Plz advice if you know something that will solve the issue.
Thank you in advance.
Forum: Themes and Templates
In reply to: [onetone] Home page and onetone homepage menu in 2 languagesProblem solved with the code above.
Forum: Themes and Templates
In reply to: [onetone] section 1 (with video) deos not load firefoxThe problem was caused by a plugin for google maps in the homepage.
I replaced it with another and now is ok.Forum: Themes and Templates
In reply to: [onetone] Home page and onetone homepage menu in 2 languagesHello Rimokas,
I used mqtranslate and made some alternations to the code of header.php to solve my problem.
After the following line in the header.php:
$section_num = onetone_options_array( ‘section_num’ );add the following:
IF (qtrans_getLanguage()==”EL”) {
$kyrioarray[0]=’ΑΡΧΙΚΗ’;
$kyrioarray[1]=’ΣΧΕΤΙΚΑ ΜΕ ΕΜΑΣ’;
$kyrioarray[2]=’BUS TOURS’;
$kyrioarray[3]=’BOAT TOURS’;
$kyrioarray[4]=’ΔΙΟΡΓΑΝΩΣΕΙΣ ΓΑΜΩΝ’;
$kyrioarray[5]=’MINI BUS LTS’;
$kyrioarray[6]=’RENT A CAR’;
$kyrioarray[7]=’ΕΠΙΚΟΙΝΩΝΙΑ & ΤΟΠΟΘΕΣΙΑ’;
}
else
{
$kyrioarray[0]=’HOME’;
$kyrioarray[1]=’ABOUT US’;
$kyrioarray[2]=’BUS TOURS’;
$kyrioarray[3]=’BOAT TOURS’;
$kyrioarray[4]=’WEDDING ORGANIZATION’;
$kyrioarray[5]=’MINI BUS LTS’;
$kyrioarray[6]=’RENT A CAR’;
$kyrioarray[7]=’CONTACT & LOCATION’;
}The second language i use is Greek.
Then after the line below:if(trim($section_slug) !=””){
$sanitize_title = $section_slug;
}add this:
for ($x=0; $x<=1; $x++) {
$kyriomenu=$kyrioarray[$i];
}and in the following line add the $kyriomenu like that:
$onepage_menu .= ‘<li id=”onetone-‘.$sanitize_title.'” class=”onetone-menuitem”>
<span>’.$kyriomenu.'</span>‘;Thank you MageeWP for your answer.I’ll try it soon.
Regards,
Kostasmorph13Forum: Themes and Templates
In reply to: [onetone] Multilanguage site with OnetoneHello simone.p,
A part of solution for your problem is to use mqtranslate and use the following syntax for your Section titles:
[:en]HOME[:EL]ΑΡΧΙΚΗ
The example is for Greek language.The problem is that behind the scenes this is giving in the value of $sanitize_title a form like %i%u%y%t%e%c%v
and if you want to use an additional menu for pages you receive an error:Warning: sprintf() [function.sprintf]: Too few arguments in C:\xampp\htdocs\wordpress\wp-includes\nav-menu-template.php on line 405
from which i cannot get rid of yet.And the last problem is that when you click on the link of the menu,it doesn’t redirect you to the section it should.
Forum: Themes and Templates
In reply to: [onetone] Home page and onetone homepage menu in 2 languagesThe key to that is that i must “take” the menu_title_ from the following sentence in 2 languages using mqtranslate or qtranslate.
$options[] = array(‘name’ => __(‘Menu Title’, ‘onetone’),’id’ => ‘menu_title_’.$i.”,’type’ => ‘text’,’std’=>$section_menu[$i],’desc’=>’This title will display in the header menu. It is required’);
Thank you.