how do you add the unordered list?
– are you using the corresponding ‘Bulleted list’ button tabs of the visual editor, or are you typing the html tags into the editor?
Doesn’t matter which way I do it..
I used the visual editor
then simply used HTML – doesn’t matter which way it still shows the tags…
Pretty sure its this darn theme… not written very well or has issues after upgrading wordpress – but hasn’t looked right for along time, long before I started helping him with it.
was posting over in SW as well with some updated info:
https://community.spiceworks.com/topic/post/7683947
basically the way the theme is calling the post information?
using meta tag vs something else?
/* Page Header */
$page_editional_title = get_post_meta( get_the_ID(), '_cmb_enhenyero_s_page_additional_title', true );
$page_short_description = get_post_meta( get_the_ID(), '_cmb_enhenyero_s_page_short_description', true );
$page_description = apply_filters( 'the_content', get_post_meta( get_the_ID(), '_cmb_enhenyero_s_page_description', true ) );
/* Service Content */
$service_contet_title = get_post_meta( get_the_ID(), '_cmb_enhenyero_service_contet_title', true );
$service_description = get_post_meta( get_the_ID(), '_cmb_enhenyero_service_description', true );
$service_images = get_post_meta( get_the_ID(), '_cmb_enhenyero_service_images', true );
$service_image_gallery = get_post_meta( get_the_ID(), '_cmb_enhenyero_service_image_gallery', true );
<div class="container">
<?php
if( IsNullOrEmptyString( $service_contet_title ) && IsNullOrEmptyString( $service_description ) ) {
?>
<div class="clearfix"></div>
<div class="smallspacer"></div>
<div class="row">
<?php
if ( count( $service_images ) > 0 && is_array( $service_images ) ) :
?>
<div class="col-md-6 img">
<div id="imageSlider" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<?php
for( $j=0; $j < count( $service_images ); $j++ ) {
?><li data-target="#imageSlider" data-slide-to="<?php echo esc_attr( $j ); ?>" class="<?php if( $j == 0 ) { echo 'active'; } ?>"></li><?php
}
?>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<?php
$i = 1;
foreach ( (array) $service_images as $attachment_id => $attachment_url ) {
?>
<div class="item<?php if( $i == 1 ) { echo ' active'; } ?>">
<?php echo wp_get_attachment_image( $attachment_id, 'thumb-555-347' ); ?>
</div>
<?php
$i++;
}
?>
</div>
</div>
</div>
<?php
endif;
?>
<div class="col-md-6">
<h4><?php echo esc_html ( $service_contet_title ); ?></h4>
<p><?php echo esc_html ( $service_description ); ?></p>
</div>
</div>
<?php
-
This reply was modified 8 years, 1 month ago by
viper_iii.
fixed that one by changing
<p><?php echo esc_html ( $service_description ); ?></p>
to
<?php echo ( $service_description ); ?>
Fixed and working correctly now