Forum Replies Created
-
AuthorPosts
-
Hi,
It’s not a plugin problem. As I mentioned it appears to be a problem with the update to WordPress 4.8.2 and not a problem with enfold.
What I found is that it has something to do with the WordPress admin language – it only happens when the language is Hebrew. If I switch the admin language of my Hebrew website to English there’s no problem.
So thanks for your help. I hope there will be a solution for this on the next WordPress update…
just lang switching
It appears to be a problem with the update to wordpress 4.8.2 and not a problem with enfold.
What I found is that it has something to do with the wordpress admin language – it only happens when the language is Hebrew. If I switch the admin language of my Hebrew website to English there’s no problem.
Still don’t have a solution though…
Thanks for your help.
I created a new user for you with administrator privileges.
You’ll find a page called test in the drafts where you have a sample of link and image and you can see it can’t be edited.
Thanks
- This reply was modified 7 years, 1 month ago by Basilis.
It works when I change the rtl to lrt. Thanks
This reply has been marked as private.I’ll try… Thanks.
Hi,
I don’t have the blog on my website yet – just planning how to build it.
I want to use the Masonry Blog view like here: http://kriesi.at/themes/enfold/blog/masonry-blog/ but want to have the author image in small circle for each post. How can I do this?
Thanks
The pause and play buttons are enabled by default. I don’t see how to turn them off by default. Is there a way to do it?
All slides with layers are shifted to the left. They’re aligned to the left of the whole canvas width instead of what used to be max width which also changed and took the value of the whole canvas…What can I do to revert this?Hi Yigit,
Thank you for the fast response. However this is not the case. I don’t have any missing images. The problem is the addition of buttons to the sliders – all sliders of layerslider suddenly have buttons on them (play and pause) which weren’t there before and on hover there’s some white space added under the slider moving the next section down.
The other problem is that even when I switch back to the older version of enfold the problem remains even though it started when I updated to the latest enfold version.
How can this be fixed?
I have 29 sliders on the website so have to find another way to solve this problem.
Why aren’t the files restored when I upload the older version of enfold?
That won’t help since as I mentioned I did everything on a local server (WAMP)…
As I mentioned – My website is in Hebrew and after the updates widgets which have a name in English stayed ok but widgets which have a name which includes Hebrew and English together have the content disappear from the widget but still displayed on the website and widgets with a Hebrew name were compliantly deleted.
Any idea why is this happening and how to prevent it from happening?
Thanks
Re-sending this…
I see there are many complaints about issues after the last wordpress update. I’ll restore my website from the backup and let you fix this and try updating again later.
Good Luck…
Which email should I use for your user?
I just realized that this is because on the theme options > Header I set the header size for a custom 100px. If I change to large or slim the problem is solved. Why is this effecting the mega menu items? How can I solve this – have a custom size for the header without it effecting the mega menu?
Tried again with this code and it works great. Thank you so much!!!
function rtl_columns_fix(){
if(!is_page( array(5289,5298,5300,5302,5304) ))
{
?>
<script>
(function($){var resizeTimeout, sortedReverse = false;
$(window).resize(function () {
if (resizeTimeout) {
window.clearTimeout(resizeTimeout);
}
resizeTimeout = window.setTimeout(function () {
var windowWidth = window.innerWidth;
if ((windowWidth < 767 && !sortedReverse) || (windowWidth >= 767 && sortedReverse)) {var rtlContainer = $(‘.entry-content-wrapper, #footer .container’);
rtlContainer.each(function(){
var rtlCols = $(this).children(‘.flex_column’).not(‘.av_one_full’);
$(this).append(rtlCols.get().reverse());
});sortedReverse = !sortedReverse;
}
}, 100);
}).trigger(“resize”);})(jQuery);
</script>
<?php
}
}
if(is_rtl()) {
add_action(‘wp_footer’, ‘rtl_columns_fix’);
}it still makes the all website align like in english and not just the 5 pages. any ideas?
function rtl_columns_fix(){
if(!is_page( array(5289,5298,5300,5302,5304) ))
{
?>
<script>
(function($){var resizeTimeout, sortedReverse = false;
$(window).resize(function () {
if (resizeTimeout) {
window.clearTimeout(resizeTimeout);
}
resizeTimeout = window.setTimeout(function () {
var windowWidth = window.innerWidth;
if ((windowWidth < 767 && !sortedReverse) || (windowWidth >= 767 && sortedReverse)) {var rtlContainer = $(‘.entry-content-wrapper, #footer .container’);
rtlContainer.each(function(){
var rtlCols = $(this).children(‘.flex_column’).not(‘.av_one_full’);
$(this).append(rtlCols.get().reverse());
});sortedReverse = !sortedReverse;
}
}, 100);
}).trigger(“resize”);})(jQuery);
</script>
<?php
}
}
if(is_rtl()) {
add_action(‘wp_footer’, ‘rtl_columns_fix’);
}It makes all the pages align like English pages (which is the default – that’s what would be if I remove the code all together).
I want this code to apply to all my website, which is in Hebrew, except the 5 English pages which should act like the default.
Any idea what to change. This is the code I added to functions.php but didn’t didn’t work:
function rtl_columns_fix(){
if(is_page( array(5289,5298,5300,5302,5304) ))
{
?>
<script>
(function($){var resizeTimeout, sortedReverse = false;
$(window).resize(function () {
if (resizeTimeout) {
window.clearTimeout(resizeTimeout);
}
resizeTimeout = window.setTimeout(function () {
var windowWidth = window.innerWidth;
if ((windowWidth < 767 && !sortedReverse) || (windowWidth >= 767 && sortedReverse)) {var rtlContainer = $(‘.entry-content-wrapper, #footer .container’);
rtlContainer.each(function(){
var rtlCols = $(this).children(‘.flex_column’).not(‘.av_one_full’);
$(this).append(rtlCols.get().reverse());
});sortedReverse = !sortedReverse;
}
}, 100);
}).trigger(“resize”);})(jQuery);
</script>
<?php
}
}Hi,
Not sure I understand how to do this…
Here’s an example of a function I added to functions.php to fix a problem in Hebrew which I want to skip on 5 page in which are in English:
—————————–
function rtl_columns_fix(){
?>
<script>
(function($){var resizeTimeout, sortedReverse = false;
$(window).resize(function () {
if (resizeTimeout) {
window.clearTimeout(resizeTimeout);
}
resizeTimeout = window.setTimeout(function () {
var windowWidth = window.innerWidth;
if ((windowWidth < 767 && !sortedReverse) || (windowWidth >= 767 && sortedReverse)) {var rtlContainer = $(‘.entry-content-wrapper, #footer .container’);
rtlContainer.each(function(){
var rtlCols = $(this).children(‘.flex_column’).not(‘.av_one_full’);
$(this).append(rtlCols.get().reverse());
});sortedReverse = !sortedReverse;
}
}, 100);
}).trigger(“resize”);})(jQuery);
</script>
<?php
}
—————————–
If the pages’ id are for ex. 1,2,3,4,5 what should I write to skip this function on these pages?Many Thanks
I managed to find an answer for the first question about having different logo link here: https://kriesi.at/support/topic/custom-link-for-logo/
I used a code you once wrote here with the one on that link added it to functions.php and it works great:
add_filter(‘avf_logo_link’,’av_change_logo_link’);
function av_change_logo_link($link)
{
if(is_page( array(1,2,3,4,5) ))
{
$link = “http://www.mysite.com/en/”;
}return $link;
}Now 2 problems remain unsolved:
1. How can I tell the page not to use the rtl.css and the mo and po files in these 5 page? or any other way to have english text for search bar and search results on a hebrew page.
2. How can I tell the page not to use some of the functions on the function.php file? for ex. a fix which is for Hebrew but shouldn’t apply for English. or any other way to have the page columns align from left to right on english pages when on hebrew pages it works well – aligning from right to left.I’ll be glad to get a solution even to one of these problem if possible. Many Thanks…
Many thanks for the fast response
Works perfectly!
Many thanks Yigit :-)
On the demo site you can see the gallery preview has an overlay with an icon. I want to use only a thumbnail gallery which has only an overlay but no icon – how can I add an icon to the thumbnail overlay?
No need to answer – problem solved:
I removed the first fix (https://kriesi.at/support/topic/rtl-sortedreverse-functions-problem/#post-384172) and pasted the code from here: http://pastebin.com/Q9SxDUec and now it works great.
Thanks
The functions.php file on the child theme is blank – you can only add code to it and not replace anything…
I can’t replace it on the child theme – I just copied it to the functions.php file of the child theme.
I tried again and it makes the website disappear.
As I mentioned – I’m using a child theme – maybe it should be done differently some how – other way to paste the code on the funcions.php file?
var rtlContainer = $(‘.entry-content-wrapper, #footer .container’);
-
AuthorPosts