Toms Welt


Tiny Contact Form

548 Kommentare | Kommentar schreiben

Ein ganz einfaches und kleines Kontaktformular.

Einfach in den Einstellungen die Empfänger-Email-Adresse angeben und den Shortcode (siehe readme.txt) an den gewünschten Stellen eintragen. Fertig.

Download bei WordPress

Tiny Contact Form 0.7

Contributors: Tom Braider
Tags: email, mail, contact, form
Donate link:
Requires at least: 2.8
Tested up to: 4.6
Stable tag: 0.7

Little form that allows site visitors to contact you by email.


Use [TINY-CONTACT-FORM] within any post or page.
Add the widget to your sidebar.


  1. unzip plugin directory into the /wp-content/plugins/ directory
  2. activate the plugin through the Plugins menu in WordPress
  3. check the settings (email, messages, style) in backend
  4. insert [TINY-CONTACT-FORM] in your page or/and add the widget to your sidebar
  5. without widgets use this code to insert the form in your sidebar.
<?php echo do_shortcode("[TINY-CONTACT-FORM]"); ?>
<?php global $tiny_contact_form; if (isset($tiny_contact_form)) echo $tiny_contact_form->showForm(); ?>

Frequently Asked Questions

How to style?

  • The complete form is surrounded by a div class="contactform". Tags in FORM: LABEL, INPUT and TEXTAREA.
  • To change the form style in your sidebar you can use .widget .contactform (plus tags above) in your template style.css.
  • Since v0.3 you can use the settings.

Need Help? Find Bug?

read and write comments on plugin page


  1.">" title="1. contact form on page" />
    1. contact form on page
  2.">" title="2. contact form widget in sidebar" />
    2. contact form widget in sidebar
  3.">" title="3. settings page" />
    3. settings page

Arbitrary section



  • new language: Turkish, thanks to Emrullah Tahir Ekmekçi
  • new language: Dutch, thanks to Erik Collou
  • new language: Arabic, thanks to qasem
  • language update: Italian, thanks to Alberto Scocco


  • new: multi widgets with different receivers
  • new: 5 additional fields (e.g. website, phone) possible
  • new: to hide form after submit is your choice now
  • new: alternative "question answer captcha"
  • new language: Swedish, thanks to Thomas
  • some bugfixes


  • new: set reciever and subject in shortcode [TINY-CONTACT-FORM to="abc@def.hi" suject="Hello"]
  • new: get subject from url like ?subject=Hello
  • now name and email of the writer are the default "From" data if non "From" given on options page


  • new translation: hebrew, thanks Sahar Ben-Attar


  • Bugfix: referer on pages with more post was wrong
  • Bugfix: PHP4 compatibility, "static" before function deleted
  • new translation: Danish, thanks to Jonas Thomsen


  • new: optional captcha
  • new: referer (page the mail was sent) in mail
  • new translation: France, thanks to Jef Blog


  • Bugfix: little change in stylesheet to realy hide the "hidden" fields


  • Bugfix: little change in spam check


  • new translation: Belorussian, thanks to Marcis Gasuns


  • new: custom widget title and submit button


  • new translation: hungarian, thanks MaXX


  • new translation: espanol, thanks Jeffrey


  • new translations: hr and italiano, thanks Alen


  • new: more user settings
  • new: language support (english, german)
  • change to wp_mail()


  • new: sidebar widget to easy add the form to the sidebar


  • first release
created by Readme Parser

Zu guter letzt ein Style-Sheet Beispiel. Wird ja oft genug danach gefragt.

/* field names */
 .contactform label { display:block; }
 /* fields */
 .contactform input { display:block; width:400px; border:1px blue solid; }
 /* message area */
 .contactform textarea { display:block; width:400px; height:200px; }
 /* ok message */
 .contactform_respons { display:block; color:green; font-weight:bold; border: 2px green solid; padding:10px; }
 /* error message */
 .contactform_error { display:block; color:red; font-weight:bold; border: 2px red solid; padding:10px; }
 /* smaller widget form */
 .widget .contactform { width:200px; }
 .widget .contactform input { width:98%; }
 .widget .contactform textarea { width:98%; height:100px; }

RSS-Feed 548 Kommentare

Seiten: « 1 2 3 ... 13 14 15 16 17 18 19 20 21 22 23 »
  1. Ian Ian sagt:


    Thanks for the great plugin.

    I have set this up so it is in my sidebar but I want to use it to collect:


    I don't want to collect subject or email.
    Which parts of the code do I need to comment out or change to do this?

    Hope you can help,
    Cheers, Ian

    • Tom Tom sagt:

      Hi Ian,
      to change the fields you have to change the code on some locations. It's not so easy because e.g. the email will used as emails "from".
      But you can rename "Subject" to "Telephone" in showForm():


      To show right error message change checkInput()
      $error[] = __('Subject', 'tcf-lang');
      $error[] = 'Telephone';
      But all fields, email too, are required.

  2. Ian Ian sagt:

    Thanks a lot for that Tom

  3. mili mili sagt:

    Hi Tom
    maybe you can help,,:)
    i put the code inside a post, but in the main page -index.php - where the post displayed i get the" [TINY-CONTACT-FORM] " instead of the form itself.
    i use
    < ?php $post_id = 16; $queried_post = get_post($post_id); ?>

    < ?php echo $queried_post->post_title; ?>

    < ?php echo $queried_post->post_content; ?>

    for displaying the post..
    you can see it here
    thanks for any help

  4. Ian Ian sagt:

    Hi again Tom,

    Thanks for your help last time. My TCF is working fine now and has got me my first lead, however, I now have another problem.

    I initially enabled captcha but the questions are too difficult u1F631.svgz

    Well, not difficult but a few of the non-technical people didn't know what / or * meant and one didn't know the answer when you divide something by 1 or 0 u1F631.svgz

    I turned captcha off but am being spammed to death by bots so really need to enable it again. Is there a way to make the captcha easier, like a simple '2+2' rather than '17/1'?


    • Tom Tom sagt:

      Hi Ian,
      my mother always said "don't speak wiht people who don't know * or /". Every 10 years old scoolboy can solve these arithmetical problems. u1F601.svgz
      But you can change line 544
      $operation = rand(1, 4);
      $operation = rand(1, 2);
      to only use + and -.

  5. Yusef Yusef sagt:

    How do you change the text color?

  6. kristina kristina sagt:

    hi.. i need to make your contact form a little narrow for my sidebar. mainly the content box. can you tell me how? kristina

    • Tom Tom sagt:

      hi kristina,
      you have to set the stylesheet for the form. See my sample above the comments, Copy the last 3 lines in your style.css or in the style field on the options page of the plugin. Play with the numbers if needed. u1F609.svgz

  7. BD BD sagt:

    I would like to be able to send the completed form to more then just one email...Is it possible?

  8. Nick Nick sagt:

    Bitte in der deutschen Sprachdatei "Email" zu "E-Mail" ändern. Danke!

  9. [...] Tiny contact form : handig omdat het beschikbaar is als widget [...]

Seiten: « 1 2 3 ... 13 14 15 16 17 18 19 20 21 22 23 »

Kommentar schreiben

Deine E-Mail-Adresse wird nicht veröffentlicht.

:mrgreen:  :D  :)  ;)  8-)  :O  :cry:  :(  :liebhab:  :-x  :-?  :P  :roll:  :arrow:  :schwitz:  :thumbsup:  :thumbup:  :thumbdown:  :facepalm:  :?:  :!:  :eis: