• Jabbok

    (@jabbok)


    I’m experimenting. I only want the most recent post to show up on the page. The post is extremely long so I’ve used the <–more–> function. However, with only one post on the page the more function doesn’t work.

    Is there a fix for this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • moshu

    (@moshu)

    It should. I just tested it.

    bestfoot

    (@bestfoot)

    it doesn’t work if you are looking at that post, but it does if you are on the main or category page

    are you sure you weren’t on that post?

    Kafkaesqui

    (@kafkaesqui)

    Thread Starter Jabbok

    (@jabbok)

    Thanks for the link.

    The patch works. Change line 177 to:

    if ( is_single() ) {

    This is all that was required. The “MORE” function now works with a single post on the default page.

    MrJ

    (@mrj)

    Oh ok, now it’s working. I had only one test entry on the page and it wasn’t showing the extended entry. I plan on having more than one entry on the page so I don’t think it will be a problem…although the ‘more’ tag should work regardless of how many posts you have don’t you think? That was a little frustrating until I found that out…

    Thanks for your help everyone!

    moshu

    (@moshu)

    MrJ, the patch provided at the link above will fix it – as you can see from Jabbok’s post.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘<!–more–>’ is closed to new replies.