• Resolved marrie125

    (@marrie125)


    Hello to all. I am using twentytwelve and I tried to modify it to have excerpts on the post page not the full post as my posts are rather long. I don’t want to have the more tag in every single post like some things suggest. I have 7 years worth of posts, some wiht out show notes. I want to modify the content.php. file to do this like the post I was replying to. You can find it here.

    Here is my link to my content.php file.

    Hope that helps.

Viewing 1 replies (of 1 total)
  • Thread Starter marrie125

    (@marrie125)

    Ok. I followed the directions in this blog post.

    http://zeaks.org/tutorials/display-excerpts-in-twenty-twelve-theme/

    wonderful post btw. It workes, except the read more link does not. It shows the code. How do I change this?

    code for the functions php in my child theme of twentytwelve:

    <?php 
    
    // Remove the ... from excerpt and change the text
    function change_excerpt_more()
    {
      function new_excerpt_more($more)
        {
        // Use .read-more to style the link
          return ' < span class = "Click-To-Read-More." > < a href = "' . get_permalink($post->ID) . '" > Click to read more. » </ a > </ span > ';
        }
      add_filter('excerpt_more', 'new_excerpt_more');
    }
    add_action('after_setup_theme', 'change_excerpt_more');

    link to site having issues

    http://tffppodcast.com/listen

    As you can see the excerpt works except the read more link is not working. I’m trying to customise that fraze to read something like “Continu reading” or “Click to continu reading” or something like that. thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘can't see exerpts on post page’ is closed to new replies.