Single listings CSS path issue
-
Hi,
I had no CSS loading on single listings. I saw that stylesheet path had a double // instead of /, so it doesn’t load !
I found the piece of code to edit in plugin.php, line 109. Just removed the / before includes/css/wp-listings-single.css[…] and it works.
However, I don’t know if it’s a plugin issue or if it comes from my theme ? Any idea ?
BEFORE
/** Register single styles but don't enqueue them **/ wp_register_style('wp-listings-single', WP_LISTINGS_URL . '/includes/css/wp-listings-single.css', '', null, 'all');AFTER
/** Register single styles but don't enqueue them **/ wp_register_style('wp-listings-single', WP_LISTINGS_URL . 'includes/css/wp-listings-single.css', '', null, 'all');
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Single listings CSS path issue’ is closed to new replies.