该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Search Extracts

描述

When displaying results from a search many people prefer to display the section of the resulting
post/page that includes the match, rather than the full post or standard excerpt. This plugin adds
a filter to process search results and only display the content either side of the first result
for the given search.

To Do

  • Add automated tests
  • Make the padding around results value configurable
  • Solicit user feedback on further options

安装

  1. Upload wp-search-extracts to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

评价

此插件暂无评价。

贡献者及开发者

「WP Search Extracts」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.1

  • Fix issue where matched term is near the beginning of the string, which could cause duplication in results (thanks to Ben Walker)

1.0

  • Consolidated code for first release