Skip to content

webdesignermall/wp-rest-api-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wp-rest-api-search

A search utility for WordPress using the WP REST API

This is a very simple search plugin using the WP Rest API used on http://www.webdesignermall.com. This project is open to contributors who would like to add any modern utilities to it with NodeJS, SASS, AngulaJS, etc.

Detailed instructions on developing this simple plugin are part of the Udemy course at Complete WordPress Theme Developer Course With WP REST API at https://www.udemy.com/the-complete-wordpress-theme-developer-course/

TO SET UP THIS PLUGIN:

  1. Install the plugin as you would any other WordPress plugin.
  2. Open the wp-content/plugins/wp-rest-api-search/qs_wpapi.js file and change the home_url variable to your own domain name (around line 8).
  3. The WordPress Rest API (Version 2) plugin needs to be installed from the WordPress repository as well (install this for any WP REST API functionality on your website).

ADDING THE SEARCH FORM

  1. Create a new post, page, or text widget and add the [quick-search-form] shortcode, which is located in the plugin.

THAT'S IT!

You can test out the form by entering any keyword and pressing ENTER.

About

A search utility for WordPress using the WP REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published