Looking for a Wordpress plugin

by 13 replies
15
Hi,

Can you recommend a good wordpress plugin to display html, php etc. codes in posts?

I don't want to execute the codes, just display them inside the posts in a box.

Thanks
#programming #plugin #wordpress
  • I cant recommend an exact wordpress plugin to accomplish this but what you are probably looking for is an html editor that allows the use of the <pre> tag

    anything inside a pre tag is displayed in its exact format
  • Hello,

    If you need to write code in your post you can put that under <code></code> tags, for example: <code><?php echo ('Hello World!'); ?></code>. Don't go for any plugin as it would put unnecessary load on the system only.

    Thank you
  • Hi Friend,

    Yes there are specific tags available in editor itself also or you can use <code></code> tag to display the code in WP Posts.
  • if you want to execute the php script in the post content, you can try the plugin "PHP Execution" => wordpress.org/extend/plugins/php-execution-plugin
  • [DELETED]
  • you should try WP-CodeBox. you will find it helpful
  • [DELETED]
  • If you want to write html code in your post you can put that under <code></code> tags, for example: <code><?php echo ('Hello World!'); ?></code>.
  • Better to use one of the plugins mentioned above then use the pre or code tag - for some reason, that doesn't always convert to plain text, especially if you're trying to include an img tag or something.
  • You can go to wordpress official website and looking the plugin that you mean. There are thousands of plugins for you to try.
  • Banned
    Plugin is not always the best.
  • I second WP-Syntax, works for all kinds of code (languages)
  • Use Wordpress Code Snippet. It does a great job of displaying your code and even does syntax highlights.
    • [1] reply

Next Topics on Trending Feed