Skip to content

[Bug] Search result excerpt incldues the word Read... unlinked without space #448

@jessecowens

Description

@jessecowens

Describe the bug
When search results are displayed, the word "Read..." is included at the end of the result, not linked to the post, and without a space before the word.
search-excerpt
This seems to be related to how wp_trim_words treats get_the_excerpt in this line.

To Reproduce
Steps to reproduce the behavior:

  1. Perform a search that returns results, for example by using the query string ?s=about on an inspirations pageset.

Expected behavior
Ideally, this would read "Read More..." or whatever the localized read more string should be, and also be linked to the post.

Additional context
This bug is related to user feedback from the BoldGrid Support forums

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions