I'm looking for a good contact form plugin which only does the very basics, ie: providing a shortcode for adding to the page without adding javascript and CSS to the page (ie: not Contact Form 7).
Any suggestions?
I'm looking for a good contact form plugin which only does the very basics, ie: providing a shortcode for adding to the page without adding javascript and CSS to the page (ie: not Contact Form 7).
Any suggestions?
And just as i write this, I continue my chronic habit around here of answering my own question ...
http://www.techairlines.com/2010/01/...lugin-scripts/
http://themeshaper.com/forums/topic/...n-functionsphp
So there are ways to remove the scripts and CSS of Contact Form 7, hence solving the problem of it loading a bunch of junk which is unneeded on all but a single a page.
Has someone released a cleaned-up version of the plugin itself?
There have been times that I wished for a dead simple contact form plugin. I'm sure there would be interest in a "Contact Form 1" fork of the plugin.
"The future is already here—it's just not evenly distributed." - Gibson
I used to use the Contact Form ][ plugin by Chip Cuccio (he no longer develops or supports it -- though it continues to work just fine), which I have to say, was one of the easiest, best-performing contact form plugins I've found. Short code injection -- you can style it if you want, but you don't have to -- simply great.
I replaced it about 2 months ago with Gravity Forms, thinking that it would be a better solution -- to be honest, I'm really not sure it was. I get more spam now from the comment form (never got any beforehand) and the extra options aren't really in use right now.
It doesn't look like the plugin is available for download any more but I can upload the latest version I have for anyone who wants it to either use or use as a base.
Christina Warren http://www.christinawarren.com // Twitter: @film_girl
WP TurnKey - Turn-Key WordPress installation and maintenance services
WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins
Chip,
Sure thing!
http://cl.ly/8c30ee19da77897e22b3
Christina Warren http://www.christinawarren.com // Twitter: @film_girl
You know, I wonder if I could do a similar thing for NextGen Gallery, Lifestream, and other plugins that enqueue their style/scripts indiscriminately?
e.g. for NextGen, use a custom is_tree() function in functions.php, and then do like so:
Any reason it wouldn't work, or that I shouldn't?PHP Code:function deregister_NextGen_js() {
if ( is_tree( 'photos' ) ) {
wp_deregister_script( 'shutter' );
wp_deregister_script( 'ngg_script' );
}
}
add_action( 'wp_print_scripts', 'deregister_NextGen_js', 100 );
function deregister_NextGen_styles() {
if ( is_tree( 'photos' ) ) {
wp_deregister_style( 'NextGEN' );
wp_deregister_style( 'shutter' );
}
}
add_action( 'wp_print_styles', 'deregister_NextGen_styles', 100 );
(The only one I can think of would be adding NextGen Gallery images to other pages or posts via shortcode - I'd need to find some way to account for that occurrence.)
WP TurnKey - Turn-Key WordPress installation and maintenance services
WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins
Re: Lifestream
This sucks: Lifestream isn't enqueueing scripts and styles using wp_enqueue, but rather echoing them directly into the header.
*facepalm*
WP TurnKey - Turn-Key WordPress installation and maintenance services
WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins
I never really saw the point in enqueuing stuff when I first started writing plugins/themes. This type of problem sure does demonstrate why you should always do it though.