Any way to put different length excerpts on the same page?

Discussion in 'WordPress' started by bob25, Dec 30, 2010.

  1. #1
    Basically I'd like to put a sticky post that's about 250 words on the hompage, and have the rest of the posts around a 100.

    I've tried with the "more" tag and a plugin, but couldn't find a plugin that allowed me to do that. Probably could if the template was already set to show excerpts, but the plugin and the "more" tag doesn't seem to be compatible.

    Is there any way to do this like modifying the template or something?

    Thanks
     
    bob25, Dec 30, 2010 IP
  2. Yuuko008

    Yuuko008 Member

    Messages:
    682
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    33
    #2
    To do that you need to create custom functions on your function.php on your template files. And instead of using the_excerpt(); you will be using the function that you created.

    Hope my tip helped :)
     
    Yuuko008, Dec 30, 2010 IP
  3. bob25

    bob25 Well-Known Member

    Messages:
    1,519
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    128
    #3
    :confused: Kinda lost me on that one. I'm kinda a klutz when it comes to the technical stuff.

    I do have a template that posts as excerpts, and the sticky should work on that I think. It's not quite the template I wanted to use, but I'll try tweaking it around and see if i can get it to work.

    Thanks
     
    bob25, Dec 30, 2010 IP