Tagged: footer, page footer, search results
-
AuthorPosts
-
September 20, 2023 at 8:55 am #1419666
Hi support,
Please see the link i am sending you. As you can see the footer is not loading correctly. You can campare it to the footer on any other page of this website. It’s a child-theme in which we have added a bunch of extra styling and functions but also when we disable all these customization this problem keeps existing. Hope you can help.
September 20, 2023 at 9:17 am #1419671Hey bonsaimedia,
Thank you for the inquiry.
Did you modify the header.php or the footer.php file in the child theme? Please upgrade the theme to the latest version 5.6.6, then override the template files in the child theme using the updated version.
Best regards,
IsmaelSeptember 20, 2023 at 9:36 am #1419677Hi Ismael,
Thanks for your quick reply. I just updated to the latest Enfold version but the problem is not fixed. There is nothing changed in the header/footer.
September 21, 2023 at 1:59 am #1419800Hi bonsaimedia,
To assist you further, please provide us with your login credentials by following these steps:
- Install and activate the “Temporary Login Without Password” plugin. You can find it here.
- Once activated, navigate to “Users > Temporary Logins” in the left-side menu.
- Click on “Create New” to generate a temporary login.
- Enter the email address for the account (you can use (Email address hidden if logged out) ) and select the highest possible role. Set the expiry date to around four days to ensure enough time for debugging.
- Click “Submit” to create the temporary account.
- In the private section, provide us with the URL that allows us to access the temporary login and assist you.
Please note that once your issue is resolved, you can remove the plugin. Alternatively, if you prefer not to use the plugin, you can manually create an admin user and share the login credentials in the “private data” field.
If you have any further questions or concerns, please let us know.
Best regards,
NikkoSeptember 21, 2023 at 10:31 am #1419860This reply has been marked as private.September 22, 2023 at 4:24 am #1419973Hi bonsaimedia,
Can you set the permission to administrator? the current permission isn’t sufficient. If you’re uncomfortable with giving admin access on the live site, then I think setting up a staging site and giving us admin access, would be better option, so we can try to fix it then give you steps on how to fix it.
You can check this tutorial on how to create a staging site: https://wpengine.com/resources/what-is-a-staging-site-why-have-one/#How_to_Create_a_Staging_Site_for_WordPress
Best regards,
NikkoSeptember 22, 2023 at 12:11 pm #1420019Hi Nikko,
Please check again. Thnx
September 23, 2023 at 5:32 pm #1420129Hi,
I see that you have a custom loop-search.php & search.php in your child theme, does the footer show correctly when these are removed?Best regards,
MikeSeptember 26, 2023 at 3:55 pm #1420481Hi Mike,
Yes they do. I will disable them so you can test/bugfix without them active.
September 27, 2023 at 11:22 am #1420684Hi bonsaimedia,
Thanks for giving us admin access, I have checked it and the issue is coming from WP Grid Builder, if you try to disable it, the footer becomes fixed.
I think the specific reason might be [wpgb_grid id=”2″], can you try to remove it from the search page and see if it’s gets fixed, if it does, then you can just tweak that specific grid so you don’t need to disable the plugin.Best regards,
NikkoSeptember 27, 2023 at 12:59 pm #1420697Hi Nikko,
Yes, when i disable that grid it works fine. But then I do wonder why it worked on all the other pages? It only went wrong with the search results page.
Can you explain or look into that?September 28, 2023 at 7:21 am #1420760Hi bonsaimedia,
I’m not really sure because I’m not familiar with the plugin.
I just noticed that the footer gets fixed when the plugin is disabled and that shortcode appears.
So I think, that that grid might be short of closed div, that’s why it’s closing prematurely on the footer.Best regards,
NikkoSeptember 29, 2023 at 11:52 am #1420890Hi Nikko,
We tested something else and it still gives a strange result. If you search on “sdf” you get “no results” and the footer is broken. But if you search on something that does get results, for example “abachi” it works perfectly. That’s strange right? Can you take a look/investigate that?
Thanks for your help!
October 2, 2023 at 10:25 am #1421098Hi bonsaimedia,
I apologize for the delayed response.
The access has already expired so I cannot access it anymore.
Can you provide FTP access on it as well?Best regards,
NikkoOctober 2, 2023 at 10:35 am #1421099This reply has been marked as private.October 4, 2023 at 12:45 pm #1421384Hi bonsaimedia,
Thanks, I tried to dig further on it and it seems that when no results are found a media attachment is added and breaks the layout.
If you go to enfold/config-templatebuilder/avia-template-builder/php/class-template-builder.php (line 3499)$content = apply_filters( 'the_content', $content );
and dump the value of $content before this line of code, both search results (not found and with results) basically are the same but after it passed that line of code the value of $content is different on both search results which is weird, and definitely does not happen except in this case.
I’m not really sure how this would get fixed, maybe trying to put [wpgb_grid id=”2″] in search.php or via action hooks will work better.Best regards,
NikkoOctober 5, 2023 at 9:53 am #1421464Hi Nikko,
Thanks for your help. I don’t think that is a proper fix/solution. The thing is that the grid is in the footer on every page. So by also adding it to the search.php also will result in 2 grids…
I think i am going to leave it like it is.
October 6, 2023 at 1:13 am #1421557Hi bonsaimedia,
I see, I agree that it’s more of a workaround.
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.