Download the PHP package danlapteacru/facetwp-local-json without Composer
On this page you can find all versions of the php package danlapteacru/facetwp-local-json. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download danlapteacru/facetwp-local-json
More information about danlapteacru/facetwp-local-json
Files in danlapteacru/facetwp-local-json
Package facetwp-local-json
Short Description Saves FacetWP facets, templates and settings as .json files within your theme.
License MIT
Homepage https://github.com/danlapteacru/facetwp-local-json/
Informations about the package facetwp-local-json
FacetWP Local JSON
FacetWP Local JSON is a WordPress plugin that allows you to store FacetWP facets, templates and settings as .json file and keep them in your source code repository.
- Minimum Requirements
- Installation
- Hooks
- Constants
- TODO
- Credits
- License
Minimum Requirements
- PHP v8.1
- WordPress v6.1
- FacetWP v4.0
Installation
Composer (Recommended)
WP-CLI
wordpress.org plugins directory
Download from https://wordpress.org/plugins/facetwp-local-json and install it manually or via WordPress admin panel.
Hooks
facetwp_local_json_settings
Filter the settings that are stored in the .json file.
Example:
facetwp_local_json_storage_path
Filter the path where the .json files are stored.
Default is wp-content/themes/your-theme/plugins/facetwp/local-json/settings.json
.
Example:
Constants
FACETWP_LOCAL_JSON_STORAGE_PATH
Define the path where the .json files are store in your wp-config.php
file.
Example:
FACETWP_LOCAL_JSON_FORCE_ENABLE
Force enable/disable the FacetWP Local JSON features.
Example:
TODO
- [ ] Add support for WPML and Polylang.
- [ ] Option to select which facets, templates and settings to store in the .json file.
- [ ] Tests.
- [ ] Documentation.
Credits
FacetWP Local JSON is created by Dan Lapteacru.
Full list of contributors can be found here.
License
FacetWP Local JSON is released under the MIT License.