Home>Support>Post excerpts in blog loop for Origami Premium theme

Post excerpts in blog loop for Origami Premium theme

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

I know people have asked about this in the past and I read in a WP support forum from a year ago that this option would be added in future versions – has it been? Before I tackle this customization, I want to make absolute sure I haven’t missed it somewhere in the existing settings.

Thanks

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 4 months ago Jamila Colozzi

    *UPDATE* I replaced the post-content line in loop.php with the code necessary for the excerpt {impatient} since that was easy enough – new problem is that the featured image is not displaying. Anywhere. Mobile, PC or Mac. Help appreciated! xo

    http://jamilaproductions.com/notes/

  2. 10 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Hi Jamila

    Thanks for reaching out. It’s been a while since I’ve looked at this so I needed to test myself quickly. For interest sake the changelog is here: http://updates.siteorigin.com/readme/origami/

    Origami unfortunately doesn’t make use of the except field. The more tag does however work. We had some issues with the more tag working in the Post Loop widget previously. That’s been resolved.

    http://en.support.wordpress.com/splitting-content/more-tag/

    Does the more tag not suit your purposes here?

  3. 10 years, 4 months ago Jamila Colozzi

    Thank you Andrew. The more tag is definitely helpful, I will try using that for now.

    fyi – interesting about the excerpt field for origami: it does work when you replace on line 48 of loop.php with It is just that the featured images can’t get it together once posts are in excerpt mode – I was getting double featured images. So you guys are close!

  4. 10 years, 4 months ago Jamila Colozzi

    that is to say: replace

    <?php the_content(' '); ?>

    with

    <?php if(is_singular()) the_content(' '); else the_excerpt(); ?>

    :)

  5. 10 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Try something like this instead:

    <?php if ( is_home() || is_category() || is_archive() ) {
    	the_excerpt();
    } else {
    	the_content();
    } ?>
    

    Please remember that this file needs to be stored in a child theme.

  6. 10 years, 4 months ago Jamila Colozzi

    Thank you Andrew. I think the featured image might still pose an issue there, but I didn’t spend a lot of time on it. Alas, it has been 3 years of sweet simplicity, but I finally admitted: I have outgrown Origami. Switched over to Vantage. Onward & outward. Thanks again for your help.

  7. 10 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for the update. For sure, Origami works great for a certain set of requirements.

    Let us know if you need a hand in the future.

    All the best.

  8. 10 years, 1 month ago Jeremy Hayden

    Hi
    For what it is worth, I have just implemented this on my site, exactly as Andrew has it above. Works well straight away.

    http://hairy1travels.com/hairy1travels/

    Best Regards.

    • 10 years, 1 month ago Andrew Misplon
      Hi, I Work Here

      Hi Jeremy

      Really glad to hear this helped :)

      All the best with your site.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More