Hello @rrhode
Splitting and merging topics is already on my todo-list:
https://github.com/Asgaros/asgaros-forum/issues/138
To add code to posts I can suggest you the following WordPress extension which adds an additional button to the editor:
https://wordpress.org/plugins/enlighter/
Thread Starter
Ryan
(@rrhode)
Oh nice, glad to see it’s on a todo list!
I actually do have that plugin installed but it doesn’t work correctly. Extra span tags show up inside the code and I have to edit the post again to remove them. It also doesn’t show the button on the editor toolbar. Is there an option or extension I’m missing somewhere?
Also another issue then is that I have to enable shortcodes for everyone which isn’t really ideal either.
-
This reply was modified 7 years ago by
Ryan.
Hello @rrhode
Shortcodes are not required for this plugin.
Please ensure that you have enabled “Enable Frontend Integration” in Enlighter -> Visual Editor.
It can also be possible that you have to add the following code to your themes functions.php file to make it work:
function mm_ejs_frontend_editing($allowed) {
return true;
}
add_filter('enlighter_frontend_editing', 'mm_ejs_frontend_editing');
Thread Starter
Ryan
(@rrhode)
Awesome, thank you very much!