protivinsky
Forum Replies Created
-
Forum: Plugins
In reply to: [qTranslate X] CSS classes wrongly applied to menu in home pageI am having completely the same issue – after activation of qTranslate X plugin, CSS classes for link menu items on the front page are wrong (there are “current-menu-item” and “current_page_item” classes everywhere). If I deactivate the plugin, the CSS classes are correct. I have not had installed qTranslate Slug before.
Another issue is that targets of links (which should be href=”#” in my case for top level menu items) are replaced by url address of the website (therefore they lead to the front page which I do not want).
I used similar solution as beamkiller to fix that:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script type="text/javascript"> <?php if (is_front_page()) { // FIX MENU ON FRONT PAGE ?> function myFix() { jQuery("#menu-item-40").removeClass("current-menu-item current_page_item"); jQuery("#menu-item-41").removeClass("current-menu-item current_page_item"); jQuery("#menu-item-42").removeClass("current-menu-item current_page_item"); jQuery("#menu-item-40 a:first").attr("href", "#") jQuery("#menu-item-41 a:first").attr("href", "#") jQuery("#menu-item-42 a:first").attr("href", "#") } <?php } else { ?> function myFix() { jQuery("#menu-item-40 a:first").attr("href", "#") jQuery("#menu-item-41 a:first").attr("href", "#") jQuery("#menu-item-42 a:first").attr("href", "#") } <?php } ?> window.onload = myFix; </script>Forum: Plugins
In reply to: [Analyticator] [Plugin: Google Analyticator] PHP errorsHi,
just FYI, I have the same problem, with the same error message… I will have to try some another plugin.
ThomasHi,
I have the same problem with timing out.“If you go to General Settings and then edit the URL in your browser’s address bar, at the end of the URL will be “section=settings”, change this to “section=advanced” and press enter.
On this page, find dump_segment_size and tick the checkbox, then change the value from 200 to 50. Save the settings and try a backup.”
This also helped for me, thank you very much Driskell. The plugin is great.