WordPress.org

Forums

Opulus Theme Blog Excerpts (5 posts)

  1. ecolumbine
    Member
    Posted 1 year ago #

    Hi
    I'm developing a site and only want blog excerpts to show on my blog page - can anybody help me to do this?
    Thanks
    The link is http://dev.volunteerworktravel.com/news/

  2. The home.php file is the one you'll want to modify. Change the_content() to the_excerpt() and that should do the trick.

    Highly suggest you create a back up as well as a child theme if you haven't.

  3. ecolumbine
    Member
    Posted 1 year ago #

    Thanks Jose, but I think this is a little beyond my current capability - any chance you could backtrack a bit and explain how to do these things?

  4. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Here's info on child themes:

    http://codex.wordpress.org/Child_Themes

    In the child theme, make a copy of the home.php file and make the change on that copy.

    That way your changes are not lost when the theme is updated.

  5. ecolumbine
    Member
    Posted 1 year ago #

    Hi
    Thanks for the link. I've created a child theme.
    Do I create a new file called home.php or do I just copy, add and change the code in the style.css file?
    Also, just to make sure that I'm getting the right advice, the blog is not my home page so should I still change this file?
    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic