Permalink
Browse files

Ready for beta.

git-svn-id: http://svn.locallylost.com/themes/retro-fitted/trunk@538 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information...
greenshady
greenshady committed Dec 13, 2010
1 parent 8a119f1 commit 6eae4892ed12f9f21a58003e07b835019e2d436c
Showing with 9 additions and 140 deletions.
  1. +7 −7 functions.php
  2. BIN images/comments-next.png
  3. +0 −131 images/style.css
  4. BIN screenshot.png
  5. +2 −2 style.css
View
@@ -142,14 +142,14 @@ function retro_fitted_next_comments_link_attributes( $attributes ) {
function retro_fitted_one_column() {
if ( !is_active_sidebar( 'primary' ) && !is_active_sidebar( 'secondary' ) )
- add_filter( 'get_post_layout', 'retro_fitted_theme_layout_one_column' );
+ add_filter( 'get_theme_layout', 'retro_fitted_theme_layout_one_column' );
elseif ( is_attachment() )
- add_filter( 'get_post_layout', 'retro_fitted_theme_layout_one_column' );
+ add_filter( 'get_theme_layout', 'retro_fitted_theme_layout_one_column' );
}
/**
- * Filters 'get_post_layout' by returning 'layout-1c'.
+ * Filters 'get_theme_layout' by returning 'layout-1c'.
*
* @since 0.1.0
*/
@@ -165,9 +165,9 @@ function retro_fitted_theme_layout_one_column( $layout ) {
function retro_fitted_disable_sidebars( $sidebars_widgets ) {
global $wp_query;
- if ( current_theme_supports( 'post-layouts' ) ) {
+ if ( current_theme_supports( 'theme-layouts' ) ) {
- if ( 'layout-1c' == post_layouts_get_layout() ) {
+ if ( 'layout-1c' == theme_layouts_get_layout() ) {
$sidebars_widgets['primary'] = false;
$sidebars_widgets['secondary'] = false;
}
@@ -195,9 +195,9 @@ function retro_fitted_comment_form_args( $args ) {
*/
function retro_fitted_embed_defaults( $args ) {
- if ( current_theme_supports( 'post-layouts' ) ) {
+ if ( current_theme_supports( 'theme-layouts' ) ) {
- $layout = post_layouts_get_layout();
+ $layout = theme_layouts_get_layout();
if ( 'layout-3c-l' == $layout || 'layout-3c-r' == $layout || 'layout-3c-c' == $layout )
$args['width'] = 470;
View
Binary file not shown.
View
@@ -1,131 +0,0 @@
-/**
- * Theme Name: Retro-fitted
- * Theme URI: http://themehybrid.com/themes/prototype
- * Description: An elegantly-designed parent theme with multiple nav menus, several sidebars, custom widgets, a smart breadcrumb trail, and per-post layouts/stylesheets.
- * Version: 0.1
- * Author: Justin Tadlock
- * Author URI: http://justintadlock.com
- * Tags: theme-options, threaded-comments, microformats, translation-ready, rtl-language-support, one-column, two-columns, three-columns, fixed-width
- * License: GNU General Public License v2.0
- * License URI: http://www.gnu.org/licenses/gpl-2.0.html
- *
- * Copyright (c) 2010 Justin Tadlock. All rights reserved.
- * http://justintadlock.com
- */
-
-/* 25px reset. */
-html,body,div,span,object,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;vertical-align:baseline;outline:none;font-size:100%;background:transparent;border:none;text-decoration:none}b,i,hr,u,center,menu,layer,s,strike,font,xmp{margin:0;padding:0;vertical-align:baseline;outline:none;font-size:100%;font-weight:normal;font-style:normal;background:transparent;border:none;text-decoration:none}font{color:#333}center{text-align:left}body{line-height:25px;font-family:Georgia,Times,"Times New Roman",serif;color:#333;background:#fff}h1,h2,h3,h4,h5,h6{font-style:normal;font-weight:normal;margin:0 0 25px 0}h1{font-size:1.8em}h2{font-size:1.7em}h3{font-size:1.55em;}h4{font-size:1.4em}h5{font-size:1.25em}h6{font-size:1.1em}p{margin:0 0 25px 0}ol,ul{list-style:none}ul{list-style:disc;margin:0 0 25px 2.5em}ol{list-style-type:decimal;margin:0 0 25px 3em}ol ol{list-style:upper-roman}ol ol ol{list-style:lower-roman}ol ol ol ol{list-style:upper-alpha}ol ol ol ol ol{list-style:lower-alpha}ul ul,ol ol,ul ol,ol ul{margin-bottom:0}dl{margin:0 0 25px 5px}dl dt{font-weight:bold;margin:10px 0 0 0}dl dd{margin:5px 0 0 1.5em}strong{font-weight:bold}strong strong{font-weight:normal}em,cite{font-style:italic}em em,cite cite{font-style:normal}abbr{cursor:help}acronym{text-transform:uppercase;border-bottom:1px dashed #666;cursor:help}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:baseline;position:relative;bottom:0.3em}sub{vertical-align:baseline;position:relative;top:0.3em}address{font-style:italic;margin:0 0 25px 0}li address,dd address{margin:0}blockquote{margin:0 25px;font-style:normal}blockquote em,blockquote cite{font-style:italic}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}a{cursor:pointer}a img{border:none}pre{overflow:auto;font:.9em Monaco,monospace,Courier,"Courier New";line-height:25px;margin-bottom:25px;padding:10px}code{font:.9em Monaco,monospace,Courier,"Courier New"}pre code{font-size:1em}ins,dfn{font-style:italic;text-decoration:none;border-bottom:1px solid #666}del{text-decoration:line-through}object{margin-bottom:25px}input,textarea{font-size:1em;font-family:Georgia,Times,"Times New Roman",serif;padding:3px}:focus{outline:none}form label{cursor:pointer}option{padding:1px 2px}table{border-collapse:collapse;border-spacing:0;margin-bottom:25px}th,td{text-align:left}hr{margin-bottom:25px}img.wp-smiley{max-height:12px;margin:0;padding:0;border:none}.gallery{display:block;text-align:center;margin-bottom:25px !important}.alignleft,.left{float:left;margin-right:20px}.alignright,.right{float:right;margin-left:20px}.aligncenter,.center{display:block;margin:0 auto 25px auto}.alignnone,.block{clear:both;margin:0 0 25px 0}.clear{clear:both}img.alignleft,img.alignright{display:inline}blockquote.alignleft,blockquote .alignright{width:33%}
-
-/* Drop-downs. */
-div.menu ul{margin:0;padding:0;list-style:none;line-height:1.0}div.menu ul ul{position:absolute;top:-999em;width:10em}div.menu ul ul li{width:100%}div.menu li:hover{visibility:inherit}div.menu li{float:left;position:relative}div.menu a{display:block;position:relative}div.menu li:hover ul,li.sfHover ul{left:0;top:2em;z-index:99}div.menu li:hover li ul,li.sfHover li ul{top:-999em}div.menu li li:hover ul,li li.sfHover ul{left:10em;top:0}div.menu li li:hover li ul,li li.sfHover li ul{top:-999em}div.menu li li li:hover ul,li li li.sfHover ul{left:10em;top:0}
-
-
-body {
- padding: 0;
- background: url(images/bg.jpg) repeat 0 0;
- }
-
-#header {
- width: 100%;
- height: 60px;
- padding: 20px 0;
- background: url(images/header.png) repeat-x 0 0;
- border-bottom: 10px solid #ce3000;
- }
-#header .wrap {
- width: 980px;
- margin: 0 auto;
- }
-
-#site-title {
- position: relative;
- z-index: 99;
- width: 300px;
- margin: 0 0 10px 0;
- font: normal normal bold 36px/36px Georgia, Times, 'Times New Roman', serif;
- }
-#site-title a {
- color: #04648d;
- }
-
-#site-description {
- position: relative;
- z-index: 99;
- width: 300px;
- margin: 0;
- font: italic normal normal 16px/25px Georgia, Times, 'Times New Roman', serif;
- color: #ce3000;
- }
-
-
-#menu-secondary {
- position: relative;
- top: -48px;
- width: 980px;
- height: 38px;
- margin: 0 auto -38px auto;
- }
-#menu-secondary ul {
- float: right;
- }
-#menu-secondary li a {
- padding: 12px 25px;
- font: normal normal bold 14px/14px Arial, Verdana, sans-serif;
- color: #fff;
- background: #ce3000;
- }
-
-
-
-.breadcrumbs {
- width: 930px;
- margin: 0 auto 25px auto;
- padding: 6px 25px;
- font-size: 13px;
- line-height: 13px;
- color: #999;
- background: #f2ede2;
- border: 1px solid #d8d1c3;
- border-top: none;
- }
-.breadcrumbs a {
- color: #04648d;
- }
-.breadcrumbs .trail-end {
- font-style: italic;
- }
-
-#main {
- width: 980px;
- margin: 0 auto;
- }
-
-#content {
- width: 620px;
- float: left;
- }
-
-.hentry {
- margin: 0 0 25px 0;
- padding: 20px 20px 0 20px;
- background: #fefefe;
- border: 5px solid #e7e1d4;
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
View
Binary file not shown.
View
@@ -2,7 +2,7 @@
* Theme Name: Retro-fitted
* Theme URI: http://themehybrid.com/themes/retro-fitted
* Description: An elegantly-designed parent theme with multiple nav menus, several sidebars, custom widgets, a smart breadcrumb trail, and per-post layouts.
- * Version: 0.1
+ * Version: 0.1 Beta
* Author: Justin Tadlock
* Author URI: http://justintadlock.com
* Tags: theme-options, threaded-comments, microformats, translation-ready, rtl-language-support, one-column, two-columns, three-columns, fixed-width
@@ -13,4 +13,4 @@
* http://justintadlock.com
*/
-@import( 'style.dev.css' );
+@import url( 'style.dev.css' );

0 comments on commit 6eae489

Please sign in to comment.