Skip to content

Add Cloud Glossary plugin with custom post type and REST API#10

Open
the1bit wants to merge 11 commits intomainfrom
cloud-glossary
Open

Add Cloud Glossary plugin with custom post type and REST API#10
the1bit wants to merge 11 commits intomainfrom
cloud-glossary

Conversation

@the1bit
Copy link
Copy Markdown
Contributor

@the1bit the1bit commented Apr 26, 2026

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.

the1bit added 11 commits April 26, 2026 15:25
… 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant