Widgets” in your admin panel and drag the Mortgage Full Page Widget to your sidebar.
2. Inside pages and posts, to display in a page or post use the shortcode “[cs_mortgage_widget]”.
== Customization ==
To customize the default values and color scheme of this widget please login to your account at CalculateStuff.com.
 ‘cs4973widget’, ‘description’ => __( “Display your CalculateStuff.com calculator in your sidebar.”) );
		    parent::__construct(‘cs4973widget’, __(‘Mortgage Full Page Widget’), $widget_ops);
    }    
    /** @see WP_Widget::update */
    public function update($new_instance, $old_instance) {
       $instance = $old_instance;
       return $instance;
    }
    /** @see WP_Widget::form */
    public function form($instance) {
    }
    /** @see WP_Widget::widget */
    public function widget($args, $instance) {
      extract($args);
      echo $before_widget;
        ?>
              
  
  
        <?php
      echo $after_widget;
    }
} // class
/* Function that registers our widget. */
function register_CS4973_widget() {
  register_widget( 'CS4973Widget' );
}
/* Add our function to the widgets_init hook. */
add_action( 'widgets_init', 'register_CS4973_widget' );
//shortcode for in page/post calculator
function cs_4973_shortcodes_init() {
  function cs_display_4973($atts = [], $content = null) {
    $calculator = '
  
  
‘;
 
    return $calculator;
  }
  add_shortcode(‘cs_mortgage_widget’, ‘cs_display_4973’);
}
add_action(‘init’, ‘cs_4973_shortcodes_init’);
?>