manifest / integrations / algolia-frontend
Algolia Frontend archived
DEPRICATED! A set of frontend functions replacing standard algolia behaviour
by Sebastian Thulin · github.com/helsingborg-stad/algolia-frontend · website
★ 0stars
49composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/helsingborg-stad/algolia-frontend/archive/refs/heads/master.zipAlso on Packagist as helsingborg-stad/algolia-frontend:
composer require helsingborg-stad/algolia-frontendFrom the readme
Algolia Frontend
Replaces the standard algolia frontend with our own. Forces algolia to use specific settings.
Define the indexes to search as a constant.
define('ALGOLIAFRONTENDINDEXES', array(
array('indexnamekey', '50', "Invånare"),
array('indexnamekeysecond', '100', "Företagare")
);
The second parameter indicate max number of resuls to return from this index.