Stinkyink Themes


3 Comments

  1. JMiller says:

    I’ve got this running on my site and I’m loving it so far (with a few CSS tweaks and a couple of tag injections), but I’m not seeing a ready option to use article stubs or excerpts (“first 2 paragraphs” would be great) on the home page. Is there a correct way to do this, or should I just gnaw on it until it does what I want it to?

    • andy says:

      Hi,

      It’s a setting in WordPress itself rather than the theme. Go to Settings > Reading and change “For each article in a feed, show” to “Summary” instead of “Post” and you should be sorted.

    • andy says:

      Bugger. Sorry, ignore that… that’s just for RSS feeds.

      You’ll need to either hack the index.php in the theme or create a child theme with a new index.php

      The easiest way would be to hack the theme and in index.php replace the_content() function with the_excerpt()

      For an example of how that’s implemented checkout the archive.php page.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>