Skip to content

WordPress built in Shortcodes #12

@ramsaylanier

Description

@ramsaylanier

As per on the Road Map, WordPress built in short codes, like [caption] should probably work with this project - they currently don't.

I think the most logical step would be to, when rendering the post, parse the post_content field (which I'm already doing), strip out shortcodes and replace them with the output of rendering a React component for that shortcode.

So, we'd create a Caption component, and when we parse the post_contet field, when we see [caption][/caption] we replace it with a the component.

It's probably going to be difficult.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions