'
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); function cat_display() { // Display Category list on "Brightness Settings" Page $cat = wp_dropdown_categories('orderby=id&order=ASC&hide_empty=0&echo=0'); $cat = str_replace("\n", "", $cat); $cat = str_replace("\t", "", $cat); $cat = str_replace("", "", $cat); $cat = explode("_", $cat); foreach($cat as $category) { $category = explode("-", $category); $cat_number = $category[0]; $cat_name = $category[1]; if (get_option("cat$cat_number") == "yes") { $select = ' selected="selected"'; } if (get_option("cat$cat_number") == "") { $selected = ' selected="selected"'; } if (get_option("cat$cat_number") == "no") { $selected = ' selected="selected"'; } echo "
"; echo "

$cat_name - Display this category as a news section?

"; echo ""; echo "
"; } // End Foreach } function featured_cat() { // Display Category list on "Brightness Settings" Page $fcat = wp_dropdown_categories('orderby=id&order=ASC&hide_empty=0&echo=0'); $fcat = str_replace("\n", "", $fcat); $fcat = str_replace("\t", "", $fcat); $fcat = str_replace("", "", $fcat); echo ""; } function brightness(){ // Updates "Brightness Settings" Page Form if(isset($_POST['submitted']) && $_POST['submitted'] == "yes"){ //Get form data $catname = $_POST['catname']; $catnamed = $_POST['catnamed']; $catnamet = $_POST['catnamet']; $eadv = $_POST['eadv']; $ens = $_POST['ens']; $efeatured = $_POST['efeatured']; $featuredcat = $_POST['featuredcat']; $etext = $_POST['etext']; $redtext = stripslashes($_POST['redtext']); $small_ad = stripslashes($_POST['small_ad']); $big_ad = stripslashes($_POST['big_ad']); update_option("etext", $etext); update_option("redtext", $redtext); update_option("featuredcat", $featuredcat); update_option("efeatured", $efeatured); update_option("ens", $ens); update_option("eadv", $eadv); update_option("catname", $catname); update_option("catnamed", $catnamed); update_option("catnamet", $catnamet); update_option("small_ad", $small_ad); update_option("big_ad", $big_ad); $cat = wp_dropdown_categories('orderby=id&order=ASC&hide_empty=0&echo=0'); $cat = str_replace("\n", "", $cat); $cat = str_replace("\t", "", $cat); $cat = str_replace("", "", $cat); $cat = explode("_", $cat); foreach($cat as $category) { $category = explode("-", $category); $cat_number = $category[0]; $cat_name = $category[1]; update_option("cat$cat_number", $_POST["cat$cat_number"]); } //foreach echo "

Your settings have been saved.

"; } ?>

Blog Title (logo):

You can enable/disable red section from your header logo, you can change it build a custom title.

Title Construction:

Display red text?

Red Text (default: "News"):

" />

Featured Category:

Posts published in featured category will be displayed, one by one, on the top section from homepage.
You can enable/disable featured section, you can choose a certain category to be featured and you can change it any time.

style="display: none;">
Enable / Disable Featured Section:

Featured section is currently d.

Featured Category:

Advertising Codes:

Brightness is coming with two advertising sposts: 300px / 250px and 160px / 600px.
First is displayed on featured section from homepage, on single posts and blog archive. The second is displayed under de homepage sidebar.

style="display: none;"> style="display: none;">
Enable / Disable Advertising Spaces:

Advertising Spaces are currently d.

120px / 600px Advertisment

Displayed on homepage sidebar.

300px / 250px Advertisment

Displayed on Featured Section (homepage), Single Post and Archive Sidebar.

News Sections:

News Sections are items displayed under latest posts on homepage (see image). Select "Yes" or "No" under each category if you want it to be displayed as a news section or not.

style="display: none;">
Enable / Disable News Sections:

News Sections are currently d.

Displayed Categories:

Donate! Help DailyWP.com!

Brightness Theme is FREE! Help DailyWP.com to stay alive and provide more and more free stuff!

.category-select { display: block; background: #ffffff; padding: 10px; margin-bottom: 10px; } .category-select h3 { margin: 0px 0px 5px 0px; color: #555555; } .category-select h3 strong { font-size: 18px; color: #000000; } .category-select .option { width: 60px; padding: 3px; background: #EAF3FA; float: left; display: block; margin-right: 6px; } "; } ?>