- Implementation of a first version of a Wordpress plugin - Adding api service to nginx.conf
3.4 KiB
EveAI Sync WordPress Plugin
Description
EveAI Sync is a WordPress plugin that synchronizes your WordPress content (posts and pages) with the EveAI platform. It allows for seamless integration between your WordPress site and EveAI, ensuring that your content is always up-to-date on both platforms.
Features
- Automatic synchronization of posts and pages with EveAI
- Support for excluding specific categories or individual posts/pages from syncing
- Bulk synchronization of existing content
- Custom metadata synchronization
- Easy-to-use admin interface for configuration
Installation
- Download the plugin zip file.
- Log in to your WordPress admin panel.
- Go to Plugins > Add New.
- Click on the "Upload Plugin" button.
- Select the downloaded zip file and click "Install Now".
- After installation, click "Activate Plugin".
Configuration
- Go to Settings > EveAI Sync in your WordPress admin panel.
- Enter your EveAI API URL, Tenant ID, and API Key.
- Configure any additional settings as needed.
- Click "Save Changes".
Usage
- New posts and pages will automatically sync to EveAI when published.
- Existing content can be synced using the "Bulk Sync" option in the settings.
- To exclude a post or page from syncing, use the "Exclude from EveAI sync" checkbox in the post editor.
- Categories can be excluded from syncing in the plugin settings.
Action Scheduler Dependency
This plugin uses Action Scheduler for efficient background processing of synchronization tasks. Action Scheduler is typically included with WooCommerce, but the plugin can also function without it.
With Action Scheduler
If Action Scheduler is available (either through WooCommerce or included with this plugin), EveAI Sync will use it for more reliable and efficient scheduling of synchronization tasks.
Without Action Scheduler
If Action Scheduler is not available, the plugin will automatically fall back to using WordPress cron for scheduling tasks. This fallback ensures that the plugin remains functional, although with potentially less precise timing for background tasks.
No additional configuration is needed; the plugin will automatically detect the presence or absence of Action Scheduler and adjust its behavior accordingly.
Versions
1.0.x - Bugfixing Releases
1.0.0 - Initial Release
Frequently Asked Questions
Q: How often does the plugin sync content? A: The plugin syncs content immediately when a post or page is published or updated. For bulk syncs or when Action Scheduler is not available, the timing may vary based on WordPress cron execution.
Q: Can I sync only certain types of content? A: By default, the plugin syncs all posts and pages. You can exclude specific categories or individual posts/pages from syncing.
Q: What happens if the sync fails? A: The plugin will log any sync failures and attempt to retry. You can view sync status in the plugin's admin interface.
Q: Do I need to install Action Scheduler separately? A: No, the plugin will work with or without Action Scheduler. If you have WooCommerce installed, Action Scheduler will be available automatically.
Support
For support, please open an issue on our GitHub repository or contact our support team at support@eveai.com.
Contributing
We welcome contributions to the EveAI Sync plugin. Please feel free to submit pull requests or open issues on our GitHub repository.
License
This plugin is licensed under the GPL v2 or later.