承接 pvtl/pvtl-site-search 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pvtl/pvtl-site-search

最新稳定版本:v1.0.1

Composer 安装命令:

composer require pvtl/pvtl-site-search

包简介

A site search plugin for WordPress.

README 文档

README

WordPress plugin that adds an admin-only tool to find published posts and pages whose body content contains a given search term. Useful for audits, migrations, or locating copy across custom post types without opening each item in the editor.

Features

  • Admin menu — “Site Search” appears under the main admin menu (dashicon: search).
  • Capability — Only users who can manage_options (typically Administrators) can access the screen.
  • Scope — All public post types, post_status = publish, via post_type => any.
  • Matching — Case-insensitive search in post_content only (not titles or meta).
  • Results — Permalink, post type, ID, occurrence count, contextual excerpts (~150 chars before/after each match) with the term highlighted, plus a textarea of plain URLs for copying.

Requirements

  • WordPress 5.0 or higher (uses standard APIs; not formally version-gated in code).
  • PHP 8.0 or higher (see composer.json).

Performance note

Each search loads all published posts into memory (posts_per_page => -1) and scans content in PHP. On very large sites this can be slow or hit memory limits; consider running during off-peak hours or on a staging copy.

Installation

Composer (e.g. Bedrock)

composer require pvtl/pvtl-site-search

Ensure your setup installs packages of type wordpress-plugin into wp-content/plugins (or your configured installer-paths).

Manual

  1. Copy the plugin folder to wp-content/plugins/pvtl-site-search/.
  2. Activate PVTL Site Search in Plugins.

Usage

  1. In wp-admin, open Site Search.
  2. Enter a term and submit.
  3. Review matches and copy URLs from the list at the bottom if needed.

Releases and versioning

Releases are Git tags (e.g. v1.0.0). composer.json intentionally has no "version" field so Packagist and Composer take the version from the tag. If you add "version" back, it must exactly match each tag or Packagist may skip tags with a “version mismatch” warning.

Keep the WordPress plugin header Version: in pvtl-site-search.php in sync with the tag you ship (for wp-admin display).

Package metadata

Item Value
Composer pvtl/pvtl-site-search
Plugin slug pvtl-site-search

Author

Pivotal Agency Pty Ltd — pivotalagency.com.au

License

MIT — see LICENSE.md.

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-31