error when connecting the stylesheet
-
When connecting the css & js files, the error is a double slash:
wp-content/plugins/faq-schema-for-pages-and-posts//js/frontend.js
wp_enqueue_style( 'wp-faq-schema-jquery-ui', WP_FAQ_SCHEMA_URL . '/css/jquery-ui.css', [], '2.0.0' );
it is not right.Correct code:
wp_enqueue_style( 'wp-faq-schema-jquery-ui', WP_FAQ_SCHEMA_URL . 'css/jquery-ui.css', [], '2.0.0' );
- The topic ‘error when connecting the stylesheet’ is closed to new replies.