WordPress.org

Ready to get started?Download WordPress

Forums

Leaf
removing excerpt in Featured area (2 posts)

  1. jenwardbarber
    Member
    Posted 1 year ago #

    Hi everyone! I just downloaded the Leaf theme and have my blog up and running. Does anyone know how to remove the post Excerpt from a) the Featured area and b) the Slider area? Thanks!

    -Jen
    http://www.thehippietriathlete.com

  2. lupi73
    Member
    Posted 1 year ago #

    hi,
    home.php

    <a href="<?php the_permalink(); ?>" data-iview:image="<?php echo leaf_get_post_image( null,null,true,null, 'slider' ); ?>">
    							<span class="iview-caption caption3" data-x="15" data-y="212" data-transition="expandright"><h2><?php the_title(); ?></h2></span>
    							<span class="iview-caption caption1" data-x="15" data-y="258" data-transition="expandleft"><?php echo '<p>' . wp_trim_words( get_the_excerpt(), 35, null ) . '</p>'; ?></span>
    						</a>

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags