SW - Skills CPT
Custom Post Type for Skills with native custom fields.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/dazza-dev/sw-skills/archive/refs/heads/main.zipReadme
=== SW - Skills CPT === Contributors: seniorswp, dazzadev Tags: custom-post-type, skills, svg-icons, rest-api, graphql Requires at least: 5.8 Tested up to: 6.4 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPL v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html
Custom Post Type for Skills with inline SVG icons, categories, and optional WPGraphQL support.
== Description ==
Adds a Skills Custom Post Type with:
- Skill categories taxonomy (Languages, Frameworks, Infrastructure, etc.)
- Inline SVG icon field (paste SVG from Simple Icons, Devicon, etc.)
- Optional URL field for official documentation
- SVG sanitization for security (wp_kses with allowed SVG tags)
- Icon preview in admin columns and edit screen
- Display order via Page Attributes
- REST API support (built-in)
- WPGraphQL support (optional)
== Frequently Asked Questions ==
= Where do I get SVG icons? =
- Simple Icons (https://simpleicons.org) - 2600+ brand/tech icons
- Devicon (https://devicon.dev) - Development technology icons
Just search for the technology, copy the SVG code, and paste it in the "Icon SVG" field.
= Do I need WPGraphQL? =
No. The plugin works with WordPress REST API by default. WPGraphQL support is optional.
= How do I access skills via API? =
REST API: /wp-json/wp/v2/skill
GraphQL: swSkills query (requires WPGraphQL plugin)
== Changelog ==
= 1.0.0 =
- Initial release