WordPress.org

Ready to get started?Download WordPress

Forums

Feed2Post
[resolved] Integrate feed2post with an excerpt plugin? (2 posts)

  1. amandabee
    Member
    Posted 3 years ago #

    I'm loving feed2post (what's not to love? It works exactly as described! I'm looking for a way to force excerpts, though, and not getting very far. The particular feed I'm dealing with isn't a WordPress feed (it's Moveable Type) and doesn't include the teasers separately. I'd rather cut posts at the end of the first paragraph than run the whole entire post on the front page, even if it does come out looking wonky.

    Anyone had any luck with this?

    If you must know ... here's my feed: http://www.pbs.org/idealab/rss2/amanda-hickman.xml

  2. amandabee
    Member
    Posted 3 years ago #

    That was easier than I expected. Here's how I handled it the_excerpt-reloaded in my theme (where "feed_cat" is the category that feed2post posts are in):

    <?php
      if(in_category('feed_cat') && is_home()) {
        the_excerpt_reloaded(120,'<p><a><img>','excerpt',TRUE,'Continue reading »');
       } else {
        the_content('Continue reading »');
       }
    ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic