I have a short code that is adding a form to a page. How do I ensure that the CSS for the form is loaded in time with the shortcode?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
you can check with
|
|||||||||||
|
|
You can also embed your styles through a tag above the short code HTMl. |
|||||
|
|
You add the css for this form to your theme's style.css. The css is already there no matter if you have a form or not. That's the easiest solution. |
|||||
|