Forum Replies Created
-
AuthorPosts
-
December 13, 2017 at 12:24 pm in reply to: Add Polylang language swith next to burger menu icon #888285
Thank you for your support.
Best regards
December 10, 2017 at 10:57 am in reply to: Add Polylang language swith next to burger menu icon #887076Well, there is clearly a flag icon in the lower left corner of the logo.
December 9, 2017 at 8:54 pm in reply to: Add Polylang language swith next to burger menu icon #886972The client prefers to add the language switch to the header so it can we always visible. I’ve already followed the guide on how to add widget to the header are:
1. I’ve added the following code to the function.php of the child theme: add_action( ‘ava_after_main_menu’, ‘enfold_customization_header_widget_area’ ); function enfold_customization_header_widget_area() { dynamic_sidebar( ‘header’ ); }
2. I’ve added the polylang switcher to custom widget area named header
I can now see the widget with icon for languages but they are located under the logo. How do I move them in the same line as the burger menu? Preferred position would be left of right to the burger menu.
Best regards
December 9, 2017 at 7:43 pm in reply to: Add Polylang language swith next to burger menu icon #886952Hello,
the parent theme is enfold 4.2 and I haven’t made any modifications there. I did changed the option for child theme: zg80>Main menu>General>Menu Items for Desktop to “Display as icon” because my client prefers the burger menu. You can see that in the attached screenshot.
Previously I’ve also added Polylang switcher to the menu but only as a temporally solution until we can show it somewhere else in the header.
Would it be possible to have a widget instead of search as we don’t need that?
I have already disabled all plugins except Polylang so that shoudn’t cause any troubles.
brDecember 9, 2017 at 4:06 pm in reply to: Add Polylang language swith next to burger menu icon #886872Hello,
I’ve noticed that I’ve made an error when I previously copied the code so now I don’t get any errors :)
I’ve added the polylang switcher to custom widget area named header but I don’t see anything on the page.
Please note that I haven’t done any other theme file modification and the cache plugin has been disabled.
I would appreciate if you can have a look and let me know if there is something wrong or missing.
Best regards
- This reply was modified 6 years, 11 months ago by digizel.
December 9, 2017 at 11:55 am in reply to: Add Polylang language swith next to burger menu icon #886791I have a child theme in place and I have added the code to functions.php.
I’ve also added custom widget area named header and after that, this is what I get in the backend:
add_action( ‘ava_after_main_menu’, ‘enfold_customization_header_widget_area’ ); function enfold_customization_header_widget_area() { dynamic_sidebar( ‘header’ ); }
Warning: Cannot modify header information – headers already sent by (output started at /home/dh_zg80dh/zagreb80.com/wp-content/themes/zg80/functions.php:7) in /home/dh_zg80dh/zagreb80.com/wp-admin/includes/misc.php on line 1114Warning: Cannot modify header information – headers already sent by (output started at /home/dh_zg80dh/zagreb80.com/wp-content/themes/zg80/functions.php:7) in /home/dh_zg80dh/zagreb80.com/wp-includes/pluggable.php on line 1216
December 9, 2017 at 11:16 am in reply to: Add Polylang language swith next to burger menu icon #886768Hello,
ok, and how do I fix the code?
December 7, 2017 at 11:52 am in reply to: Add Polylang language swith next to burger menu icon #886028I’ve already tried that and it’s leads to an error like I’ve described in the first message:
Warning: Cannot modify header information – headers already sent by (output started at /home/dh_zg80dh/zagreb80.com/wp-content/themes/zg80/functions.php:7) in /home/dh_zg80dh/zagreb80.com/wp-admin/includes/misc.php on line 1114
Best regards
December 6, 2017 at 7:20 pm in reply to: Add Polylang language swith next to burger menu icon #885736Ok, so what do I need to do the have a widget area in the header, next to the social icons?
December 6, 2017 at 5:11 pm in reply to: Add Polylang language swith next to burger menu icon #885673Hello,
we have already added the switcher to the menu but that’s not really visible enough and that is why we asked how to add it next to burger menu icon.
Are you saying that we cannot add a custom widget area to header?
Can we use the position for search icon?
Best regards
December 6, 2017 at 12:38 pm in reply to: Add Polylang language swith next to burger menu icon #885546Hello,
I’ve tried adding this code to functions.php:
add_action( ‘ava_after_main_menu’, ‘enfold_customization_header_widget_area’ );
function enfold_customization_header_widget_area() {
dynamic_sidebar( ‘header’ );
}I have created an admin account so you can have a look.
Best regards
thank you
Hello,
If there is no other solution, can we just put our email on bcc for auto-respond message and disable the notifications? That way users will get the auto-respond and we can see the necessary info…
Best regards
Hi,
I’ve disabled the CloudFlare so that shouldn’t be causing problems any more.
Br
Thanks for you input.
Now I’m getting notifications for users with gmail address but the auto-respond is sent to (Email address hidden if logged out) instead of user email :(
BTW just to confirm that I’ve tried adding a new user with gmail address and everything is working OK and user is getting an email notification to his email address from (Email address hidden if logged out)
Any idea? I’ve created an admin account so you can have a look if needed.
Best regards
-
AuthorPosts