WordPress.org

Ready to get started?Download WordPress

Forums

How Do You Put Post excerpts on index page using Responsive Twentyten (6 posts)

  1. vernontnh
    Member
    Posted 2 years ago #

    This issue has come up multiple times in the forums. Lots of suggestions and I've tried them all. None do anything. Still no excerpts on the home page using Responsive TwentyTen.
    I've tried several suggestions adjusting the code in index.php and in loop.php. This seems to have worked for others, but has had no effect for me.

    ALSO. Someone asked how you indicate what you want to have as an excerpt. The response was to put it in the Excerpt window below the main content window in the posts. But there is no such "Excerpt" window on the Edit Post pages on this site.

    The site is marthamoravec.com.

    Please help!

    Thanks,

    Vernon

  2. Digital Raindrops
    Member
    Posted 2 years ago #

    But there is no such "Excerpt" window on the Edit Post pages on this site.

    Go to Posts > Posts and edit a post.

    At the top right you will see [ Screen Options ] click on this and a drop down area will show with check boxes, check the one for Excerpt

    Have a read of this post as it looks at all options.

    HTH

    David

  3. vernontnh
    Member
    Posted 2 years ago #

    Thank you. Unfortunately, that did nothing either. I should point out that the home page is a static page, not "recent posts" So I want the excerpt to go below the copy that is in the content window.

    I tried changing the actual code on the content.php as suggested, too, though I don't currently have access to the server, so I just changed the actual TwentyTen content.php rather than creating a new one for the child site.

    Any further suggestions would be appreciated.

    Thanks.

  4. Digital Raindrops
    Member
    Posted 2 years ago #

    Hi,
    You will need to create a template page for a "Page of Posts", there are examples out there if you look on Google, but most are for a specific category so you will have to adapt one, here are mine for the twenty eleven theme.

    Why not upgrade to a twenty eleven child theme and add your changes, most examples now are for the twenty eleven theme?

    HTH

    David

  5. vernontnh
    Member
    Posted 1 year ago #

    I cannot upgrade to twenty eleven. The client has a limited budget and needs to stick with the Responsive Twenty Ten.

    Surely there must be someone out there who can help me put post excerpts on a Static home page using Responsive Twenty Ten (not Eleven).

  6. vernontnh
    Member
    Posted 1 year ago #

    I have tried this option to try to edit the twenty ten parent template to no avail:

    TwentyTen does this in loop.php:
    edit loop.php and find this line (line132, there is also the same code on line 104, but that is the wrong line)

    The instructions said to change this line:
    <?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>

    ...to this line:
    <?php if ( is_front_page() || is_home() || is_archive() || is_search() ) : // Only display excerpts for front page, home, archives and search. ?>

    It was not on line 132 but was on line 137. And it did nothing. I then tried to create a new loop.php file with the above code change and saved it to the Responsive Twenty Ten theme but that did nothing either.

Topic Closed

This topic has been closed to new replies.

About this Topic