Posted: July 24, 2013 at 11:48 pm
|
Hi guys, thanks! |
Hi Carlos, You have some good options with any theme from WooThemes, StudioPress, or every theme in the wordpress.org theme repository: http://www.woothemes.com/ Alternatively, it’s possible to add a little function to your current theme to disable what’s disabling the visual editor for the event editor only. What happens is some themes will add extra buttons to the visual editor with the intent of using it for posts and pages. In some cases this will break the event editor. If you can copy and paste the contents of the theme’s functions.php file into a github gist or a pastebin and post a link to the code here we can take a look and offer suggestions. |
|
|
Hi Josh thanks for the help. I set up a user account for you on a test site running EE and my theme. Figured that way you guys can give a test and see if things change. http://sustainableelements.ca/emarebuild/wp-admin thanks!
|
You can try adding something like this to the end of the theme’s functions.php file, just before the closing ?> tag: if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'add_new_event' || $_REQUEST['action'] == 'edit')) { remove_action('admin_enqueue_scripts', 'momizat_admin_init'); } |
|
|
I added that to the function.php file, however it had no affect 🙁 the function.php file now looks like this <pre class=”brush: php; gutter: true; first-line: 1; highlight: []; html-script: false”><?php if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'add_new_event' || $_REQUEST['action'] == 'edit')) { ?> |
|
Ignore the previous code snippet…it didn’t paste correctly <?php if (isset($_REQUEST[‘action’]) && ($_REQUEST[‘action’] == ‘add_new_event’ || $_REQUEST[‘action’] == ‘edit’)) { ?> |
There may not be a hook that can be used here, it looks like it’s the tinyMCEbuttons that get added though. Having admin access doesn’t give me access to all the theme’s files, so I can’t be sure. What’s happening is the Event Espresso editor does not support loading in custom tinyMCEButtons, and from what I can tell the theme is loading these in on every page of the admin. What you could do is check with the theme author and ask them if they can recommend a way to only load these buttons on the post/page editor (similar to how they’re correctly only loading the scripts as needed in the momizat_admin_init function.) |
|
The support post ‘WYSIWG editor for Event Overview missing – Theme Conflict’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.