Thank you for fix. It literally reduced query on each page. On each page it was doing _pad_term_counts which was returning 18k rows and slowing down page. I found through query monitor that it runs in wp_footer (wp_print_footer_scripts) script. This code helps to remove it
-
This reply was modified 6 years, 7 months ago by kkataria.