Hi,
You can edit the index.php file to set the settings of the post [excerpt, content] in the body section of the blog ..and edit the sidebar.php file for the settings of the post excerpt and contents within the loop.
Thanks,
Shane G.
I have this in the sidebar.php file:
<?php the_advanced_excerpt(‘length=30&custom=1’); ?>
but I don’t know how to set the number of displayed excerpts. It always displays only one excerpt, of the recent post.
Hi,
Change the value of custom from 1 to your desired one which will fix your problem.
Thanks,
Shane G.
That would be easy 😉 but it’s more like a true/false attribute, and it should be “no_custom” (now I saw the error). From this plugin’s FAQ:
The following parameters can be set:
* length, an integer that determines the length of the excerpt
* use_words, if set to 1, the excerpt length will be in words; if set to 0, characters will be used for the count
* no_custom, if set to 1, an excerpt will be generated even if the post has a custom excerpt; if set to 0, the custom excerpt will be used
* ellipsis, the string that will substitute the omitted part of the post; if you want to use HTML entities in the string, use %26 instead of the & prefix to avoid breaking the query
* exclude_tags, a comma-separated list of HTML tags that must be removed from the excerpt
* allow_tags, a comma-separated list of HTML tags that are allowed in the excerpt
So… it seems that the parameter for number of excerpts must be somewhere else.