25 October 2017 Sergiu Funieru How to add source code in an WordPress post 0 To write code, I use the “Text” style of the WordPress editor, not the “Visual” tab. I just surround that text with code and slash code, like in the example below: On the site, it looks like this: 0