display code in wordpress
at 2017-07-10 18:42:00.
if you are a developer and you want to share a code there are some problems in wordpress because it will execute as a normal code instead of displaying it so here is what you have to do:
click on the icon on the left when you are on visual mode (when you mouse over it says=”show/hide kitchen sink”) or just pres alt + shift + z
click on past as play text, the put you code there.
when you click on text mode it will look a bit different but it’s OK just add a <pre> and a </pre> before and after your code