• Resolved Lemonaid

    (@lemonaid)


    My blog is at https://pencilandfork.net

    I recently changed my theme to Tweaker2 and I’m having trouble with the <!–more–> tag (read more). When I write posts, I use the more quicktag button to control the length of the excerpt shown on the main page, but since I changed to Tweaker2, I can’t seem to get it to work.

    Although the more tag is still visible when I edit the post, the excerpts shown on the main page are shorter, of an arbitrary length. I want to be able to decide how long the excerpt is and for most of them, I have images placed before the cut off, which I want to appear on the main page. I have searched for answers but can’t work out how to change this. Please help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m not familiar with the tweaker theme, but I’m guessing that the theme developer has added some code to restrict the excerpt length. So if you want to change this, you’ll need to modify the theme.

    In your templates, look for <?php the_excerpt();?> and change these to <?php the_content(‘Read more’);?>

    Thread Starter Lemonaid

    (@lemonaid)

    Thanks very much Christine – that’s worked. I kind of knew where to look, but didn’t realise I had to remove the “the_excerpt” bit, so thanks!

    It didn’t work for me in twentyten – it shows the entire content instead of just the part in front of my <!–more–> tag. Why’s that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using the more tag with Tweaker2’ is closed to new replies.