I would like to insert the form automatically only in posts with the Events category

```
function contactform_for_every_post( $content ) {
  if ( is_singular('post') ) {
    $contactform = '[contact-form-7 id="109" title="Contact form 1"]';
    echo '<h3>Ich habe Interesse an Tobias</h3>';
    echo do_shortcode($contactform);
  }
}

add_action('x_before_the_content_end', 'contactform_for_every_post');

```