ThemeShaper Forums » Thematic

Excerpt handing in Thematic

(3 posts)
  • Started 4 years ago by johnny_n
  • Latest reply from johnny_n
  • This topic is not resolved

Tags:

  1. Hi -- I've been customizing Thematic for a site and am stuck with a very simple thing -- trying to show excepts on the home page instead of the full posts.

    In content-extensions.php, I've modified thematic_content to show excerpts instead of full. But instead of getting the default "Read more" behavior, I get this. '[...]'

    I would prefer custom text with a live link, something that is pretty straightforward outside Thematic.

    I've tried adding the following text into functions.php as per another post, but it doesn't do anything...

    function my_moretext() {
        return "Continue reading...";
    }
    add_filter('more_text', 'my_moretext');

    Can anyone offer help please?

    Posted 4 years ago #
  2. amygail
    Member

    there are a few posts on this topic....

    http://forums.themeshaper.com/topic/read-more-link-in-excerpt-redux#post-6323

    You really want to create a functions.php file in your child theme rather than modifying content-extensions.php. That will save you some headaches in the future.

    Posted 4 years ago #
  3. Thanks so much, Amy -- don't know how I missed this, I thought I did a pretty thorough search. The functions.php suggestion is a good one -- makes it easier to upgrade.

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.