How to remove toggle "SHOW MORE/SHOW LESS" On theme
-
hi there…
i have a problem, my theme have a toggle option on post content when i click on show more it shows me full content but i want to remove this toggle “show more/show less”, i wanna show the content directly.
i really don’t know how can i remove i. please help me.<div id="main"><div class="wrap cf"> <div id="content" role="main"> <?php while (have_posts()) : the_post(); global $post;?> <div <?php post_class(); ?> id="post-<?php the_ID(); ?>"> <div id="details" class="section-box"> <div class="section-header"> </div> <div class="section-content"> <div id="info"<?php if(!empty($info_toggle)) echo ' class="" data-less-height="'.$info_toggle.'"'; ?>> <p class="entry-meta"> <?php edit_post_link(__('Edit', 'dp'), ' <span class="sep">/</span> '); ?> </p> <div class="entry-content rich-content"> <?php the_content(); ?> <?php wp_link_pages(array('before' => '<p class="entry-nav pag-nav"><span>'.__('Pages:', 'dp').'</span> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div><!-- end .entry-content --> <div id="extras"> </div> </div><!-- end #info --> </div><!-- end .section-content --> <?php if($info_toggle > 0) { ?> <div class="info-toggle"> <a href="#" class="info-toggle-button info-more-button"> <span class="more-text"><?php _e('Show More', 'dp'); ?></span> <span class="less-text"><?php _e('Show less', 'dp'); ?></span> </a> </div> <?php } ?> </div><!--end #deatils--> </div><!-- end #post-<?php the_ID(); ?> -->here is the toggle code i tried many time but couldn’t.
thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘How to remove toggle "SHOW MORE/SHOW LESS" On theme’ is closed to new replies.