Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Ports WordPress plugins, post types, and theme features to EmDash CMS using concept mappings and TypeScript implementation patterns.
4% 83%+78 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 1 of 23 without it.
3 of 3 safety checks passed
Not used yet
This skill maps WordPress concepts to their EmDash equivalents for plugin porting. For general plugin authoring details (plugin structure, definePlugin(), hooks, storage, admin UI, etc.), use the creating-plugins skill.
| WordPress | EmDash | Notes |
|---|---|---|
register_post_type() | SchemaRegistry.createCollection() | Via Admin API or seed file |
register_taxonomy() | _emdash_taxonomy_defs table | Hierarchical or flat, attached to collections |
register_meta() / ACF | Collection fields via SchemaRegistry | All become typed schema fields |
get_post_meta() | entry.data.fieldName | Direct typed access |
get_option() | getSiteSetting() / ctx.kv | Site settings or plugin-namespaced KV |
WP_Query | getEmDashCollection() | Runtime queries with filters |
get_post($id) | getEmDashEntry(collection, slug) | Returns entry or null |
wp_insert_post() | POST /_emdash/api/content/{type} | REST API |
wp_update_post() | PUT /_emdash/api/content/{type}/{id} | REST API |
wp_delete_post() | DELETE /_emdash/api/content/{type}/{id} | Soft delete |
| Custom tables | Plugin storage collections | ctx.storage.collectionName.put/get/query |
| WordPress | EmDash | Notes |
|---|---|---|
get_bloginfo('name') | getSiteSetting('title') | From options table with site: prefix |
get_option('blogdesc') | getSiteSetting('tagline') | Site settings API |
| Theme Customizer | Site Settings admin page | /_emdash/admin/settings |
site_icon | getSiteSetting('favicon') | Media reference |
custom_logo | getSiteSetting('logo') | Media reference |
Next to this one in the catalogue, plus more from the same author.