title: Wordpress Shortcode Issus v2
body: <p>I am trying to create a 'Contact Form' shortcode to use in WP. All works fine apart from getting to load on the WordPress site. </p>
  
  <p><a href="https://i.stack.imgur.com/Y6xck.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y6xck.png" alt="enter image description here"></a></p>
  
  <p>When I copy the [contact_form] into Page or Post and Preview on a Page it prints just text. I did the code right.</p>
  
  <pre><code>&lt;?php
  
  class Settings {
        // Conact Form shortcode
  
      public function allb_contact_form( $atts, $content = null  ) {
            //[contact_form]
            //get the attribute_escape
            $atts = shortcode_atts(
              array(),
              $atts,
              'contact_form'
            );
            //return HTML
            ob_start();
            include '/lib/inc/thmeplates/contact-form.php';
            return ob_get_clean();
  
          add_shortcode( 'contact_form', 'allb_contact_form' );
      }
  
  } new Settings();
  </code></pre>