.wpb_salient_property_map .vc_element-icon:before, a[data-tag="salient_property_map"] .vc_element-icon:before { font-family: "Dashicons" !important; content: "\f179"; } '; } public function custom_wpbakery_element() { $class_name = get_class($this); $widget_dir = dirname(__FILE__); $html_template = $widget_dir . '/' . str_replace("_", "-", str_replace(array( "salient_", "_widget" ), "", sanitize_title($class_name))) . '-html.php'; vc_map( array( "name" => __( 'Map', 'propertyhive' ), "base" => "salient_property_map", "class" => "", "category" => __( "Property Hive", "propertyhive"), "html_template" => $html_template, "params" => array( array( "type" => "textfield", "class" => "", "heading" => __( 'Map Height', 'propertyhive' ), "param_name" => "height", "value" => 400, ), array( "type" => "textfield", "class" => "", "heading" => __( 'Zoom', 'propertyhive' ) . ' (1-20)', "param_name" => "zoom", "value" => 14, ), array( "type" => "dropdown", "class" => "", "heading" => __( 'Scrollwheel Zoom', 'propertyhive' ), "param_name" => "scrollwheel", "value" => array( __( 'True', 'propertyhive' ) => 'true', __( 'False', 'propertyhive' ) => 'false', ), 'std' => 'true', ), ) )); } } new Salient_Property_Map_Widget();