-
AuthorPosts
-
October 10, 2013 at 3:20 pm #173626
Aloha,
We have a huge accordion at: http://2013.hawaiiyogafestival.com/schedule/
As one of our editors was making changes, suddenly he can’t get in and edit it and there’s a mess of code. I noticed on the page that at the very bottom you can see where something is missing and code begins to appear.
I tried to switch to the Default Editor to edit the HTML directly, but that doesn’t show any of the HTML. Is there a way to get in and fix up whatever might have gone wrong directly in the code?
Many thanks,
DrewOctober 11, 2013 at 6:49 am #174030Hi Drew,
Can you create an administrator account and post it here as a private reply?
Regards,
JosueOctober 11, 2013 at 9:51 pm #174386This reply has been marked as private.October 12, 2013 at 1:58 am #174434Hello!
First thing to do is download the updated theme files and then install the newly updated version of Enfold. This will probably not fix the back end issue but may fix it on the front end.
Next, add this code to your functions.php file:
//set builder mode to debug add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; }
This will give you a new field after the advanced layout editor that will show all of the content of the editor elements. See if you can spot where the error in the shortcodes is (if possible).
I also saved the schedule page as a template in the top right corner of the advanced layout editor just in case the whole page blanks out and you lose the data you’ll have an immediate re-fresh.
Regards,
DevinOctober 14, 2013 at 5:06 pm #175152Hi there – when I added the code it broke the theme completely with the following error:
Parse error: syntax error, unexpected T_RETURN, expecting T_STRING or T_VARIABLE or ‘$’ in wp-content/themes/enfold/functions.php on line 17
Really frustrated, as our schedule is being looked at constantly on the website – it’s the most important page (our event is coming up!)
Thanks!
DrewOctober 14, 2013 at 5:08 pm #175154Also, the theme admin area says the theme files are up to date? Or were you suggesting a manual step there?
Thanks, your support is great appreciated (and needed) at the moment!
Drew
October 16, 2013 at 4:20 pm #176495Make sure you pasting in the code exactly as I have it. A missing bracket can break the whole site so the whole thing needs to be in there.
October 16, 2013 at 4:56 pm #176511Yes I did, and it broke the whole site – the Enfold theme management area says the theme is up to date, is this implementable only in the most recent version that perhaps the update option isn’t noting?
Meanwhile, I was able to paste the HTML into the default editor, and we are hand-coding for the moment to keep things rolling.
By the way – saving as a template didn’t work – it removed almost all of the HTML/code. I had a desperate moment but was able to get the HTML out of the SQL database to save the day…
Mahalo,
DrewOctober 16, 2013 at 5:29 pm #176527No, the debug has been in there since enfold came out. My guess is that it is getting pasted in either inside of another element something like that. Putting it right after:
require_once( 'functions-enfold.php');
should work fine.
-
AuthorPosts
- The topic ‘Urgent: Accordion Broken’ is closed to new replies.