Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • in reply to: Add Polylang language swith next to burger menu icon #888285

    Thank you for your support.

    Best regards

    in reply to: Add Polylang language swith next to burger menu icon #887076

    Well, there is clearly a flag icon in the lower left corner of the logo.

    in reply to: Add Polylang language swith next to burger menu icon #886972

    The 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

    in reply to: Add Polylang language swith next to burger menu icon #886952

    Hello,

    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.
    br

    in reply to: Add Polylang language swith next to burger menu icon #886872

    Hello,

    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 7 years ago by digizel.
    in reply to: Add Polylang language swith next to burger menu icon #886791

    I 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 1114

    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-includes/pluggable.php on line 1216

    in reply to: Add Polylang language swith next to burger menu icon #886768

    Hello,

    ok, and how do I fix the code?

    in reply to: Add Polylang language swith next to burger menu icon #886028

    I’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

    in reply to: Add Polylang language swith next to burger menu icon #885736

    Ok, so what do I need to do the have a widget area in the header, next to the social icons?

    in reply to: Add Polylang language swith next to burger menu icon #885673

    Hello,

    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

    in reply to: Add Polylang language swith next to burger menu icon #885546

    Hello,

    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

    in reply to: Contact form and Gmail #848529

    thank you

    in reply to: Contact form and Gmail #847679

    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

    in reply to: Contact form and Gmail #847128

    Hi,

    I’ve disabled the CloudFlare so that shouldn’t be causing problems any more.

    Br

    in reply to: Contact form and Gmail #846954

    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

Viewing 15 posts - 1 through 15 (of 15 total)