• Possibly in wrong Forum – move if needed – sorry.

    Issue i’m running into is the text specifically at:

    Most ALTA/ACSM Land Title Surveys include:
    Text was created in visual editor and should be bullet points
    haven’t figured out why its showing all html tags…

    ideas
    this theme has many issues and not able to change it but slowing fixing it for a friend
    (and i’m not exactly an expert either)
    just trying to override some of the issues vs fixing each and every little issue with it.

    theme not part of wordpress themes (wish it was)
    https://www.canvashost.com/wordpress-themes/product/enhenyero-engineering-industrial-wordpress-theme.html

    but figured I’d see if anyone could assist and point me right direction for why the tags are showing
    inspect I don’t notice anything obvious but admit I’m barely a novice if even that!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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?

    Thread Starter viper_iii

    (@viper_iii)

    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.

    Thread Starter viper_iii

    (@viper_iii)

    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.
    Thread Starter viper_iii

    (@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

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Theme Issue – My issue – Probably both’ is closed to new replies.