Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #1323099

    We had a working socket-only footer before I updated to the most recent version of Enfold, and now we don’t. Everything else is working fine; just can’t see the socket footer. The footer settings have not changed; I checked them carefully and they seem fine — but the socket is not visible.

    I’m sending you credentials for the staging site. I tried to roll the theme back to an older version but no luck.

    Also note that I’ve seen a similar issue in the support form (#1323070) and I tried Rikard’s suggestion in Reply #1323093 to turn on the parent theme. When I did this, then yes, the footer widgets and socket did appear. However, when I tried copying and pasting the parent header.php into the child theme header.php per Rikard’s suggestion, I got syntax errors. There is a LOT of customization in my child theme and there seems to be some redundancy in the child theme header.php with the parent theme code in its header.php. Bottom line is I’m not clear where to copy the header.php from the parent theme into the child theme (do I overwrite any of the child theme code?), nor am I clear where the customization starts in my child theme.

    Since the issue is clearly with the recent theme update, I’m hoping you will find a simpler solution for me and others to get our socket footers back, without having to mess with the header.php code.

    Thank you in advance for your help. — Bonnie

    #1323118

    Hi Bonnie,

    Thanks for the login details. The footer displays as it should when the parent theme is active. Could you try copying the content of header.php from the parent to the child, to see if that helps please? You can add your customisation back into that file after that.

    Best regards,
    Rikard

    #1323248

    Tried this but it did not work. What next?

    #1323255

    Since Enfold 4.8.6.3 several lines of code have been added to the new header.php ( lines 40 to 107 and 146-147 etc. ). The reason for this is the new option for the footer: Curtain Effect.

    So if your installation contains a header.php and/or footer.php in the child theme, you have to update them too. So check via ftp if they are present in the child theme folder.
    So if you already have alternate files there, you should remember why this is the case, because just putting a copy there doesn’t make sense.

    Now create copies of the new (4.8.6.3) files and reapply the former adjustments there. Before you upload them via ftp to the child-theme, save the older files as rollback on your harddisk.

    With such major changes to the parent theme, you must always remember to also renew the theme’s alternate files in your child theme. Of course, then with the changes that justify their presence in the child theme.

    _______

    @bkatzdesign
    To solve now the problem : maybe tell us what files are besides your child-theme style.css ( root directory of the child-theme )
    on default premade Enfold Child – there should be only three files : ( style.css, functions.php and screenshot.png ).
    i do often have a shortcodes folder there. you see on the image that this would be the place for footer.php and header.php files in your child-theme

    #1323262

    Hi Bonnie,

    I uploaded a new copy of header.php to your site, and it’s working. Your old header is located in your child theme with the name _old_header.php

    Best regards,
    Rikard

    #1323792

    Hi Rikard:
    The site seems to be working fine except the logo has disappeared in the header. Can you help get it back?

    #1323820

    We have some Google Knowledgegraph code to insert in our header.

    Pre 4.8.6.3 the header closed with:
    <?php

    if(isset($avia_config[‘temp_logo_container’])) echo $avia_config[‘temp_logo_container’];
    do_action(‘ava_after_main_container’);

    ?>

    4.8.6.3 header closes with:
    <?php

    if( isset( $avia_config[‘temp_logo_container’] ) )
    {
    echo $avia_config[‘temp_logo_container’];
    }

    do_action( ‘ava_after_main_container’ );

    Notice there is no closing php ?> there? Should I just add it before I paste in my code? Or is it going to break php execution due to ?> being elsewhere?

    #1323826

    Hi again:

    I have at least 3 other sites that are experiencing issues after updating the theme to version 4.8.6.4! This is a real problem; hope you’ll be updating the theme with a more blanket fix soon.

    The two issues are
    1) the footer socket disappears on sites with customization in the child theme, and even on the staging3.evictionlegalhelp.org site where you replaced the header.php, the logo is gone in the header.
    2) on other sites (without child theme customization in the header.php file), the logo has disappeared in the site header.

    Fortunately, I have only updated the staging sites for each of these so far.

    Other client sites that I maintain that have issues since updating are:

    https://staging1.massclavc.org (This site is missing the socket footer)
    http://dev.kummerconsulting.com/consulting (missing the logo in the header)
    https://staging2.mlac.org (missing logo in header)

    I’ll include the credentials in the private content. Thanks in advance for your help.

    #1323878

    Hi bkatzdesign,

    Missing footer; you will have to update header.php, just like I did for you. There is no fix for this, since the structure of the parent header.php has changed. If you are not overriding header.php, then you can delete it from your child theme.

    Missing logo; please refer to this: https://kriesi.at/support/topic/hotfix-for-the-missing-logo-issue-on-enfold-4-8-6-4/. We are planning for a bug fix release tomorrow.

    Best regards,
    Rikard

    #1324053

    Hi,
    Thanks for the theme update to fix the missing logo; that’s working fine now on all the sites.

    But I’m having a problem with updating the header.php file in my child theme on this site ( with customization in the child theme header.php):

    As manhattanctr mentioned in this feed, in your new header.php file there is no closing php ?> after this:

    <?php

    if( isset( $avia_config[‘temp_logo_container’] ) )
    {
    echo $avia_config[‘temp_logo_container’];
    }

    do_action( ‘ava_after_main_container’ );

    but when I appended my customization, I had to add one. Now I have 2 site headers! But if I remove the closing php ?> that I added on Line 257, the header.php file throws an error on Line 259 where my customization begins.

    I don’t know the reason for not closing the php ?> but I can’t get my customization to work without closing it. But closing it creates a double site header.

    Can you help?

    #1324176

    Hi bkatzdesign,

    Please share the exact code you are trying to add to header.php, so that we can have a closer look at it.

    Best regards,
    Rikard

    #1324193

    I had someone write the code but as far as I can tell, it starts on Line 83 in the old_header.php file, and continues to the end of the file. I’ve attached it in the private content section.

    It’s purpose is to do a search by county on the Service Providers page.

    Thanks.

    #1324259

    Hi,

    Thanks for that. I tried adding the code just before the closing head tag, but that seems to create layout problems with the header, where exactly is the code supposed to go? You might want to reach out to the developer who wrote the code for you. Also, the code you pasted includes some theme markup as well, so you might want to try and remove that. The code in private looks to be the script you want to add.

    Best regards,
    Rikard

    #1324265

    Rikard:
    This code worked perfectly in the child theme until this latest theme update. The developer is no longer available and this is not at all an easy thing to change. I am fairly certain this is an issue of placement; i.e. the code worked when I added it, but it created 2 headers. So the issue is the changes you made to the theme, and where the code needs to go to avoid the double header.

    In terms of your question about where the custom code should be added, I referenced the old_header.php; it was at the end of the file. If the code in private looks like the script I want to add, did you try adding it? I’m not sure where I should put it in this new header.php file, especially since the new header.php file does not have a closing ?> tag. I’d appreciate if you can add it in the correct place; then I can see whether it works. Thank you for your help solving this issue.

    • This reply was modified 3 months, 2 weeks ago by  bkatzdesign.
    #1324273

    FWIW, bkatzdesign I simply closed the php script command and then entered my Google knowledgebase code below it in my child header. The bolded type is what I added. I am not a coder but I had been told in the past in certain circumstances php scripts will run with just an open i.e. <?php and don’t need a close unless a non-php item follows. This was my case. The knowledgegraph code is not php.

    <?php
    if( isset( $avia_config[‘temp_logo_container’] ) )
    {
    echo $avia_config[‘temp_logo_container’];
    }
    do_action( ‘ava_after_main_container’ );
    ?>

    If your added code is not php, this should work without issue and not create a 2x header. If it is php, Rikard can likely help.
    I never got any answer from anyone on my reply #1323820 from support to confirm so I tried it and it worked.

    #1324345

    Hi bkatzdesign,

    I’ve added the code for you, please review your site.

    Best regards,
    Rikard

    #1324363

    Thank you Rikard; it works perfectly now. I can now update the theme and add the updated header.php file to the child theme on the production site.

    Also a shout out to manhattanctr for your suggestion; pretty sure my code is in fact php, but I’m glad your solution worked for you and thanks for chiming in.

    • This reply was modified 3 months, 2 weeks ago by  bkatzdesign.
    #1324389

    Hi bkatzdesign,

    If your custom code is working as it should on the staging site, then it should be fine to update it on your production site as well.

    Best regards,
    Rikard

    #1326369

    I have the same issue, in 4.8.6.5 footer and socket disappears, so I had to return to 4.8.6.3

    I can´t understand the problem…

    #1326420

    Hi ramiropuig,

    Do you have any modifications on footer.php (and header.php) via a child theme? if yes, please update both footer.php and header.php as those files have been updated in the latest versions.

    Best regards,
    Nikko

    #1335636
    This reply has been marked as private.
    #1335662

    Hi suncityadvising,

    Could you try replacing the content of header.php in your child theme with the content from the same file in the parent theme please? You can add your customisations back in after that.

    Best regards,
    Rikard

    #1336431
    This reply has been marked as private.
    #1336475

    Hi suncityadvising,

    Please share FTP login details with us as well.

    Best regards,
    Rikard

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

You must be logged in to reply to this topic.