Currently, the theme uses only un-formatted and text-only output for the services description. However, here’s a workaround to use the Visual Editor so you can have HTML content on the Service Items:

1.) Open functions.php file from the root folder of the theme (wp-content/themes/morphis/) and search for this block of code:


array(
‘name’ => __(‘Service Description’, ‘morphis’),
‘desc’ => __(‘Enter service description’, ‘morphis’),
‘id’   => $prefix . ‘service_description’,
‘type’ => ‘textarea’,
),

And replace it with this one:


array(
‘name’ => __(‘Service Description’, ‘morphis’),
‘desc’ => __(‘Enter service description’, ‘morphis’),
‘id’   => $prefix . ‘service_description’,
‘type’    => ‘wysiwyg’,
‘options’ => array(    ‘textarea_rows’ => 12, ),
),

2.) Next is open “services.php” file located inside “inc/” folder and search for three (3) instances of this line of code:

 <p><?php echo $service_item_desc; ?></p>

And replace it with this one:

<p><?php echo wpautop(do_shortcode($service_item_desc)); ?></p>

 

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)