echo get_template_directory_uri() . '/img/help.png'; ?> "></h3> <div class='help'> <?php fw_option_help(array('type' => 'standard', 'title' => __('Sidebar on Events pages', 'loc_canon'), 'content' => array(__('Choose to have a sidebar displayed on your Events pages. Make sure you are using the Default Events Template (Events > Settings > Display > Events Template).', 'loc_canon')))); fw_option_help(array('type' => 'standard', 'title' => __('Sidebar for Events pages', 'loc_canon'), 'content' => array(__('Choose which sidebar to use for your Events pages.', 'loc_canon')))); ?> </div> <table class='form-table'> <?php fw_option(array('type' => 'checkbox', 'title' => __('Sidebar on Events pages', 'loc_canon'), 'slug' => 'use_events_sidebar', 'options_name' => 'canon_options_post')); ?> <?php // get array of registered sidebars $registered_sidebars_array = array(); foreach ($GLOBALS['wp_registered_sidebars'] as $key => $value) { array_push($registered_sidebars_array, $value); } ?> <tr valign='top'> <th scope='row'><?php _e("Sidebar for Events pages", "loc_canon"); ?> </th>
<div class='help'> <?php fw_option_help(array('type' => 'standard', 'title' => __('Show breadcrumbs footer', 'loc_canon'), 'content' => array(__('Footer containing breadcrumbs.', 'loc_canon')))); fw_option_help(array('type' => 'standard', 'title' => __('Show widgetized footer', 'loc_canon'), 'content' => array(__('Footer containing four widgetized areas. Go to <i>Appearance > Widgets</i> to add widgets.', 'loc_canon')))); fw_option_help(array('type' => 'standard', 'title' => __('Show social footer', 'loc_canon'), 'content' => array(__('Footer containing footer text and social icons.', 'loc_canon')))); fw_option_help(array('type' => 'standard', 'title' => __('Footer text', 'loc_canon'), 'content' => array(__('Text to be displayed in the left side of the social footer area.', 'loc_canon')))); ?> </div> <table class='form-table'> <?php fw_option(array('type' => 'checkbox', 'title' => __('Show breadcrumbs footer', 'loc_canon'), 'slug' => 'show_pre_footer', 'options_name' => 'canon_options_frame')); fw_option(array('type' => 'checkbox', 'title' => __('Show widgetized footer', 'loc_canon'), 'slug' => 'show_main_footer', 'options_name' => 'canon_options_frame')); fw_option(array('type' => 'checkbox', 'title' => __('Show social footer', 'loc_canon'), 'slug' => 'show_post_footer', 'options_name' => 'canon_options_frame')); fw_option(array('type' => 'textarea', 'title' => __('Footer text', 'loc_canon'), 'slug' => 'footer_text', 'rows' => '5', 'options_name' => 'canon_options_frame')); ?> </table> <!-- BOTTOM OF PAGE --> <?php submit_button(); ?> </form> </div> <!-- end table container -->
echo get_template_directory_uri() . '/img/help.png'; ?> "></h3> <div class='help'> <?php fw_option_help(array('type' => 'standard', 'title' => __('Final call CSS', 'loc_canon'), 'content' => array(__('Put your own CSS code here. This CSS will be called last and overwrites all theme CSS.', 'loc_canon'), __('Final call CSS will be exported/imported along with all other theme settings when using the <i>Import/Export</i> option.', 'loc_canon')))); ?> </div> <table class='form-table'> <?php fw_option(array('type' => 'checkbox', 'title' => __('Use final call CSS', 'loc_canon'), 'slug' => 'use_final_call_css', 'options_name' => 'canon_options_advanced')); ?> <tr valign='top'> <th></th> <td colspan="2"> <style> <textarea id='final_call_css' name='canon_options_advanced[final_call_css]' rows='10' cols='100'><?php if (isset($canon_options_advanced['final_call_css'])) { echo htmlentities($canon_options_advanced['final_call_css']); } ?> </textarea> </style>
fw_option_help(array('type' => 'standard', 'title' => __('Move distance', 'loc_canon'), 'content' => array(__('How much the element will move (in pixels). Can be 0 if you do not want the element to move at all.', 'loc_canon')))); fw_option_help(array('type' => 'standard', 'title' => __('Animation duration', 'loc_canon'), 'content' => array(__('Duration of the menu animation.', 'loc_canon')))); fw_option_help(array('type' => 'standard', 'title' => __('Delay between elements', 'loc_canon'), 'content' => array(__('Delay in milliseconds between each menu item starts to appear.', 'loc_canon')))); ?> </div> <table class='form-table'> <?php fw_option(array('type' => 'select', 'title' => __('Animate menus', 'loc_canon'), 'slug' => 'anim_menus', 'select_options' => array('anim_menus_off' => __('Off', 'loc_canon'), '.primary_menu' => __('Primary menu', 'loc_canon'), '.secondary_menu' => __('Secondary menu', 'loc_canon'), '.nav' => __('Primary + Secondary menu', 'loc_canon')), 'options_name' => 'canon_options_appearance')); fw_option(array('type' => 'select', 'title' => __('Enter from', 'loc_canon'), 'slug' => 'anim_menus_enter', 'select_options' => array('bottom' => __('Top', 'loc_canon'), 'left' => __('Right', 'loc_canon'), 'top' => __('Bottom', 'loc_canon'), 'right' => __('Left', 'loc_canon')), 'options_name' => 'canon_options_appearance')); fw_option(array('type' => 'number', 'title' => __('Move distance', 'loc_canon'), 'slug' => 'anim_menus_move', 'min' => '0', 'max' => '10000', 'step' => '1', 'postfix' => '<i> (pixels)</i>', 'width_px' => '60', 'options_name' => 'canon_options_appearance')); fw_option(array('type' => 'number', 'title' => __('Animation duration', 'loc_canon'), 'slug' => 'anim_menus_duration', 'min' => '0', 'max' => '10000', 'step' => '10', 'postfix' => '<i> (milliseconds)</i>', 'width_px' => '60', 'options_name' => 'canon_options_appearance')); fw_option(array('type' => 'number', 'title' => __('Delay between elements', 'loc_canon'), 'slug' => 'anim_menus_delay', 'min' => '0', 'max' => '10000', 'step' => '10', 'postfix' => '<i> (milliseconds)</i>', 'width_px' => '60', 'options_name' => 'canon_options_appearance')); ?> </table> <?php submit_button(); ?> </form> </div> <!-- end table container -->
<div class='help'> <?php fw_option_help(array('type' => 'standard', 'title' => __('Suppress theme meta description', 'loc_canon'), 'content' => array(__('If using a 3rd party SEO plugin the theme meta description can sometimes interfere with the plugin meta description.', 'loc_canon'), __('Use this option to suppress the theme meta description and use the plugin meta description instead.', 'loc_canon')))); fw_option_help(array('type' => 'standard', 'title' => __('Suppress theme Open Graph data', 'loc_canon'), 'content' => array(__('Open Graph is a protocol used by Facebook to gather information about your site that can be utilized when sharing content on Facebook.', 'loc_canon'), __('If using a 3rd party SEO plugin the theme Open Graph data can sometimes interfere with the plugin Open Graph data.', 'loc_canon'), __('Use this option to suppress the theme Open Graph data and use the plugin Open Graph data instead.', 'loc_canon')))); fw_option_help(array('type' => 'standard', 'title' => __('Chrome/Safari @font-face fix', 'loc_canon'), 'content' => array(__('On some server configurations a known bug in Chrome and Safari can prevent the rendering of serverside @font-face fonts leaving a page blank except for images and other non-text media. If your site experiences this bug make sure you turn on the Chrome/Safari @font-face fix.', 'loc_canon')))); ?> </div> <table class='form-table'> <?php fw_option(array('type' => 'checkbox', 'title' => __('Suppress theme meta description', 'loc_canon'), 'slug' => 'hide_theme_meta_description', 'options_name' => 'canon_options')); fw_option(array('type' => 'checkbox', 'title' => __('Suppress theme Open Graph data', 'loc_canon'), 'slug' => 'hide_theme_og', 'options_name' => 'canon_options')); fw_option(array('type' => 'checkbox', 'title' => __('Chrome/Safari @font-face fix', 'loc_canon'), 'slug' => 'fontface_fix', 'options_name' => 'canon_options')); ?> </table> <?php submit_button(); ?> </form> </div> <!-- end table container -->