public static function instance()
 {
     if (!self::$instance) {
         self::$instance = new self();
         self::$instance->get_options();
         self::$instance->add_hooks();
     }
 }
<?php

get_header();
$options = get_option('smartcat_team_options');
$plugin = new SmartcatTeamPlugin();
?>

<div class="sc-single-wrapper">

    <?php 
while (have_posts()) {
    the_post();
    ?>
        <div class="sc_team_single_member <?php 
    echo $options['single_template'];
    ?>
">

            <div class="sc_single_side" itemscope itemtype="http://schema.org/Person">

                <div class="inner">
                    <?php 
    echo the_post_thumbnail('medium');
    ?>
                    <h2 class="name" itemprop="name"><?php 
    echo the_title();
    ?>
</h2>
                    <h3 class="title" itemprop="jobtitle"><?php 
    echo get_post_meta(get_the_ID(), 'team_member_title', true);
    ?>
Example #3
0
 Description: Display your team members in a very attractive way as a widget or page with the shortcode [our-team]
 Version: 2.42
 Author: SmartCat
 Author URI: https://smartcatdesign.net
 License: GPL v2
* 
* @author          Bilal Hassan <*****@*****.**>
* @copyright       Smartcat Design <http://smartcatdesign.net>
* 
*/
if (!defined('ABSPATH')) {
    die;
}
if (!defined('SC_TEAM_PATH')) {
    define('SC_TEAM_PATH', plugin_dir_path(__FILE__));
}
if (!defined('SC_TEAM_URL')) {
    define('SC_TEAM_URL', plugin_dir_url(__FILE__));
}
require_once plugin_dir_path(__FILE__) . 'inc/class/class.smartcat-team.php';
register_activation_hook(__FILE__, array('SmartcatTeamPlugin', 'activate'));
register_deactivation_hook(__FILE__, array('SmartcatTeamPlugin', 'deactivate'));
SmartcatTeamPlugin::instance();
require_once SC_TEAM_PATH . 'admin/class/class-tgm-plugin-activation.php';
add_action('tgmpa_register', 'sc_team_register_required_plugin');
function sc_team_register_required_plugin()
{
    $plugins = array(array('name' => 'Reviews & Testimonials Showcase', 'slug' => 'testimonials-reviews-showcase', 'required' => false));
    $config = array('id' => 'tgmpa', 'default_path' => '', 'menu' => 'tgmpa-install-plugins', 'parent_slug' => 'themes.php', 'capability' => 'edit_theme_options', 'has_notices' => false, 'dismissable' => true, 'dismiss_msg' => '', 'is_automatic' => false, 'message' => '');
    tgmpa($plugins, $config);
}