WordPress.org

Support

Support » Themes and Templates » How to show Excerpts instead of full posts on homepage and other places?

How to show Excerpts instead of full posts on homepage and other places?

  • I searched this everywhere and here is what i found.

    To change,

    <?php the_content(); ?>
    with
    <?php the_excerpt() ?>

    but the thing is that there is NO line such as <?php the_content(); ?> in my index.php.

    Here are the contents of my index.php file

    <?php get_template_part('content', 'before'); ?>
    
        <div class="content">
    
            <?php get_template_part('loop', 'homepage'); ?> 
    
        </div><!-- .content -->
    
    <?php get_template_part('content', 'after'); ?>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Plsease tell me how to edit this to show excerpts instead of full posts?

    My website is : http://www.thebestiphoneapp.com

    I am using Admirable theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    @esmi

    Forum Moderator

    I’m sorry but your chosen theme is not released under GPL. Non GPL products are not welcome in the WordPress community. Official WordPress policy states that all plugins and themes that are publicly released are required to adhere to http://wordpress.org/about/gpl/

    I would also strongly recommend that you read this article and consider changing to a theme from a reputable source asap.

    hey esmi,

    thanks for the info.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to show Excerpts instead of full posts on homepage and other places?’ is closed to new replies.
Skip to toolbar