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

Fix CSS path and add context for code #2

Closed
nylen opened this issue Sep 30, 2019 · 1 comment
Closed

Fix CSS path and add context for code #2

nylen opened this issue Sep 30, 2019 · 1 comment

Comments

@nylen
Copy link

nylen commented Sep 30, 2019

wp_register_style( 'wp-components', plugins_url( 'js/fake.min.js', __FILE__ ) );

This should be pointing to css/fake.min.css instead of js/fake.min/js.

// Fix Caldera Forms

I would also add some information about the specific problem this is intended to fix, so that it's easier for readers to understand why this code is present. Something like this should do:

Caldera Forms registers admin which depends on admin-client which depends on wp-components, a Gutenberg script. Other than that it works fine as of version 1.8.5:
https://forums.classicpress.net/t/problem-with-caldera-forms-and-classicpress/1600

@xxsimoxx
Copy link
Owner

xxsimoxx commented Oct 2, 2019

Thank you very much!

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

2 participants