$_POST['logo-url'], 'option_activate' => $_POST['custom_logo'])); $social_links = $_POST['fb-url'] . ', ' . $_POST['tw-url'] . ', ' . $_POST['gp-url'] . ', ' . $_POST['in-url']; $update['social_links'] = broad_update_option_data('social_links', array('option_value' => $social_links, 'option_activate' => $_POST['social_links'])); $update['navigation_bar'] = broad_update_option_data('navigation_bar', array('option_activate' => $_POST['navigation_bar'])); $update['featured_posts'] = broad_update_option_data('featured_posts', array('option_activate' => $_POST['featured_posts'])); $msg = false; if ( in_array( 1, $update, true ) ) { $saved_notice = '
Well done! Successfully saved changes.
'; $msg = 1; } if ( in_array( 0, $update, true ) && $msg !== 1) { $unsaved_notice = '
Oh! You didn\'t make any changes.
'; $msg = 0; } if ( in_array( false, $update ) && $msg === false ) { $error_notice = '
Error occurred! Failed to save changes.
'; } } elseif (isset($_POST['save_body_options']) && $_POST['save_body_options'] == "save body options") { $adverts = $_POST['advert1-url'] . ', ' . $_POST['advert2-url']; $update['adverts'] = broad_update_option_data('adverts', array('option_value' => $adverts, 'option_activate' => $_POST['custom_adverts'])); $update['post_layout'] = broad_update_option_data('post_layout', array('option_activate' => $_POST['post_layout'])); $update['sidebar'] = broad_update_option_data('sidebar', array('option_activate' => $_POST['sidebar'])); $msg = false; if ( in_array( 1, $update, true ) ) { $saved_notice = '
Well done! Successfully saved changes.
'; $msg = 1; } if ( in_array( 0, $update, true ) && $msg !== 1) { $unsaved_notice = '
Oh! You didn\'t make any changes.
'; $msg = 0; } if ( in_array( false, $update, true ) && $msg === false ) { $error_notice = '
Error occurred! Failed to save changes.
'; } } elseif (isset($_POST['save_footer_options']) && $_POST['save_footer_options'] == "save footer options") { $update['footer_background_image'] = broad_update_option_data('footer_background_image', array('option_value' => $_POST['footer-background-image-url'], 'option_activate' => $_POST['custom_footer_background_image'])); var_dump($update); $msg = false; if ( in_array( 1, $update, true ) ) { $saved_notice = '
Well done! Successfully saved changes.
'; $msg = 1; } if ( in_array( 0, $update, true ) && $msg !== 1) { $unsaved_notice = '
Oh! You didn\'t make any changes.
'; $msg = 0; } if ( in_array( false, $update ) && $msg === false ) { $error_notice = '
Error occurred! Failed to save changes.
'; } } global $wpdb; global $pagenow; $current_admin_color = get_user_option('admin_color'); switch ( $current_admin_color ) { case 'fresh' : $d_admin_color = array('b' => '333333', 'c' => 'ffffff', 'lb' => '0073aa', 'lc' => 'ffffff'); break; case 'light' : $d_admin_color = array('b' => 'e5e5e5', 'c' => '000000', 'lb' => '999999', 'lc' => 'ffffff'); break; case 'blue' : $d_admin_color = array('b' => '52a000', 'c' => 'ffffff', 'lb' => '096484', 'lc' => 'ffffff'); break; case 'coffee' : $d_admin_color = array('b' => '59524c', 'c' => 'ffffff', 'lb' => 'c7a589', 'lc' => 'ffffff'); break; case 'ectoplasm' : $d_admin_color = array('b' => '523f6d', 'c' => 'ffffff', 'lb' => 'a3b745', 'lc' => 'ffffff'); break; case 'midnight' : $d_admin_color = array('b' => '363b3f', 'c' => 'ffffff', 'lb' => 'e14d43', 'lc' => 'ffffff'); break; case 'ocean' : $d_admin_color = array('b' => '738E96', 'c' => 'ffffff', 'lb' => 'aa9d88', 'lc' => 'ffffff'); break; case 'sunrise' : $d_admin_color = array('b' => 'cf4944', 'c' => 'ffffff', 'lb' => 'dd823b', 'lc' => 'ffffff'); break; default : $d_admin_color = array('b' => '333333', 'c' => 'ffffff', 'lb' => '0073aa', 'lc' => 'ffffff'); break; } ?>

Panel

Tabs

option_value); $switchon = 'value="1" checked="checked" class="on_off onoffchecked"'; $switchoff = 'value="0" class="on_off"'; ?> Make sure you always save changes before switching to other tabs
option_activate == 1) ? $switchon : $switchoff; ?> type="checkbox">
Want to use a custom image as logo? (Default: On)
Enter the URL to your logo image.
option_activate == 1) ? $switchon : $switchoff; ?> type="checkbox">  
Want to use social links in header? (Default: On)
Enter the URL to your facebook page/group/profile.
Enter the URL to your twitter profile.
Enter the URL to your google+ profile.
Enter the URL to your linkedin profile.
option_activate == 1) ? $switchon : $switchoff; ?> type="checkbox">  
Want to use navigation bar? (Default: On)
option_activate == 1) ? $switchon : $switchoff; ?> type="checkbox">  
Want to use featured posts slider? (Default: Off). Uses your sticky posts as featured posts.
option_value = unserialize($post_layout->option_value); $post_layout_content = ''; foreach ($post_layout->option_value as $post_layout_key => $post_layout_value) { if ($post_layout_key == $post_layout->option_activate) { $selected = 'selected="selected"'; } else { $selected = ''; } $post_layout_content .= ''; } list($advert1_url, $advert2_url) = explode(', ', $adverts->option_value); $switchon = 'value="1" checked="checked" class="on_off onoffchecked"'; $switchoff = 'value="0" class="on_off"'; ?> Make sure you always save changes before switching to other tabs
option_activate == 1) ? $switchon : $switchoff; ?> type="checkbox">  
Want to add custom images for advert? (Default: On) Allows 2 advert graphics not text
Enter the URL to your advert1 image.
Enter the URL to your advert2 image.
Select layout to use Default is LIST.
option_activate == 1) ? $switchon : $switchoff; ?> type="checkbox">  
Want to use sidebar? (Default: On)
Make sure you always save changes before switching to other tabs
option_activate == 1) ? $switchon : $switchoff; ?> type="checkbox">  
Want to use a custom image as footer background? (Default: Off)
Enter the URL to your footer background image.
display('Tags') ); $tags = explode( ', ', $tags ); ?>

