...Read more.', $text); }
add_filter('the_excerpt', 'excerpt_ellipse');
function mytheme_comment($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
id="li-comment-">
'sidebar',
'before_widget' => '',
'before_title' => '',
));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'Footer 1',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'Footer 2',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'Footer 3',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'Head One',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'Head Two',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
));
function mytheme_add_admin() {
global $themename, $shortname, $options;
if ( $_GET['page'] == basename(__FILE__) ) {
if ( 'save' == $_REQUEST['action'] ) {
foreach ($options as $value) {
update_option( $value['id'], $_REQUEST[ $value['id'] ] ); }
foreach ($options as $value) {
if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } else { delete_option( $value['id'] ); } }
header("Location: themes.php?page=functions.php&saved=true");
die;
} else if( 'reset' == $_REQUEST['action'] ) {
foreach ($options as $value) {
delete_option( $value['id'] ); }
header("Location: themes.php?page=functions.php&reset=true");
die;
}
}
add_theme_page($themename." Options", "".$themename." Options", 'edit_themes', basename(__FILE__), 'mytheme_admin');
}
function mytheme_admin() {
global $themename, $shortname, $options;
if ( $_REQUEST['saved'] ) echo ''.$themename.' settings saved.
';
if ( $_REQUEST['reset'] ) echo ''.$themename.' settings reset.
';
?>
Welcome to the 42Wall theme.
Donate
If you use and like this theme, why not donate a small amount? I'm trying to raise money for a trip to see my Girlfriend in America, so every dollar helps! Thanks and enjoy the theme!
Legend and Help
Everything should be very self explanatory.
Boxes marked with # are a color value. You only need to add the Hex value. No need for the hash.
Boxes marked with PX are for values in pixels, again just put in the number.
Reset. DANGER WILL ROBINSON! This resets ALL the options, so please be warned before you click this! There is NO undo and it does reset everything!
%s says:'), comment_author()) ?>
comment_approved == '0') : ?>