Office Work, Part Deux: Professional Mayhen

Status
Not open for further replies.
Quote:
I'm not sure. One of our local lumberyards advertises farm fresh eggs right on their sign, but the owner supplies the eggs.

Reitmeier Beef put a thing on KROX AM that they want eggs..... and I can't find anything regarding the legality or liability of this.
 
:

<! DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<title><?php
// Changing the title for various sections on the site
if (is_home() ) {
bloginfo('name');
} elseif (is_category() || is_tag() ) {
single_cat_title(); echo '&bull;' ; bloginfo('name');
} elseif ( is_single() || is_page() ) {
single_post_title();
} else {
wp_title('', true);
}
?></title>
<link rel="profile" href="http://gmpg.org/xfn/11/" />
<link rel="stylesheet" type="text/css" meida="all" href="<?php bloginfo(style-sheet_url' ); ?>" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>
<div id="site">
<div id="wrap">
<div id="header">
<?php
// checkign if it is the front page in wich case we'll use a h1
if ( is_front_page() ) { ?>
<h1 id="logo">
<a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('title') ?>" >
<?php
// Getting the site title
bloginfo('title');
?>
</a>

yay what fun
lau.gif
 
Quote:
yay what fun
lau.gif


What on EARTH are you doing?

It's code. Internet php. That is simple to 0_o these forums are made in a langue called PHP. i can talk 4 langues 3 of witch the computers understand the other english. Right now i am working on a theme for my wordpress site.
 
Quote:
yay what fun
lau.gif


What on EARTH are you doing?

It's code. Internet php. That is simple to 0_o these forums are made in a langue called PHP. i can talk 4 langues 3 of witch the computers understand the other english. Right now i am working on a theme for my wordpress site.

Yeah..... it doesnt really have any pretty pictures or funny punchlines so..... you can have it.
 
Quote:
yay what fun
lau.gif


What on EARTH are you doing?

It's code. Internet php. That is simple to 0_o these forums are made in a langue called PHP. i can talk 4 langues 3 of witch the computers understand the other english. Right now i am working on a theme for my wordpress site.

Amazing.
clap.gif
Seriously.
 
Quote:
It's code. Internet php. That is simple to 0_o these forums are made in a langue called PHP. i can talk 4 langues 3 of witch the computers understand the other english. Right now i am working on a theme for my wordpress site.

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
 
Status
Not open for further replies.

New posts New threads Active threads

Back
Top Bottom