<?php

/**
 * This file should be used to render each module instance.
 * You have access to two variables in this file: 
 * 
 * $module An instance of your module class.
 * $settings The module's settings.
 *
 * Example: 
 */

if( isset( $settings->_id ) && $settings->_id != '' ){
    echo do_shortcode( '[btnsx id="'. $settings->_id .'" text="'. $settings->_text .'" class="'. $settings->_class .'" link_target="'. $settings->_link_target .'" link_relationship="'. $settings->_link_relationship .'" link_type="'. $settings->_link_type .'" link_post="'. $settings->_link_post .'"  link_menu="'. $settings->_link_menu .'" link_menu_display="'. $settings->_link_menu_display .'" link="'. $settings->_link .'" link_edd_options="'. $settings->_link_edd_options .'" link_redirect_url="'. $settings->_link_redirect_url .'" link_woocommerce_options="'. $settings->_link_woocommerce_options .'" link_popup_maker_options="'. $settings->_link_popup_maker_options .'" link_frame_width="'. $settings->_link_frame_width .'" link_frame_height="'. $settings->_link_frame_height .'" link_email="'. $settings->_link_email .'" link_email_subject="'. $settings->_link_email_subject .'" link_skype_id="'. $settings->_link_skype_id .'" link_telephone="'. $settings->_link_telephone .'" link_sms_content="'. $settings->_link_sms_content .'" full_width="'. $settings->_full_width .'" wrap_center="'. $settings->_wrap_center .'"]' );
}

?>