Features Credits Docs

Broad comes with many great features.

$tag ) : ?>
S/N Features
S/N Features

And many more...

display('Author'); $author_uri = wp_get_theme()->display('AuthorURI'); ?>

Features Credits Docs

Broad is developed and maintained by

Broad is built with HTML5, CSS, BOOTSTRAP, GLYPHICONS, JQUERY, PHP.

display('Description'); $temp_php = '404,archive,comments,content,content-none,content-page,content-search,footer,functions,header,index,page,search,searchform,sidebar,single'; $temp_php = explode( ',', $temp_php ); for ( $i = 0; $i < count($temp_php); $i++ ) { $php[] = $temp_php[$i] . '.php'; } $temp = implode( ', ', $php ) . ' and style.css'; ?>

Features Credits Docs

About Broad

Broad theme includes the following template files:

Now enjoy!

display('Name'); $version = wp_get_theme()->display('Version'); ?>

Welcome to

Thanks for installing! . We hope you enjoy using it.

Settings Page


Go to Broad Settings page
display('ThemeURI'); $author_uri = wp_get_theme()->display('AuthorURI'); ?>

Thanks for using Broad!

If you have any problem using Broad or you want to support, kindly contact us:

Theme URI

Visit

Author

  • Github profile
  • (+234) 8130068762
  • chukwudinwakpaka@hotmail.com
  • nwakpakachukwudi@gmail.com
  • Facebook Profile