| Post |
|
Guest
| Micah 11:34 pm April 4, 2008
| |
|
|
Please replace the ??? with your data!
[desc]: I've used a few contact forms trying to find the perfect one and this one seems pretty awesome. The only thing I'm curious to know is if there's a way to prevent the contact form JS and CSS from appearing on EVERY page. I want it to appear ONLY on pages that have the contact form! The reason is because having to load all that CSS and JS on every page slows down my load times. Thanks!
|
|
|
Admin
| Oliver Munich, Germany posts 6094 8:23 am April 5, 2008
| |
|
|
Global Settings->Enabling cforms for specific pages
|
|
|
|
|
Guest
| Happy 8:09 pm April 23, 2008
| |
|
|
The problem with this solution is that, when you've got Permalinks enabled and turn CFORMS on only for specific pages the corresponding css won't be loaded
|
|
|
Admin
| Oliver Munich, Germany posts 6094 9:17 pm April 23, 2008
| |
|
|
You're right, both CSS and JS (well, the whole cforms header) should then only be loaded on the pages with the given IDs – permalinks or not should not matter, because the decision is based on get_queried_object().
|
|
|
|