[Plugin: Advanced Excerpt] doesn’t work for me
-
i have just installed it..limited to 100 words but nothing on the main page
https://www.ads-software.com/extend/plugins/advanced-excerpt/
-
It doesn’t seem to make any difference to my excerpt option when writing a post either
I ran a test, but the plugin options work just fine.
Do note, though, that the plugin only replaces the default excerpt function used in WordPress. If you have written your own custom excerpts, this plugin will leave them be (just as the default function would have).
So I suspect that the ‘problem’ you are having is actually normal behaviour.
Feel free to elaborate, though.I have to chime in on this as well. I am running 2.5.1 and it doesn’t work for me either. I have tried everything. It simply doesn’t work. it’s a shame though, this could have been a really great plugin. Too bad it seems like he author is asleep at the wheel.
No need plugin to do that…
put this in function.php your template file
function my_trim_excerpt($text) { // Fakes an excerpt if needed if ( '' == $text ) { $text = get_the_content(''); $text = apply_filters('the_content', $text); $text = str_replace(']]>', ']]>', $text); $text = strip_tags($text); $excerpt_length = 30; $words = explode(' ', $text, $excerpt_length + 1); if (count($words) > $excerpt_length) { array_pop($words); $morelink=sprintf("<a href=\"%s\"> [...]</a>", get_permalink()); array_push($words, $morelink); $text = implode(' ', $words); } } return $text; } remove_filter('get_the_excerpt', 'wp_trim_excerpt'); add_filter('get_the_excerpt', 'my_trim_excerpt');
put your limit words in
$excerpt_length=100
Hi Indojepang….
the theme I am using (White as Milk) does not have a function.php file…or at least, I can’t find it in order to paste your code in and try it
My posts are really long and would like to be able to create excerpts automatically.
Is there a plug-in that works?? Im using WordPress 2.5
I am a newbie to .php – so can you tell me how to find the function.php file, if you are saying this plug-in is not necessary???
thanks
The plug works also with WP 2.6. You just have to check your templates for the tag the_excerpt().
This works for me, and apart from thinking that some of the tags should be disabled by default (e.g. table and form tags), I think this is how the_excerpt() should work by default!
I’m using WP 2.6 and I couldn’t get this plug-in to work either. I’d really like my HTML markup to show in my excerpts. Is there a workaround or another plug-in? My template allows for pasting specific excerpts…I tried it both ways.
Just learning WP, so please answer in EZ_speak! ??
Thanks!
O.This doesn’t work for your custom excerpts.
It creates excerpts automatically by stripping your posts.
It WORKS like a charm.
But if you have custom excerpts then it won’t change them.
Using wordpress 2.6 also.
Thanks for the plugin. Wonder why this is not in the core of wordpress anyway.
Forgot to add, it even works with shortcodes! love it , 5 stars!
The plugin seems to work for most people, but apparently it doesn’t always work (even though you’re running the same WP version). I’m guessing this might be the result of conflicting plugins or the use of custom excerpts.
I will be adding an option to override custom excerpts in a future version. I will also try to figure out what is causing the random problems that some people are having, but I can’t promise anything.
Thanks for taking the time to post.It works fine here, i’m using WP 2.7.
Just installed, activated and it was done.
I wish people would stop saying it works fine for them and just tell the people who are having problems what they are doing wrong. “Look for the_excerpt”? Where? Some of these people have said they are new so can you please enlighten us.
Mine is a new install, I haven’t done a custom excerpt or whatever it is. I tried WP’s extension, it failed to strip out caption tags and anyone who asked how to do that never got an answer.
So I deactivate that one and try this one. Nothing happened. No answers to questions for those of us who have never used WP before. I’ve been trying to figure this out for hours and it’s so frustrating that people act like this when others come here for help.
I’ve installed quite a few php applications but, this support forum is the most frustrating one I’ve come across.
By the way, you would save the developer of the plugin a lot of time if he knew there was nothing wrong and what we’re doing wrong.
Very useful plugin.
I’ve found a problem is that the options in the WP admin interface override any options I specify by using the the_advanced_excerpt() tag.
For example, if I use the code
the_advanced_excerpt('length=320&use_words=0&no_custom=1&ellipsis=%26hellip;&exclude_tags=img,p,strong');
then it doesn’t block IMG tags because IMG tags are still checked as an option in the admin interface.
The result of this seems to be that you can’t have some excerpts in some contexts that display images and some that don’t, which I thought was the purpose of the_advanced_excerpt() tag?
I’m using version 0.2.2 with WP v2.7.1
- The topic ‘[Plugin: Advanced Excerpt] doesn’t work for me’ is closed to new replies.