Ready to get started?Download WordPress


How to remove toggle "SHOW MORE/SHOW LESS" On theme (5 posts)

  1. Anil
    Posted 6 months ago #

    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 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> '); ?>
    				<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><!-- 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>
    			<?php } ?>
    		</div><!--end #deatils-->
    		</div><!-- end #post-<?php the_ID(); ?> -->

    here is the toggle code i tried many time but couldn't.

  2. esmi
    Forum Moderator
    Posted 6 months ago #

    What theme are you using? Where did you download it from?

  3. Anil
    Posted 6 months ago #

    it's detube from themeforest.
    i know you guys will suggest me for support from the theme author, but i already did it the detube theme's author is not providing support from last 4 months, he totally disappeared these days.you guys are amazing in support/help related to wp so i am posting and requesting for help.
    please help it will take a few moments for a developer/designer/coder.
    thanks again.

  4. esmi
    Forum Moderator
    Posted 6 months ago #

    I'm sorry but we do not have access to, nor do we support, commercial themes as you paid for support when you bought the theme. It is not our place to keep theme vendors in business.

  5. Anil
    Posted 6 months ago #

    ok thanks


You must log in to post.

About this Topic