-
AuthorPosts
-
June 3, 2014 at 2:46 pm #273898
Hi There,
I have a page on my site I want to edit. I’ve edited it loads of times before but when I try to edit it now, the edit page loads briefly, then about a second later, the page re-loads (or re-renders), blanking out the contents of the browser and it stays like that. So, I just end up with a blank page.
Looking at the source, there is plenty of content there, it’s just not rendering. Inspecting elements shows me that there is only a bit of Head and nothing else.
I think it’s something to do with the content of the page (although it is very basic). I can still edit other pages.
If I stop the re-load, (ie, click on edit, wait for the initial edit page to load and then prevent the re-load) I have a partially complete page, but the contents of the layout builder just has a spinner in it.
There are no errors in my console. The only thing that looks odd is that the Get request for the video content of the page was cancelled, although that maybe normal because videos aren’t displayed when editing a page.
I’m using Avia layouts and I’m on version 2.7.1 of Enfold.
Anyone got any ideas? If you need more info, give me some instructions and I’ll get it for you.
June 3, 2014 at 5:16 pm #273996Hey robwheatley!
Please try updating Enfold to the latest version 2.8.1 via FTP – http://vimeo.com/67209750
Cheers!
YigitJune 3, 2014 at 6:14 pm #274028Is that a shot in the dark, or do you really think there is something in the update that will fix the issue. I have to do quite a bit of work after a theme update, so I only do them if there is something in them I need.
June 3, 2014 at 6:18 pm #274030Hey!
Please firstly try deactivating all active plugins and check if that helps and if you are making changes on theme files, we would recommend using child theme. Please see – http://kriesi.at/documentation/enfold/using-a-child-theme/
Best regards,
YigitJune 4, 2014 at 2:35 pm #274505It turns out that the problem was being caused by some tracking code.
I needed the code to be on just this page, so the way I did it was to create a text field and then past the code in there. This worked fine at first, but I guess the code changed at some point and it broke the edit page.
What I have done now is added some code to the header.php file to say “if the page is the thanks page, then add this code to the head”. This is a better solution, but took a bit longer than the initial way I did it.
It does mean that I have yet another thing to worry about on a theme update, so if there is a better way of doing it, then I’d be happy to hear it.
June 4, 2014 at 7:47 pm #274700Hey!
You can attach an action to the wp_head hook:
http://codex.wordpress.org/Plugin_API/Action_Reference/wp_headIt is kinda the same but the difference is that you can put this in a child theme functions.php
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.