'right', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' )); register_sidebar(array( 'name' => 'footer', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '
', 'after_title' => '
' )); } function validate_gravatar($user_id) { // Mine is just for user_id, you can work out dealing with emails as well for yourself. $user = get_userdata($user_id); // Craft a potential url and test its headers $email = $user->user_email; $hash = md5($email); $uri = 'http://www.gravatar.com/avatar/' . $hash . '?d=identicon&r=any&size=80'; $headers = wp_get_http_headers($uri); // Check the headers if (!is_array($headers)) : $has_valid_avatar = FALSE; elseif (isset($headers["content-disposition"]) ) : $has_valid_avatar = TRUE; else : $has_valid_avatar = FALSE; endif; return $has_valid_gravatar; } function blex_theme_AddScripts() { wp_enqueue_script('jquery'); } function blex_theme_Page() { if($_POST['xBlexHidd']=="true") { $xPostArr[0] = $_POST['xBlexTopBoxes']; $xPostArr[1] = $_POST['xBlexTopBoxesNR']; $xPostArr[2] = $_POST['xBlexCenterContent']; $xPostArr[3] = $_POST['xBlexCenterContentNR']; $xPostArr[4] = $_POST['xBlexLogoUrl']; $xPostArr[5] = $_POST['xBlexTwitterAccount']; $xPostArr[6] = $_POST['xBlexFeedBurnerFeed']; $xPostArr[7] = $_POST['xBlexFeedBurnerID']; update_option('blex_theme_Values', serialize($xPostArr)); } $xDBArr = unserialize(get_option('blex_theme_Values')); ?>

Blex Theme Options


Top Boxes Category:

- Number of posts to show:

Center Content Category:

- Number of posts to show:

Logo URL:

Twitter Account:

FeedBurner Feed Address:

FeedBurner ID:

(email subscriptions)