Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

First commit

  • Loading branch information...
commit 88e103bdabd315c874b3b3f108b39fffeeadef0e 0 parents
@Cais authored
1  README
@@ -0,0 +1 @@
+This file was created by JetBrains PhpStorm 3.0 for binding GitHub repository
76 author.php
@@ -0,0 +1,76 @@
+<?php get_header(); ?>
+<?php /* This sets the $curauth variable */
+if( isset( $_GET['author_name'] ) ) :
+ $curauth = get_userdatabylogin( $author_name );
+else :
+ $curauth = get_userdata( intval( $author ) );
+endif;
+?>
+<div id="maintop"></div><!--end maintop-->
+<div id="wrapper">
+ <div id="content">
+ <div id="main-blog">
+ <div id="author" class="<?php if ( ( get_userdata( intval( $author ) )->ID ) == '1' ) echo 'administrator';
+ elseif ( ( get_userdata( intval( $author ) )->ID ) == '2' ) echo 'jellybeen'; /* sample */
+ /* add additional user_id following above example, echo the 'CSS element' you want to use for styling */
+ ?>">
+ <h2><?php _e( 'About ', 'desk-mess-mirrored' ); echo $curauth->display_name; ?></h2>
+ <ul>
+ <li><?php _e( 'Website', 'desk-mess-mirrored' ); ?>: <a href="<?php echo $curauth->user_url; ?>"><?php echo $curauth->user_url; ?></a> <?php _e( 'or', 'desk-mess-mirrored' ); ?> <a href="mailto:<?php echo $curauth->user_email; ?>"><?php _e( 'email', 'desk-mess-mirrored' ); ?></a></li>
+ <li><?php _e( 'Biography', 'desk-mess-mirrored' ); ?>: <?php echo $curauth->user_description; ?></li>
+ </ul>
+ </div> <!-- #author -->
+ <h2><?php _e( 'Posts by ', 'desk-mess-mirrored' ); echo $curauth->display_name; ?>:</h2>
+ <!-- start the Loop -->
+ <?php if ( have_posts() ) : ?>
+ <?php $count = 0; ?>
+ <?php while ( have_posts() ) : the_post(); ?>
+ <?php $count++; ?>
+ <div class="clear">&nbsp;</div>
+ <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
+ <div class="post-comments">
+ <?php if ( ! post_password_required() ) {
+ comments_popup_link( __( '0', 'desk-mess-mirrored' ), __( '1', 'desk-mess-mirrored' ), __( '%', 'desk-mess-mirrored' ), '',__( '-', 'desk-mess-mirrored' ) );
+ } ?>
+ </div>
+ <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'desk-mess-mirrored' ); ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
+ <div class="postdata">
+ <?php if ( get_the_title() == "" ) { /* for posts without titles - creates a permalink using the post date referencing the post ID */ ?>
+ <?php _e( 'On ', 'desk-mess-mirrored' ); ?><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to post ', 'desk-mess-mirrored' ); the_id(); ?>"><?php the_time( get_option( 'date_format' ) ); ?></a>
+ <?php } else {
+ _e( 'On ', 'desk-mess-mirrored' ); the_time( get_option( 'date_format' ) );
+ }
+ _e( ' in ', 'desk-mess-mirrored' ); the_category( ', ' ); edit_post_link( __( 'Edit', 'desk-mess-mirrored' ), __( ' &#124; ', 'desk-mess-mirrored' ), __( '', 'desk-mess-mirrored' ) ); ?>
+ </div><!-- .postdata -->
+ <?php if ( $count == 1 ) : ?>
+ <?php the_content( __( ' ... continue reading. ', 'desk-mess-mirrored' ) ); ?>
+ <div class="clear"></div> <!-- For inserted media at the end of the post -->
+ <?php wp_link_pages( array( 'before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number' ) ); ?>
+ <p class="single-meta" style="float:right; margin-top:5px; margin-right:10px; font-size:11px; "> <?php the_tags(); ?></p>
+ <?php else : ?>
+ <?php the_excerpt(); ?>
+ <?php endif; ?>
+ <div class="clear"></div> <!-- For inserted media at the end of the post -->
+ </div> <!-- .post #post-ID -->
+ <?php endwhile; ?>
+ <div id="nav-global" class="navigation">
+ <div class="left">
+ <?php next_posts_link( __( '&laquo; Previous entries', 'desk-mess-mirrored' ) ); ?>
+ </div>
+ <div class="right">
+ <?php previous_posts_link( __( 'Next entries &raquo;', 'desk-mess-mirrored' ) ); ?>
+ </div>
+ </div> <!-- .navigation -->
+ <?php else : ?>
+ <h2><?php printf( __( 'Search Results for: %s' ), '<span>' . esc_html( get_search_query() ) . '</span>' ); ?></h2>
+ <p class="center"><?php _e( 'Sorry, there are no posts by this author.', 'desk-mess-mirrored' ); ?></p>
+ <?php get_search_form(); ?>
+ <?php endif; ?>
+ <!-- end the Loop -->
+ </div><!--end main blog-->
+ <?php get_sidebar(); ?>
+ <div class="clear"></div>
+ </div><!--end content-->
+</div><!--end wrapper-->
+<?php get_footer();?>
+<?php /* Last Revision: Jan 23, 2011 v1.8.2 */ ?>
9 changelog.txt
@@ -0,0 +1,9 @@
+==== Changelog.txt ====
+= Version 1.9 =
+* Updated and corrected menu issues introduced at 1.8.7
+
+= Version 1.8.7 =
+* modified header.php to match menu element `nav-menu`
+
+= Version 1.8.3 =
+* Update Template Version to match current version of Desk Mess Mirrored (v1.8.3)
57 comments.php
@@ -0,0 +1,57 @@
+<?php // Do not delete these lines
+if ( !empty( $_SERVER['SCRIPT_FILENAME'] ) && 'comments.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) )
+ die ( __( 'Please do not load this page directly. Thanks!', 'desk-mess-mirrored' ) );
+if ( post_password_required() ) { ?>
+ <p class="nocomments"><?php _e( 'This post is password protected. Enter the password to view comments.', 'desk-mess-mirrored' ); ?></p>
+<?php
+ return;
+}
+
+// add a microid to all the comments
+function dmm_comment_add_microid( $classes ) {
+ $c_email=get_comment_author_email();
+ $c_url=get_comment_author_url();
+ if ( !empty( $c_email ) && !empty( $c_url ) ) {
+ $microid = 'microid-mailto+http:sha1:' . sha1( sha1( 'mailto:'.$c_email ) . sha1( $c_url ) );
+ $classes[] = $microid;
+ }
+ return $classes;
+}
+add_filter( 'comment_class', 'dmm_comment_add_microid' );
+
+/* add a userid (if exists) to all the comments */
+function dmm_comment_add_userid( $classes ) {
+ global $comment;
+ if ( $comment->user_id == 1 ) { /* Administrator */
+ $userid = "administrator user-id-1";
+ } else { /* All other users - NB: user-id-0 -> non-registered user */
+ $userid = "user-id-" . ( $comment->user_id );
+ }
+ $classes[] = $userid;
+ return $classes;
+}
+add_filter( 'comment_class', 'dmm_comment_add_userid' );
+?>
+
+<div id="comments-main">
+<?php // show the comments
+ if ( have_comments() ) : ?>
+ <h4 id="comments"><?php comments_number( __( 'No Comments', 'desk-mess-mirrored' ), __( '1 Comment', 'desk-mess-mirrored' ), __( '% Comments', 'desk-mess-mirrored' ) );?></h4>
+ <ul class="commentlist" id="singlecomments">
+ <?php wp_list_comments( array( 'avatar_size' => 60, 'reply_text' => __( '&raquo; Reply to this Comment &laquo;', 'desk-mess-mirrored' ) ) ); ?>
+ </ul>
+ <div class="navigation">
+ <div class="alignleft"><?php previous_comments_link() ?></div>
+ <div class="alignright"><?php next_comments_link() ?></div>
+ </div>
+ <?php else : // this is displayed if there are no comments so far ?>
+ <?php if ( 'open' == $post->comment_status ) :
+ // If comments are open, but there are no comments.
+ else :
+ // comments are closed
+ endif;
+ endif;
+ comment_form();
+?>
+</div> <!-- #comments-main -->
+<?php /* Last Revision: November 27, 2010 v1.8.2 */ ?>
41 header.php
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
+<head profile="http://gmpg.org/xfn/11">
+ <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
+ <title><?php
+ if ( is_single() ) { single_post_title(); _e( ' | ', 'desk-mess-mirrored' ); bloginfo( 'name' ); }
+ elseif ( is_home() || is_front_page() ) { bloginfo( 'name' ); _e( ' | ', 'desk-mess-mirrored' ); bloginfo( 'description' ); dmm_get_page_number(); }
+ elseif ( is_page() ) { single_post_title( '' ); _e( ' | ', 'desk-mess-mirrored' ); bloginfo( 'name' ); }
+ elseif ( is_search() ) { bloginfo( 'name' ); print __( ' | Search results for ', 'desk-mess-mirrored' ) . esc_html( $s ); dmm_get_page_number(); }
+ elseif ( is_404() ) { bloginfo( 'name' ); _e( ' | Not Found', 'desk-mess-mirrored' ); }
+ else { bloginfo( 'name' ); wp_title( __( ' | ', 'desk-mess-mirrored' )); dmm_get_page_number(); }
+ ?></title>
+
+ <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" />
+ <!--[if lte IE 6]>
+ <link rel="stylesheet" href="<?php get_template_directory_uri(); ?>/ie60-2.css" type="text/css" media="screen" />
+ <![endif]-->
+ <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
+
+ <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
+ <?php wp_head(); ?>
+</head>
+
+<body <?php body_class(); ?>>
+ <div id="mainwrap">
+ <div id="header-container">
+ <div id="header"> <!-- header -->
+ <div id="headerleft"></div>
+ <div id="logo">
+ <h2><a href="<?php echo home_url( '/' ); ?>" title="<?php bloginfo( 'name' ); ?>"><?php bloginfo( 'name' ); ?></a></h2>
+ <p><?php bloginfo( 'description' ); ?></p>
+ </div> <!-- #logo -->
+ <div id="cup">
+ <a href="<?php echo get_feed_link( 'rss2' ); ?>" title="<?php _e('Add this blog to any reader','desk-mess-mirrored'); ?>"><img alt="" src="<?php echo get_stylesheet_directory_uri(); ?>/images/rsscup.png" border="0" /></a>
+ </div><!-- #cup -->
+ <div id="top-navigation-menu">
+ <?php dmm_nav_menu(); ?>
+ </div>
+ </div> <!-- #header -->
+ </div> <!-- #header-container -->
+<?php /* Last Revised July 13, 2011, v1.8.7 to match Desk Mess Mirrored v1.8.7 */ ?>
BIN  images/rsscup.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 style.css
@@ -0,0 +1,22 @@
+/*
+Theme Name: Multi
+Theme URI: http://buynowshop.com/themes/desk-mess-mirrored/
+Description: Child of Desk Mess Mirrored - Marble desktop covered with a mix of old and new items, such as some vintage papers, a stainless steel pen, and, a hot cup of coffee! Please read the included changelog.txt file for the details of the latest changes.
+Version: 1.9
+Template: desk-mess-mirrored
+Template Version: 1.9
+Author: Edward Caissie
+Author URI: http://edwardcaissie.com/
+Tags: brown, orange, silver, tan, light, two-columns, right-sidebar, fixed-width
+WordPress Version: 3.2.1
+License: GNU General Public License v2
+License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
+*/
+@import url("../desk-mess-mirrored/style.css");
+
+/* Last Revised July 13, 2011, to match Desk Mess Mirrored v1.9 */
+
+/*=- Specials -=*/
+div.textwidget form input { border: none; } /* Specifically added for PayPal Donate button */
+#cup {background: none;}
+/*-= End Specials =-*/
Please sign in to comment.
Something went wrong with that request. Please try again.