Forum Replies Created
-
AuthorPosts
-
No. :(.
They seem to have forgotten this case, and since I changed my design, I didn’t bother anymore.Dear support team,
This issue is already resolved.
Thanks anyway
December 12, 2016 at 9:00 pm in reply to: Error message: " Warning: Illegal string offset 'language_code' in…" #723363Thank you Yigit.
Just before receiving your reply, I found this workaround on WPML forums:
https://wpml.org/forums/topic/after-upgrading-wpml-my-header-crashes-the-error-is-warning-illegal-string-o/It seems to have worked. If not, I will use your suggestion.
Thanks again
Oren
:
Thank you Yigit,
fubnctions.php indeed seems to work smoothly now.
However, the script still does not do what it is supposed to do – show only the flag of the alternate language.
I guess I will pick this up with the WPML team.All the best
Oren
Sorry Castellanero,
This script too appears on top of the page.
I left it for Yigit to see.Best
Oren
Hello Yigit,
The URL for WP user (admin) is http://www.edoshummus,com/wp-admin
credentials of WP and FTP are in private content.The script I tried to insert is:
function custom_languages_menu($items,$args) {
if (function_exists(‘icl_get_languages’)) {
$languages = icl_get_languages(‘skip_missing=0’);
if(1 < count($languages)){
foreach($languages as $l){
if(!$l[‘active’]) {
$items = $items.'<li class=”menu-item-‘.$l[‘language_code’].’”>’.$l[‘code’].’‘;
}
}
}
}
return $items;
}
add_filter( ‘wp_nav_menu_items’, ‘custom_languages_menu’,10,2 );This resulted in a complete lock-up of the installation, even after I removed the script. I had to restore functions.php from backup.
Thanks a lot
Oren
Hello Basilis,
As per WPM support suggestion, I added the following script to functions.php in my child theme.
function custom_languages_menu($items,$args) {
if (function_exists(‘icl_get_languages’)) {
$languages = icl_get_languages(‘skip_missing=0’);
if(1 < count($languages)){
foreach($languages as $l){
if(!$l[‘active’]) {
$items = $items.'<li class=”menu-item-‘.$l[‘language_code’].'”>‘;
}
}
}
}
return $items;
}
add_filter( ‘wp_nav_menu_items’, ‘custom_languages_menu’,10,2 );The result is an error message while loading the site. It seem to indicate that functions.php is not functioning properly.
as per another issue, you have a user with full admin rights to http://www.edoshummus.com.
Could you please take a look?Thanks a lot
Oren
Hello Nikko,
Here goes:
URL for login
http://www.edoshummus.com/wp-admin/There is currently no page with an operational sidebar
You have my permission to disable plugins as necessary.Thanks
Oren
Just to add –
I have tried importing the settings from Enfold parent theme and even to activate the parent theme itself.
None helped
You can view the problem of missing sidebar also on the Contact/Career tab of the main menu of http://www.edoshummus.com
Password is in the private data sectionThank you for your attention
October 21, 2016 at 8:11 pm in reply to: How to tweak the position of a Special Header within a color section #702622Thanks Nikko.
Problem solvedOctober 21, 2016 at 12:22 pm in reply to: How to tweak the position of a Special Header within a color section #702328Hello Rikard,
Attached is a screen capture of the welcome page of http://www.edoshummus.com
I would like to move the title down. I tried various padding options in the Special Heading (an Avia element) itself and in the quick CSS Such as { .av-special-heading h1 { padding-top: 280x!important; }
But did not succeed. So I would like to generally know what is the best way to control the vertical positioning of the Special Header.
I hope I was more clear this time
All the best
Oren
Perfect!
Thanks
It is not a Child issue. I used Enfold itself and the issue persists –
the imported demo differs in behavior to the demo on the Kriesi site.Hello Yigit,
Since last week I have changed my host to SiteGround.
so I would like to revisit the topic.
I tried importing a demo “Enfold Restaurant” To test header behavior.
The result is at http://www.edoshummus.com.
This is directly after import, with no modification whatsoever.
as you can see, the alpha of the logo area is not behaving as in the original demo.
it goes from something like 30% opacity to 0% opacity instead of 70-80% opacity.could it somehow be connected to me using a Child Theme?
Looking forward to hearing from you soon
Oren
Here goes again yigit (please confirm receipt)
thanks
Oren
Hello Yigit,
I trust you have received all the necessary information.
Any updates?Best
Oren
BTW, I am using a child theme
hmmm…”newlogo.png” was deleted long ago.
I selected “http://www.medicks.net/hummus/wp-content/uploads/2016/09/edo_stretched_green.png”
and this is the name that appears in the Upload box. -
AuthorPosts