I have made a shortcode that adds a default block (eg. Cover) using php so that it can contain dynamic content.

This works fine except that wordpress doesn't know to add the css for that block type.

Is there a way to tell wordpress to include the default css for this dynamic block?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.