How can we help?

This knowledge base was built using the Echo knowledge base plugin

You are here:
Print

Code Block Widget

The Code Block widget is a useful tool for developer blogs, tutorial sites, manuals, and software documentation. It helps to display formatted (highlighted) code in almost any language as it supports over fifty programming, scripting, and mark up languages. We provide 11 different color themes with both white and black backgrounds.

PHP
				//hello world function
 function hell_world( $post_type_params ) {             
     $post_type_params['hierarchical'] = true;
     if ( empty($post_type_params) ) {
         helper();
     }
     return 'success';
 }
			

Our Code Block has 11 presets to choose from. These presets control the initial style that you can further customize.

PHP
				//hello world function
 function hell_world( $post_type_params ) {             
     $post_type_params['hierarchical'] = true;
     if ( empty($post_type_params) ) {
         helper();
     }
     return 'success';
 }
			
PHP
				//hello world function
 function hell_world( $post_type_params ) {             
     $post_type_params['hierarchical'] = true;
     if ( empty($post_type_params) ) {
         helper();
     }
     return 'success';
 }
			

Each of our widgets has presets. A preset is a predefined configuration that applies certain styles so that you don’t need to spend time configuring one. You can further customize each preset.

We currently have 11 preset styles to choose from to get you started quickly.

To learn more about the Presets and how to use them, click here.

 srcset="https://www.creative-addons.com/wp-content/uploads/2022/06/KB-Logo-YouTube-150x150.png 150w, https://www.creative-addons.com/wp-content/uploads/2022/06/KB-Logo-YouTube-300x300.png 300w, https://www.creative-addons.com/wp-content/uploads/2022/06/KB-Logo-YouTube.png 600w" loading=
About this Knowledge Base

This article was built with the Best Knowledge base on the market.

Get free Echo Knowledge Base
Was this article helpful?
3.8 out Of 5 Stars

2 ratings

5 Stars 50%
4 Stars 0%
3 Stars 0%
2 Stars 50%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.