Skip to content

jakeols/jetpack-search-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jetpack Search Extractor

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 .

⚠️ in development ⚠️

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.

About

Extract any post meta into searchable fields

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published