I know there is an option to disable the CSS but I'd prefer to use it, however for most projects I only need PageNavi on a few templates. Would it be possible to have wp-pagenavi dynamically enqueue the stylesheet only when wp_pagenavi() is called?
I'm just trying to squeeze every drop of optimization for my projects, and before I do any manual overrides I thought I'd ask.
I know there is an option to disable the CSS but I'd prefer to use it, however for most projects I only need PageNavi on a few templates. Would it be possible to have wp-pagenavi dynamically enqueue the stylesheet only when
wp_pagenavi()
is called?I'm just trying to squeeze every drop of optimization for my projects, and before I do any manual overrides I thought I'd ask.