We’re excited to announce the release of Aebe Post Indexer 2.0, a major update that introduces a new feature designed to enhance user experience while maintaining simplicity. This version focuses on improving functionality for category and post selection in the settings, making it more intuitive and dynamic.
What’s New in Version 2.0?
1. Dynamic Post Selection for Categories
In previous versions, selecting a category in the settings page didn’t automatically display or select the posts belonging to that category. With version 2.0, this behavior has been improved:
- When you select a category: All posts belonging to that category are automatically selected in the “Select Posts” section.
- When you deselect a category: The posts associated with that category are also deselected, keeping the settings page consistent.
This change provides better visibility into which posts are included in the index for each category.
2. Improved Interaction Using JavaScript
To enable the dynamic selection feature, a new JavaScript file has been added. This script ensures that when you toggle a category, the associated posts are immediately updated without the need to refresh the page. The interaction feels seamless and responsive, thanks to secure AJAX handling.
What Has Changed?
- Category-Post Relationship Handling:
- Previously: Selecting a category didn’t impact the posts section, making it unclear which posts were part of the selected categories.
- Now: Posts in the selected categories are automatically checked, and the user can see them directly in the “Select Posts” table.
- New JavaScript File (
aebe-post-indexer.js
):This script is responsible for handling the dynamic selection of posts when categories are toggled. It communicates with the WordPress backend using AJAX to fetch posts from the selected categories. - New AJAX Endpoint:The plugin now includes a secure AJAX handler (
aebe_fetch_posts
) that retrieves posts for a selected category. This endpoint ensures that only users with the appropriate permissions can fetch the data. - Version Number Updated:The plugin version has been updated to 2.0 to reflect the significant new features.
How to Update?
- Replace your existing plugin files with the new version files.
- Ensure that the new JavaScript file (
aebe-post-indexer.js
) is located in the plugin directory. - Activate or re-activate the plugin to ensure that all settings are applied.
Compatibility
- WordPress Version: Fully tested with WordPress 6.x and above.
- PHP Compatibility: Requires PHP 7.4 or newer for best performance and security.
- Browser Compatibility: JavaScript features tested on the latest versions of major browsers (Chrome, Firefox, Edge, Safari).
Known Limitations
- Posts belonging to multiple categories will still appear as selected if any of their associated categories are checked. This is expected behavior but may require clarification for users managing overlapping categories.
- If JavaScript is disabled, the dynamic selection feature will not work, but the plugin will still function without errors.
Feedback and Future Plans
We’re always looking to improve! If you have suggestions for additional features or encounter any issues, feel free to reach out to our support team or submit a feature request.
In the next updates, we’re considering:
- A “Preview Index” button to show how the index will look based on the current selections.
- Improved UI/UX for better handling of large numbers of categories and posts.
We hope you enjoy the improvements in Aebe Post Indexer 2.0. Happy indexing! 🎉