403 error loading stylesheet
-
I’m getting a 403 error loading my style file:
https://stagingpage.shop.mysite.com/wp-content/plugins/micropaymentsPaywall/assets/css/paywall-style.min.css?ver=6.2.2 403
My folder structure is as follows:/micropaymentsPaywall
|-- /assets
| |-- /css
| |-- paywall-style.css
|-- micropaymentsPaywall.php
and here is my code:function trelismpw_enqueue_styles() { wp_enqueue_style( 'paywall-style', esc_url(plugin_dir_url(__FILE__) . 'assets/css/paywall-style.css') ); } add_action( 'wp_enqueue_scripts', 'trelismpw_enqueue_styles' );
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘403 error loading stylesheet’ is closed to new replies.