WordPress.org

Ready to get started?Download WordPress

Forums

Page and custom template, but not css? (1 post)

  1. Ben Tremblay
    Member
    Posted 5 years ago #

    Could be I'm overlooking something real basic, but:

    I have a full site that's working very nicely, thanks kindly to everyone.

    And I have a small handful of pages that use a smaller set of templates ... very nice, thanks again.

    But in this case ... 1 or maybe 2 ... I want to load different CSS. And JS too. That means having head load a different set.

    I know I could do it with a conditional ... but that conditional would run every single time the loop executed.

    Only thing I can think of is hacking core to introduce a clone of get_header that would *eeeeeeeeeewwwwwwwww!* ...

Topic Closed

This topic has been closed to new replies.

About this Topic