Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Wordpress shortcodes in a component #14

Open
DevJulia opened this issue Jan 17, 2020 · 0 comments
Open

Use Wordpress shortcodes in a component #14

DevJulia opened this issue Jan 17, 2020 · 0 comments

Comments

@DevJulia
Copy link

Hello,

In one of my page's content, I put a shortcode from the WpForms plugin to display a contact form.
When I access this page by using routes from my SPA, the JS and CSS files of WpForms are not attached.
However if I'm opening this page with its direct link, the JS and CSS files are attached.

How can I load the WP plugin's assets only on the contact page route?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant