Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

awesomemotive/searchwp-library

Repository files navigation

SearchWP Code Snippet Library

This is a community-maintained repository of code snippets that help modify the default behavior of SearchWP.

Snippets are organized into categories (folders) and each snippet is placed in its own file with a name that describes what it does.

Using Snippets

Most files in this library are set up to be WordPress plugins:

  1. Click on the filename of the snippet you'd like to use.
  2. Click the "Raw" button (next to "Blame" and "History") at the top right.
  3. Save the page from your browser to your wp-content/plugins folder and upload to your server. Alternatively you can compress the file as a .zip file and upload as a plugin from within WordPress.
  4. Activate the plugin from the WordPress plugins page.

For files that aren't set up as plugins follow steps 1 and 2 above and then copy and paste the code into your child theme's functions.php or place inside a custom functionality plugin.

Submitting Your Snippet

Code snippet submissions are very welcome. If you would like to submit your snippet, please fork the repository and then create a pull request.

Please refer to the Contributing guidelines before submitting your pull request.

Proposing a Snippet

If there is a snippet you are unable to find and would like to propose get written, please open an issue and describe your need.

Notes

This is not a tutorial archive. Please see the knowledge base of the SearchWP website if you're looking for instructions on how to implement these snippets (and others).

These snippets come with no guarantees. Due to the constant evolution of the SearchWP codebase, it is possible that the behavior of these snippets may change over time. Find something broken? Open an Issue, thanks!

The SearchWP Library has been grossly inspired by the EDD Code Snippet Library

About

Useful SearchWP code snippets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages