How to exclude on front page?
-
Hi!
I wouldn’t want to load styles, scripts and the$footer
in HTML, because there is no need for the stuff on my site (for the sake of performance).
I can dequeue styles and scripts infunctions.php
if ( is_front_page() || is_home() || is_archive() )
…
but have no idea how to overridefooter()
to get rid of the HTML at these cases. Could you help me?
May it be quite reasonable suggestion to add more filters (beside post/page IDs) in plugin’s options for further releases?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to exclude on front page?’ is closed to new replies.