I am trying to display code in my WordPress page and it isn’t working. Everything I read says that you should be able to just use pre
tag with code tag and it would be good but when I try to display a shortcode, it renders the shortcode rather than displaying the code.
The codex says that using pre
and code would work but it isn’t for me. Has anyone had this issue? Am I missing something in functions.php
that makes this work?