WP Manifestindependent plugin directory
manifest / integrations / jetpack-search-extractor

Jetpack Search Extractor

Extract any post meta into searchable fields

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/jakeols/jetpack-search-extractor/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Jetpack Search Extractor lets you select custom post meta from your pages, and add it to your managed Jetpack index.

It works by copying your page's post meta into a new field that is already setup to be searchable by Jetpack .

:warning: in development :warning:

Installation

Clone the repo

git clone https://github.com/jakeols/jetpack-search-extractor

Install admin dependencies in admin/js

cd admin/js && yarn install

Assets in admin/js can be built with

yarn build

For development usage, yarn dev will create a development server at http://localhost:8080

Usage

To allow for hot reloading of admin assets during development, replace the following IP address with yours

  if ($_SERVER['REMOTE_ADDR'] == '192.168.50.1') {
    $js_to_load = 'http://localhost:8080/bundle.js';
  }

About

This plugin is built with Preact, and thus very small. It's JS is only loaded and injected onto the set admin page.