Nearly all of my posts have normal content but then ends with a shortcode.

So, h2 elements and paragraphs, but then at the end of the post, the shortcode that ends up implementing a div tag with consistent classes.

I would like to wrap all code, but the final shortcode in a div. How do I do this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.