Search with Algolia Bogo extension
Simple extension of Bogo and WP Search with Algolia.
Install in
The plugin will put the locale attribute into the Index created by WP Search wit Algolia depends on the Bogo settings.
Contributing
Development Environment Setup
This project supports two development environments: wp-env and wp-now. Both provide a local WordPress environment for development and testing.
Using wp-env
-
Install dependencies:
npm install -
Start the development environment:
npm run env:start
Required plugins (Bogo and WP Search with Algolia) will be automatically installed from WordPress.org.
-
Access WordPress at
http://localhost:8888 -
Stop the environment:
npm run env:stop -
Clean up the environment:
npm run env:clean -
Run WP-CLI commands:
npm run env:cli wp plugin list
Using wp-now
-
Install dependencies:
npm install -
Start the development environment:
npm run start
The environment will automatically install plugins specified in blueprint.json after WordPress initial setup.
-
Access WordPress at
http://localhost:8888 -
Run PHP/WP-CLI commands:
npm run php wp plugin list
Generating POT file for translations
To generate the POT (Portable Object Template) file for translations, use the following command:
npm run i18n
This command uses wp-env to run WordPress CLI’s i18n make-pot command. Make sure Docker is running before executing this command.
The generated POT file will be saved to languages/algolia-bogo.pot.
Written by Joobi from the project's own listing. See the source page
0.2.2
- Declare the GPLv2 or later license in the plugin header, which WordPress.org’s Plugin Check requires
0.2.1
- Update deploy workflow to use latest GitHub Actions
- Replace deprecated actions with modern alternatives
0.2.0
- Fix PHP 8+ compatibility: Add defensive checks for array keys before array operations
- Fix filter name typo (
algolia_bogo_allower_post_type->algolia_bogo_allowed_post_type) with backwards compatibility - Add PHPUnit tests with comprehensive test coverage
- Add GitHub Actions workflow for automated testing
- Improve development environment support (wp-env, wp-now)
- Modernize code and fix coding standards
- Update PHP requirement from 7.2 to 7.3
0.1.2
- Release
Follow this listing's changes (Atom feed)