Hi,
I am trying to setup a website with enfold and the advanced editor. I also need to be able to display php, html and js code snippets on the pages/posts.
I’ve tried out different plugins, some work with the advanced editor disabled, some don’t work at all. Example: https://wordpress.org/plugins/crayon-syntax-highlighter has all the features I need, but once I enable the advanced editor, it doesn’t work anymore(there is a Z-index issue – the plugin uses 9999 where the advanced editor uses +15000)
Can you recommend a solution that I could use?
Thanks, Andrei.
Hi klodoma!
You can use our codeblock element and surround your code with <pre></pre>
tags. I have not used any syntax highlighters with Enfold yet. Send us a WordPress login and we’ll take a look.
Cheers!
Elliott
Hi Elliott,
I’ll send you a login once I have it. I also found a temporary solution with gist.github.com. I’ll post that too, maybe some others are also interrested. Feedback will follow in a few days.
Andrei.