WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Content Slide
Hide blank text div (1 post)

  1. Dinesh Kesarwani
    Member
    Posted 2 years ago #

    When enabling text display on slider and any slider doesn't contains text or header then it display blank text container at bottom of slider. So, i change some code on approx line#320.

    <?php
    if( $images['heading'] != '' || $images['text'] != ''){
    	?>
    	<span>
    		<h4><?php echo $images['heading'];?></h4>
    		<?php echo $images['text'];?>
    	</span>
    	<?php
    }
    ?>
    <?php

    Now, it is displaying the text container only if the heading or description is entered.

    http://wordpress.org/extend/plugins/content-slide/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic