{"title":"Phlox Code","id":37252,"link":"https:\/\/env.averta.net\/en\/step\/phlox-code\/","parent":[37224],"content":"<p><a href=\"http:\/\/env.averta.net\/en\/wp-content\/uploads\/code-widget-preview.png\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-37485 alignright\" src=\"http:\/\/env.averta.net\/en\/wp-content\/uploads\/code-widget-preview.png\" alt=\"code-widget-preview\" width=\"500\" height=\"300\" \/><\/a>WordPress restricts the use of?codes between the content. Phlox solves this with one of the widgets named <strong>Code Widget<\/strong>. This widget?allows you to insert codes between your content?and supports following languages:<\/p>\n<ol>\n<li>JavaScript<\/li>\n<li>HTML<\/li>\n<li>XML<\/li>\n<\/ol>\n<p>You?can also specify different styles for your code element.<\/p>\n<p>Follow the below steps?to add a?<strong>Code Widget<\/strong> between your content:<\/p>\n<ol>\n<li>Go to your <strong>WordPress Admin Panel<\/strong><\/li>\n<li>Click the <b>Pages?<\/b>on the <b>Dashboard<\/b><\/li>\n<li>Click the <b>Add New<\/b><\/li>\n<li>Navigate to the top right hand of the WordPress editor and find <strong><a href=\"https:\/\/env.averta.net\/en\/step\/getting-started-with-siteorigin-page-builder\/?b=36079,36079\" title=\"Getting Started with SiteOrigin Page Builder\">Page Builder<\/a><\/strong>, beside text tab<\/li>\n<li>Click?the?<strong>Add Widget<\/strong><\/li>\n<li>Click the?<strong>Phlox?<\/strong>and choose?<strong>[Phlox]?Code Widget<\/strong><\/li>\n<li>Click the?<strong>Edit?<\/strong>on the right side of the widget on?<strong>Page Builder<\/strong><\/li>\n<\/ol>\n<hr \/>\n<h3><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-37483 alignright\" src=\"http:\/\/env.averta.net\/en\/wp-content\/uploads\/code-widget-1.png\" alt=\"code-widget\" width=\"359\" height=\"513\" \/>Code Widget Options<\/h3>\n<h4>Title<\/h4>\n<p>Adding a title to your widget is optional.<\/p>\n<h4>Code<\/h4>\n<p>In this field, you can write or copy your desired code.<\/p>\n<h4>Language<\/h4>\n<p>There are three available languages for this widget: JavaScript, HTML, XML<\/p>\n<h4>Theme<\/h4>\n<p>You can choose a style for the code box between various themes: Tomorrow, Dark, Far, Googlecode, Github, Monokai<\/p>\n<h4>Extra Class Name<\/h4>\n<p>By adding a class name of the style you have written in your CSS file, you can change the style of search widget.<\/p>\n<p class=\"aswi-text-box box-info\"><strong>Note: <\/strong><a href=\"https:\/\/env.averta.net\/en\/step\/getting-started-with-siteorigin-page-builder\/?b=36079,36079\" title=\"Getting Started with SiteOrigin Page Builder\">Here<\/a> you can find the common?styles of widgets in Page Builder.<\/p>\n","type":"solution"}