WordPress.org

Support

Support » Themes and Templates » Page and custom template, but not css?

Page and custom template, but not css?

  • Bentrem

    @bentrem

    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!* …

  • The topic ‘Page and custom template, but not css?’ is closed to new replies.
Skip to toolbar