public static function get_instance()
 {
     if (!self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }
    function field_add_card_to_content()
    {
        $plugin = WPLinkedInPlugin::get_instance();
        $post_types = $plugin->get_post_types();
        $wp_post_types = get_post_types(array('public' => true), 'objects');
        ?>
		<p><?php 
        foreach ($wp_post_types as $name => $post_type) {
            ?>
		<label style="white-space:nowrap;"><input type="checkbox" name="wp-linkedin_add_card_to_content[]"
			value="<?php 
            echo $name;
            ?>
" <?php 
            checked(in_array($name, $post_types));
            ?>
 /><?php 
            echo $post_type->labels->name;
            ?>
</label>&nbsp;
		<?php 
        }
        ?>
</p>
		<p><em><?php 
        _e('Check the content types where you want your LinkedIn card inserted.', 'wp-linkedin');
        ?>
</em></p><?php 
    }