I’m looking for something that I thought would be a lot simpler than it is apparently. I can’t believe that I’m the first person who’s done this, but here it goes.
I’m working on a news blog. All of the items on the home page will be using
Most articles would have 50 words. I was hoping for a way to make the most recent article a longer excerpt, lets say 120 words.
I figured I could do some kind of if/else statement in the function file to change the excerpt filter length, but I can’t seem to figure out how to target that top query and make it differently.
The way I have it set up now is 2 queries. I have one query for the “featured section” which uses a jquery carousel that scrolls through the 5 most recent posts. Then below that are the rest of the posts.
So, any ideas? Do you need to see the page code? I can supply if needed.
Thanks in advance for your help!
- The topic ‘Dynamic Excerpt length’ is closed to new replies.