[Plugin: Advanced Excerpt] doesn't work for me (17 posts)

  1. tanicos2
    Posted 8 years ago #

    i have just installed it..limited to 100 words but nothing on the main page


  2. inesod
    Posted 8 years ago #

    It doesn't seem to make any difference to my excerpt option when writing a post either

  3. basvd
    Posted 8 years ago #

    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.

  4. desabol
    Posted 8 years ago #

    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.

  5. Indojepang
    Posted 8 years ago #

    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) {
    			$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

  6. elucia
    Posted 8 years ago #

    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???


  7. ThomasKr
    Posted 8 years ago #

    The plug works also with WP 2.6. You just have to check your templates for the tag the_excerpt().

  8. alastc
    Posted 7 years ago #

    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!

  9. ogogogo
    Posted 7 years ago #

    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! ;)


  10. bulletproof
    Posted 7 years ago #

    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.

  11. bulletproof
    Posted 7 years ago #

    Forgot to add, it even works with shortcodes! love it , 5 stars!

  12. basvd
    Posted 7 years ago #

    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.

  13. lcarlos
    Posted 7 years ago #

    It works fine here, i'm using WP 2.7.

    Just installed, activated and it was done.

  14. megami20
    Posted 7 years ago #

    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.

  15. megami20
    Posted 7 years ago #

    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.

  16. thesheep
    Posted 7 years ago #

    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

  17. Ryan
    Posted 7 years ago #

    megami20, chillax a bit. You get what you pay for in these support forums.

    What the people are doing wrong is likely just not understanding how the plugin works - or more likely not understanding how WordPress works.

    If you want help though, you need to explain a bit more than "it's not working".

    First thing everyone needs to do is check their theme to make sure it is using <?php the_excerpt() ?> instead of <?php the_content() ?> where you're looking for excerpt text to appear. You can do this under the APPEARANCE->EDIT menu in the backend (or just edit the php files in your theme folder via FTP).

    If none of that makes sense, then you need to take an hour or two and familiarize yourself with how WordPress themes work. If that all makes sense, come back and explain clearly what is and isn't happening.

Topic Closed

This topic has been closed to new replies.

About this Topic