Add Cloud Glossary plugin with custom post type and REST API#10
Open
Add Cloud Glossary plugin with custom post type and REST API#10
Conversation
… API - Implemented CG_CPT class for registering custom post type 'cloud_service' and taxonomies 'cloud_provider' and 'cloud_category'. - Created CG_I18n class for handling internationalization and loading text domain. - Developed CG_Meta class for managing meta boxes, saving meta data, and handling autocomplete for related services and posts. - Introduced CG_Plugin class as the main plugin bootstrapper to initialize all components. - Added CG_Rest class for custom REST API endpoints to retrieve cloud services and individual service details. - Implemented CG_Shortcode class for rendering the glossary on the frontend via a shortcode. - Created uninstall.php to handle data cleanup upon plugin uninstallation. - Added initial template for glossary display and included necessary assets. - Created readme.txt for plugin description, installation instructions, and changelog. - Added language file template for translations.
- Updated CG_CPT class to remove the cloud provider taxonomy and related terms. - Modified CG_Meta class to handle multiple cloud providers (AWS, Azure, GCP) in the concept editor. - Adjusted the rendering of the meta box to include provider-specific fields for name, short description, and official documentation URL. - Enhanced the serialization of services in CG_Rest class to include provider-specific data. - Updated shortcode translations to reflect changes in terminology. - Cleaned up uninstall script to remove references to the cloud provider taxonomy.
…min and shortcode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce a WordPress plugin for managing cloud services with a custom post type, taxonomies, and a REST API. The implementation includes internationalization support, meta management, and a shortcode for frontend display. Initial setup for data cleanup upon uninstallation is also provided.