How can we help?

< All Topics
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.

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?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Previous Notification Box
Next Advanced Lists
Table of Contents