WP Manifestindependent plugin directory
manifest / utilities / hyp-text-search

Hyp Text Search

This plugin adds a search box to the top of wordpress content. It will render the box between the title for the page and the content.

★ 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/hyptx/hyp-text-search/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.

This plugin adds a search box to the top of wordpress content. It will render the box between the title for the page and the content. The div targeted by the search can be changed in: hyp-text-search.js. Just change #main-content to whatever element you want to target on line 79 and 84

Instructions

  1. Add this to the top of a page template (like page.php) above get_header(); Page templates located in the root directory of the theme.
<?php $hypts_activate = 1 ?>
  1. To create a custom page template, make a copy of page.php. Then name this file page-MYSLUG.php

If you want to create a template for more than one page, just add the template name PHP block to the top of the template file. Then you can select this template from the wordpress page editor for any page.

/ Template Name: MyTemplateName /