<?php
$share_type = isset($share_type) ? $share_type : 'list';
?>
<?php if ( calla_elated_core_plugin_installed() && calla_elated_options()->getOptionValue( 'enable_social_share' ) === 'yes' && calla_elated_options()->getOptionValue( 'enable_social_share_on_post' ) === 'yes' ) { ?>
    <div class="eltdf-blog-share">
        <?php echo calla_elated_get_social_share_html(array('type' => $share_type)); ?>
    </div>
<?php } ?>