Title: Entering code in a topic
Last modified: March 27, 2019

---

# Entering code in a topic

 *  Resolved [Ryan](https://wordpress.org/support/users/rrhode/)
 * (@rrhode)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/entering-code-in-a-topic/)
 * Hi there,
 * I’m liking this forum so far. Once I can merge and split posts it will be perfect.
 * Also I’m curious if there is a way to enter formatted code into a topic.
 * Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/entering-code-in-a-topic/#post-11364857)
 * Hello [@rrhode](https://wordpress.org/support/users/rrhode/)
 * Splitting and merging topics is already on my todo-list:
    [https://github.com/Asgaros/asgaros-forum/issues/138](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/](https://wordpress.org/plugins/enlighter/)
 *  Thread Starter [Ryan](https://wordpress.org/support/users/rrhode/)
 * (@rrhode)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/entering-code-in-a-topic/#post-11367436)
 * 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, 2 months ago by [Ryan](https://wordpress.org/support/users/rrhode/).
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/entering-code-in-a-topic/#post-11373062)
 * Hello [@rrhode](https://wordpress.org/support/users/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](https://wordpress.org/support/users/rrhode/)
 * (@rrhode)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/entering-code-in-a-topic/#post-11373256)
 * Awesome, thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Entering code in a topic’ is closed to new replies.

 * ![](https://ps.w.org/asgaros-forum/assets/icon-128x128.png?rev=1546717)
 * [Asgaros Forum](https://wordpress.org/plugins/asgaros-forum/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/asgaros-forum/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/asgaros-forum/)
 * [Active Topics](https://wordpress.org/support/plugin/asgaros-forum/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/asgaros-forum/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/asgaros-forum/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ryan](https://wordpress.org/support/users/rrhode/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/entering-code-in-a-topic/#post-11373256)
 * Status: resolved