Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there, it’s working in my clean install.

    It’s possible that your theme or another plugin is conflicting with this setting. Best I can suggest is try disabling other plugins and changed back to the default theme to see if the issue still occurs.

    ClaraRS and Author

    I’m having problems with excerpt length also… I’ve noticed that the Ultimate Post Excerpt word count truncate works if the text is entered into the main content area of the post, but if the excerpt entry area is used the plug-in inserts the entire entry.

    I’m also trying to modify plugin to show default thumbnail if featured image is not selected.

    Any help would be greatly appreciated. chris w

    I’ve noticed that the Ultimate Post Excerpt word count truncate works if the text is entered into the main content area of the post, but if the excerpt entry area is used the plug-in inserts the entire entry.

    That’s how wordpress is designed to work with excerpts. If you only put text in the main content, the excerpt will be generated from that and follow the excerpt length filter.

    However, if you write a custom excerpt in the excerpt text field it will ignore the excerpt length filter.

    I’m also trying to modify plugin to show default thumbnail if featured image is not selected.

    Above line 169 (https://github.com/bostondv/ultimate-posts-widget/blob/master/ultimate-posts-widget.php#L169) insert something like this:

    <?php else: ?>
    <div class="upw-image">
        <img src="default.png">
    </div>

    bostondv, Thanks you for the rely the code above put me on the right track and in works with minor modifications.

    <?php else: ?>
    <div class=”upw-image”>
    <img src=”<?php echo get_template_directory_uri(); ?>/library/images/default-project-sm.jpg” alt=”” />
    </div>

    The problem is that it inserts the image on all posts, even when show thumbnail checkbox is not selected! Do you have any suggestions.

    If the widget has a feature that allows you to specify the length of the excerpt I would expect that it would truncate the excerpts no matter where it comes from.

    Maybe there should be an option of a negative or no value to allow wordpress to manage the excerpt length or a positive value to have the widget manage the excerpt length.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Excerpt word limit not working?’ is closed to new replies.