Thread Starter
Roy
(@gangleri)
However Moshu suggested the_excerpt_reloaded for this, I can’t work it out. This plugin needs a coded length for an excerpt, but can I put two codes in one loop and how it only the latest post going to be different from the rest…? I don’t really see the difference with the standard get_excerpt except that you can add some variables (but not the one I want?).
My suggestion is still valid – you just need to add a post count and a conditional. There are many code snippets posted for post count, if you search for latest post different style and similar keywords.
Basically, you will have a custom Loop where if it is the latest post
excerpt_reloaded 60 words
else
excerpt_reloaded 30 words
Thread Starter
Roy
(@gangleri)
Right, I’ll give it a go. Thanks.
Thread Starter
Roy
(@gangleri)
No luck whatsoever. I can’t get the_excerpt_reloaded to work properly. I have no clue what to put where. I now have the following in my index.php:
<div class="postentry">
<?php the_excerpt(__('Continue reading'). " ‘" . the_title('', '', false) . "’ »"); ?>
</div>
This works, but ends the excerpt with an ugly [...]
(where does WP find that anyway?). I have tried the Advanced Excerpt and Evermore plugins, but for some reason they don’t do their job on the index (archives work just fine). Then I tried to put the “more” tag in each article, but this one leaves every code intact and is there for unworkable (excerpts have too large images, parts of tables, etc.). So I went back to the_excerpt_reloaded… I have changed the code above with <php the_excerpt_reloaded(55, '<blockquote>', '>> Continue reading >>'); ?>
(in a few variations, even including a completely ’empty’ the_excerpt reloaded tag), but it messes up the entire index.php. Categories move above the title, date below the ‘excerpt’, there is no excerpt whatsover (just the word “more” without a link). I obviously do something wrong, but I don’t know what. I haven’t found clearer unstructions than on the plugin page, so I just ask here. Naturally I also didn’t get to Moshu’s suggestion for different excerpts length (I can’t even make the basis…).
Thread Starter
Roy
(@gangleri)
Ok, the Excerpt Editor does work on my index as well. I even managed to add some variables (allow <blockquote>
tag). Maybe in this one I can manage to have different excerpt lengths.