Display and change the primary category of posts directly from the WordPress post list with inline editing using AJAX.
- Adds a "Primary Category" column to the post list.
- Displays the primary category of each post.
- Allows inline editing of the primary category using a dropdown.
- Uses AJAX for smooth and fast updates.
- Upload the plugin files to the
/wp-content/plugins/primary-category-manager
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress.
- Go to the post list to see the new "Primary Category" column and start using the inline editing feature.
- Navigate to the WordPress post list.
- Click on the primary category name to display a dropdown.
- Select the new primary category from the dropdown.
- The primary category will be updated via AJAX.
Currently, this plugin supports only the default 'post' post type. Support for custom post types may be added in future releases.
No, the plugin retains all existing categories and only updates the primary category.
- The "Primary Category" column added to the post list.
- Inline editing of the primary category using a dropdown.
- Added custom CSS for better styling.
- Improved the AJAX request to retain existing categories.
- Initial release.
This plugin is licensed under the GPLv2 or later license. For more information, see GPLv2 License.
Contributions are welcome! Please open an issue or submit a pull request for any bugs or features.
- Your Name - Your GitHub Profile
- Inspired by the need for a simple solution to manage primary categories in WordPress.