ThemeShaper Forums » Thematic


Excerpts on home page

(4 posts)
  • Started 11 years ago by thexander
  • Latest reply from Armen
  • This topic is resolved
  1. I've searched the forum and it appears that most questions re: excerpts are asking how to convert them to full posts.

    I want the opposite. How do I get the posts on my front page to only display excerpts?

    Thanks in advance. I hope this question isn't redundant because I coudln't find an answer anywhere.

    Posted 11 years ago #
  2. @thexander: This is probably what you're looking for:

    As I understand it, Thematic has a custom filter called thematic_content (found in content-extensions.php) and assuming you're ok with conditional tags, you can choose whether to display the full post, the excerpt or nothing.

    Chris explains it more fully in the link above.

    Posted 11 years ago #
  3. Hi thexander,

    Try this:

    function childtheme_content($content) {
    	if ( is_home () ) {
    		$content= 'excerpt';}
    	return $content;
    add_filter('thematic_content', 'childtheme_content');


    Posted 11 years ago #
  4. @Gene:
    Thanks Gene. I had been looking for that code. I didn't know how to and what to change. But @Flick referred to me here from Thank again!

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.