Hi Cody
I’ll try to optimize this in the next update. Until then you could try adding this to your ‘functions.php’ file:
if ( !is_admin( ) ) {
wp_dequeue_style( 'cpk_wpcsv_styles' );
}
Best wishes
Paul
Thanks Paul
Unfortunately that didn’t work.
Just to test it, I did wp_dequeue_style into the main wp-csv file and that works, but not when I added it to my function file.
I also tried adding it to the main enqueue script section of my functions file but no joy still 🙁
Sorry about that. You’d have to run it inside the correct filter hook, but since you already got it working just edit wp-csv.php again. On next update your mod will be replaced by my fix.
Best wishes
Paul
Thanks, that be great. I’ll ask my manager to send over a donation for the end of the month 🙂
Hi Cody
Just testing now, and it seems like the stylesheet only appears if you have ‘shortcode enabled’ ticked or you’re logged in as admin.
If you have that option ticked, then that stylesheet is loaded to make the frontend export form look acceptable.
Best wishes
Paul