WordPress.org

Ready to get started?Download WordPress

Forums

Fictive
[resolved] How do I use excerpts on my home page? (5 posts)

  1. Scott
    Member
    Posted 3 months ago #

    Instead of using the read more code in my blog posts (which is too limiting to me) I want to display the Excerpt field on my home page for listing recent posts.

    I don't see an explicit setting for this in Fictive. I don't mind adding code as long as I can do it in some way that won't get overwritten when I update the theme.

    Is there a way I can make this happen?

    The blog I need help with is scottspinola.com.

  2. Scott
    Member
    Posted 3 months ago #

    My alter ego now that I figured out how to access the account. Just bumping into my queue.

  3. First thing you'll need to do is make a child theme, so your tweaks won't be overwritten when updating the theme. Here are some guides in case you haven't made one before:

    http://codex.wordpress.org/Child_Themes
    http://op111.net/53/
    http://vimeo.com/49770088

    Once your child theme has been set up, copy the file content.php from your parent theme into the child theme folder.

    On line 44, change

    the_content

    to

    the_excerpt

    Save the file and upload and activate your child theme.

    Codex reference: http://codex.wordpress.org/Function_Reference/the_excerpt

    Let me know how it goes.

  4. Scott
    Member
    Posted 3 months ago #

    Thanks for this info. I'll give it a shot. Looks like I may be making two mods in the theme now if I can achieve what I want in the other question I had.

    It continues to frustrate me that such basic functionality is not included in WordPress by default.

    Thanks for your help Kathryn... in both questions!

  5. Scott
    Member
    Posted 3 months ago #

    This worked great. Thanks Kathryn!

    Now I just need to figure out how to get the featured image on my post pages. If you have any thoughts on that they'd be appreciated: http://wordpress.org/support/topic/fictive-theme-featured-image-not-displaying-on-the-post-pages

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.