Quote:
Yeah..... it doesnt really have any pretty pictures or funny punchlines so..... you can have it.
heheh your head ready to go boom.
How about this...
:
<?php
// We need a textdomian for localization support,
// with language files in the /lang folder
load_theme_textdomain( 'simple-static', TEMPLATEPATH . '/lang' );
// This is the default content width, 600 px
if ( ! isset( $content_width ) )
$content_width = 600;
// Adding theme support for post thumbnails
add_theme_support( 'post-thumbnails' );
// Adding theme support for custom backgrounds
add_custom_background();
// Telling Wordpress to use editor-style.css for the visual editor
add_editor_style();
// Adding feed links to header
add_theme_support( 'automatic-feed-links' );
// Custom Header
// -------------
// Adding theme support for custom headers
add_custom_image_header( '', 'silverValleyDesign_admin_header_style' );
// Remove Header text and null text color
define( 'NO_HEADER_TEXT', true );
define( 'HEADER_TEXTCOLOR', '');
// Default header image, using 'stylesheet_directory'
// child themes well work
define( 'HEADER_IMAGE', get_bloginfo( 'stylesheet_directory' ). '/img/default-header.jpg'
// Header width and height, 920X200 px
define( 'HEADER_IMAGE_WIDTH', 920 );
deifne( 'HEADER_IMAGE_HEIGHT', 200 );
// Adding post thumbnail support (same size as custom header images)
set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );
// Menu Area
// ---------
// Adding and definging the Menu area found in the header.php file
register_nav_menus( array(
'top-menu' => __( 'Top Menu', 'SilverValleyDesign'),
'bottom-menu' => __( 'Bottom Menu', 'SilverValleyDesign')
) );
// Widget Areas
// ------------
// Widget area used on the front page, on top of the header image
register_sidebar( array(
'name' => __( 'Header Text Blurb', 'SilverValleyDesign'),
'id' => 'front-page-right-column',
'description' => __( 'The blurb on top of the custom header'),
'before_widget' => '<div id="header-blurb">'
'after_widget' => '</div>'
'before_title' => '<h3 class="widget-title">'
'after_title => '</h3>'
) );
// Right colum widget area on the news/Press category
register_sidebar( array(
'name' => __( 'News and press right coloumn', 'SilverValleyDesign' ),
'id' => 'news-press-right-column',
'description' => __( 'The right column on the mews/press categories', 'SilverValleyDesign'),
'before_widget' => '<li id"%1$s" class="widget news %2$s">',
'after_widget' => '</li>
'before_title' => '<h2 class="widgettitle">',
'afetr_title' => '</h2>',
) );
// Right column widget area on pages
register_sidebar( array(
'name' => __( 'Pages Column', 'SilverValleyDesign' ),
'id' => 'pages-right-column',
'description' => __( 'The right column on pages', 'SilverValleyDesign'),
'before_widget' => '<li id"%1$s" class="widget news %2$s">',
'after_widget' => '</li>
'before_title' => '<h2 class="widgettitle">',
'afetr_title' => '</h2>',
) );
// Left column in the footer
register_sidebar( array(
'name' => __( 'Footer Left Side', 'SilverValleyDesign' ),
'id' => 'footer-left-side',
'description' => __( 'The left hand side of the footer', 'SilverValleyDesign'),
'before_widget' => '<li id"%1$s" class="widget news %2$s">',
'after_widget' => '</li>
'before_title' => '<h2 class="widgettitle">',
'afetr_title' => '</h2>',
) );
// Right colimn in the footer
register_sidebar( array(
'name' => __( 'Footer Right Column', 'SilverValleyDesign' ),
'id' => 'footer-right-column',
'description' => __( 'The right hand column in the footer', 'SilverValleyDesign'),
'before_widget' => '<li id"%1$s" class="widget news %2$s">',
'after_widget' => '</li>
'before_title' => '<h2 class="widgettitle">',
'afetr_title' => '</h2>',
) );
// Right column fall back widget area
register_sidebar( array(
'name' => __( 'Right Column Fallback', 'SilverValleyDesign' ),
'id' => 'right-column-fallback',
'description' => __( 'The right column fallback area for those non-posts and pages.', 'SilverValleyDesign'),
'before_widget' => '<li id"%1$s" class="widget news %2$s">',
'after_widget' => '</li>
'before_title' => '<h2 class="widgettitle">',
'afetr_title' => '</h2>',
) );
?> 'name' => __( 'News and press right coloumn', 'SilverValleyDesign' ),
'id' => 'news-press-right-column',
'description' => __( 'The right column on the mews/press categories', 'SilverValleyDesign'),
'before_widget' => '<li id"%1$s" class="widget news %2$s">',
'after_widget' => '</li>
'before_title' => '<h2 class="widgettitle">',
'afetr_title' => '</h2>',
) );
most coding is very logical... most times
Oh I know how to do it, I just choose not to because it doesnt have pretty pictures. Yish. I'm glad you're having fun tho
Yeah..... it doesnt really have any pretty pictures or funny punchlines so..... you can have it.
heheh your head ready to go boom.
How about this...
:
<?php
// We need a textdomian for localization support,
// with language files in the /lang folder
load_theme_textdomain( 'simple-static', TEMPLATEPATH . '/lang' );
// This is the default content width, 600 px
if ( ! isset( $content_width ) )
$content_width = 600;
// Adding theme support for post thumbnails
add_theme_support( 'post-thumbnails' );
// Adding theme support for custom backgrounds
add_custom_background();
// Telling Wordpress to use editor-style.css for the visual editor
add_editor_style();
// Adding feed links to header
add_theme_support( 'automatic-feed-links' );
// Custom Header
// -------------
// Adding theme support for custom headers
add_custom_image_header( '', 'silverValleyDesign_admin_header_style' );
// Remove Header text and null text color
define( 'NO_HEADER_TEXT', true );
define( 'HEADER_TEXTCOLOR', '');
// Default header image, using 'stylesheet_directory'
// child themes well work
define( 'HEADER_IMAGE', get_bloginfo( 'stylesheet_directory' ). '/img/default-header.jpg'
// Header width and height, 920X200 px
define( 'HEADER_IMAGE_WIDTH', 920 );
deifne( 'HEADER_IMAGE_HEIGHT', 200 );
// Adding post thumbnail support (same size as custom header images)
set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );
// Menu Area
// ---------
// Adding and definging the Menu area found in the header.php file
register_nav_menus( array(
'top-menu' => __( 'Top Menu', 'SilverValleyDesign'),
'bottom-menu' => __( 'Bottom Menu', 'SilverValleyDesign')
) );
// Widget Areas
// ------------
// Widget area used on the front page, on top of the header image
register_sidebar( array(
'name' => __( 'Header Text Blurb', 'SilverValleyDesign'),
'id' => 'front-page-right-column',
'description' => __( 'The blurb on top of the custom header'),
'before_widget' => '<div id="header-blurb">'
'after_widget' => '</div>'
'before_title' => '<h3 class="widget-title">'
'after_title => '</h3>'
) );
// Right colum widget area on the news/Press category
register_sidebar( array(
'name' => __( 'News and press right coloumn', 'SilverValleyDesign' ),
'id' => 'news-press-right-column',
'description' => __( 'The right column on the mews/press categories', 'SilverValleyDesign'),
'before_widget' => '<li id"%1$s" class="widget news %2$s">',
'after_widget' => '</li>
'before_title' => '<h2 class="widgettitle">',
'afetr_title' => '</h2>',
) );
// Right column widget area on pages
register_sidebar( array(
'name' => __( 'Pages Column', 'SilverValleyDesign' ),
'id' => 'pages-right-column',
'description' => __( 'The right column on pages', 'SilverValleyDesign'),
'before_widget' => '<li id"%1$s" class="widget news %2$s">',
'after_widget' => '</li>
'before_title' => '<h2 class="widgettitle">',
'afetr_title' => '</h2>',
) );
// Left column in the footer
register_sidebar( array(
'name' => __( 'Footer Left Side', 'SilverValleyDesign' ),
'id' => 'footer-left-side',
'description' => __( 'The left hand side of the footer', 'SilverValleyDesign'),
'before_widget' => '<li id"%1$s" class="widget news %2$s">',
'after_widget' => '</li>
'before_title' => '<h2 class="widgettitle">',
'afetr_title' => '</h2>',
) );
// Right colimn in the footer
register_sidebar( array(
'name' => __( 'Footer Right Column', 'SilverValleyDesign' ),
'id' => 'footer-right-column',
'description' => __( 'The right hand column in the footer', 'SilverValleyDesign'),
'before_widget' => '<li id"%1$s" class="widget news %2$s">',
'after_widget' => '</li>
'before_title' => '<h2 class="widgettitle">',
'afetr_title' => '</h2>',
) );
// Right column fall back widget area
register_sidebar( array(
'name' => __( 'Right Column Fallback', 'SilverValleyDesign' ),
'id' => 'right-column-fallback',
'description' => __( 'The right column fallback area for those non-posts and pages.', 'SilverValleyDesign'),
'before_widget' => '<li id"%1$s" class="widget news %2$s">',
'after_widget' => '</li>
'before_title' => '<h2 class="widgettitle">',
'afetr_title' => '</h2>',
) );
?> 'name' => __( 'News and press right coloumn', 'SilverValleyDesign' ),
'id' => 'news-press-right-column',
'description' => __( 'The right column on the mews/press categories', 'SilverValleyDesign'),
'before_widget' => '<li id"%1$s" class="widget news %2$s">',
'after_widget' => '</li>
'before_title' => '<h2 class="widgettitle">',
'afetr_title' => '</h2>',
) );
most coding is very logical... most times
Oh I know how to do it, I just choose not to because it doesnt have pretty pictures. Yish. I'm glad you're having fun tho