- Create an account on Algolia and note down the app id and admin api key
- Install the algolia-custom integration plugin by dropping it into wp-content/plugins folder
- Activate the plugin and add your API keys (app id and admin key) in
algolia-custom-integration
- Run the following command from the root of the plugin to install dependencies
php ./api-client/bin/install-dependencies-without-composer
- Add necessary scripts to functions.php in themes/paleo
- Add the following files to themes/paleo/js/vendor
algoliasearch-lite.umd
instantsearch.production.min
- (optional) Add the style file to themes/paleo/css/vendor
satellite-min
- Add the following js file to themes/paleo/js and add your API keys (app id and admin key)
algolia-search.js
- First navigate to the plugin located in ~/wp-content/plugins/algolia-custom-integration>
- Then run the command
wp algolia reindex_all
- Import settings to Algolia from
export-foodsocial-ORAVPJK7E7-1713149434
- From themes/paleo add code to
category-recipes.php
page-creators.php
- From plugins/jondaley-profiles add code to
users.php
- This documentation was a little rushed so there are probably some bugs. You're probably better off following a tutorial from here. The main differences in code are found in the following files
wp-cli.php
users.php
category-recipes.php
functions.php
page-creators.php
algolia-search.js
Everything else is essentially downloaded or copied from Algolia's tutorial.