Issue with loading default.css in LiquidWeb Cloudsites Test Site
-
Plugin has a 503 error issue in LiquidWeb Cloudsites test site. File default.css is loaded with actual URL while the site itself still using test site URL.
My quick solution for you who have same issue is by changing a an URL inside function genesis_author_pro_load_default_styles(). Here’s the complete function that I’m using now:
/** * Loads the default style sheets. * * @access public * @return void */ function genesis_author_pro_load_default_styles() { if( apply_filters( 'genesis_author_pro_load_default_styles', true ) ) { wp_register_style( 'genesis_author_pro', plugins_url( '../resources/', __FILE__ ) . 'css/default.css', false, '1.0.0' ); wp_enqueue_style( 'genesis_author_pro' ); } }
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Issue with loading default.css in LiquidWeb Cloudsites Test Site’ is closed to new replies.