Wordpress shortcode plugin embedded learndash course grid code doesn't create course grid

Viewed 11

I have created a structurally very simple plugin that embeds code in the page that creates a LearnDash course grid.

The embedded code is:

<!-- wp:learndash/ld-course-grid {"taxonomies":"ld_course_tag:'Resources'","thumbnail_size":"et-pb-image\u002d\u002dresponsive\u002d\u002dphone","ribbon":false,"content":true,"post_meta":false,"filter":false,"card":"grid-2","columns":"1","id":"ld-cg-l6r0jf4js3","filter_taxonomies":["post_tag"]} /-->

If I put that code directly into a page using the text editor, it's replaced by the course grid. But when I place it in the page via the plugin, it just stays that code, it doesn't get acted on and converted to the course grid.

The site uses the Divi theme although I am not using the visual builder to create the page that uses the plugin.

Any thoughts on why the plugin-embedded code doesn't get acted on? I don't know if it might be an issue with Wordpress, Divi, LearnDash, or something else.

0 Answers
Related