/**
 * This function is called every time the page header is being rendered
 */
function fb_page_plugin()
{
    if (dd_fb_page_url() != '') {
        $fb_page_url = dd_fb_page_url();
        $fb_page_width = dd_fb_page_width();
        $fb_page_height = dd_fb_page_height();
        $fb_show_faces = dd_fb_show_faces();
        $hide_page_cover = dd_hide_page_cover();
        $show_page_posts = dd_show_page_posts();
        $use_small_header = dd_use_small_header();
        $adapt_container_width = dd_adapt_container_width();
        require_once osc_plugins_path() . 'fb_page_plugin/code.php';
    }
}
</label>
            <div class="controls">
                <input type="text" class="swidth" name="fb_page_width" value="<?php 
echo osc_esc_html(dd_fb_page_width());
?>
">
            </div>
          </div>
          <div class="control-group">
            <label class="control-label"><?php 
_e('Height', 'fb_page_plugin');
?>
</label>
            <div class="">
                <input type="text" class="swidth" name="fb_page_height" value="<?php 
echo osc_esc_html(dd_fb_page_height());
?>
">
            </div>
          </div>
          <div class="control-group">
            
            <div class="controls checkbox">
                <input type="checkbox" <?php 
echo dd_fb_show_faces() ? 'checked="true"' : '';
?>
 name="fb_show_faces" id="fb_show_faces" value="true" />
                <label><?php 
_e('Show Friends Faces', 'fb_page_plugin');
?>
</label>