Last updated November 16, 2022 at 05:35 AM
This tutorial fixes a problem that I experienced recently. How to display a portion of source code in a wordpress article.
WordPress is one of the most used CMS in the world. Not because it is the most efficient, but because it is easy to set up and use as a blog.
[bctt tweet=”Wordpress: How to display a portion of source code in a post without an extension?” username=”tedidevblog”]
It may happen that you write a tutorial but fail to properly display a portion of source code in wordpress. To do so, you must in the tab texts from your post editor, surround your source code with the tag . For example:
My code Welcome to tedidev.com will become
Welcome to tedidev.com
This is a very basic solution that can be used without installing a special extension.
Last updated November 16, 2022 at 05:35 AM
Conclusion
You may like to discover Tutorial: How to install angular in ubuntu et Lo-Fi Player: Compose your Lo-Fi music with artificial intelligence