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

  1. satyenhacks
    Posted 3 years ago #

    I searched this everywhere and here is what i found.

    To change,

    <?php the_content(); ?>
    <?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.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    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.

  3. satyenhacks
    Posted 3 years ago #

    hey esmi,

    thanks for the info.

Topic Closed

This topic has been closed to new replies.

About this Topic