only load a script in the front page
-
Hello,
In order to speed the rest of the site, I’d like to load several scripts only in the front page.
I though in make a traditional html page as a front page, then linking to the Blog itself to do that, but since I need to display the lastest posts right there, it’s no a good idea.So my question is : can I load in the header several scripts only in the front-page, using some conditional tag ?
By scripts I mean both libraries and the scripts the library will need to display these or that.
Two things so:
1- how to load libraries only in the front page header ?
2- how to load their scripts only in the front page header ?Well, that’s all folks ! Thanks for any tip.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘only load a script in the front page’ is closed to new replies.