echo "true"; } else { echo "false"; } ?> " data-hide-cover="<?php if (dd_hide_page_cover() == "false") { echo "false"; } else { echo "true"; } ?> " data-show-facepile="<?php if (dd_fb_show_faces() == "true") { echo "true"; } else { echo "false"; } ?> " data-show-posts="<?php if (dd_show_page_posts() == "true") { echo "true"; } else { echo "false"; } ?> "> <div class="fb-xfbml-parse-ignore"><blockquote cite="<?php
/** * 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 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> </div> </div> <div class="control-group"> <div class="controls checkbox"> <input type="checkbox" <?php echo dd_hide_page_cover() ? 'checked="false"' : ''; ?>