<?php
// This file is part of the Carrington Mobile Theme for WordPress
// http://carringtontheme.com
//
// Copyright (c) 2008-2009 Crowd Favorite, Ltd. All rights reserved.
// http://crowdfavorite.com
//
// Released under the GPL license
// http://www.opensource.org/licenses/gpl-license.php
//
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// **********************************************************************
if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }
if (CFCT_DEBUG) { cfct_banner(__FILE__); }
if (have_posts()) {
echo '<ul class="disclosure table group">';
while (have_posts()) {
the_post();
?>
<li>
<?php if(has_post_thumbnail())
{ the_post_thumbnail();}
cfct_excerpt();
?>
</li>
<?php
}
echo '<li class="pagination">', cfct_misc('nav-list'),'</li>';
echo '</ul>';
}
?>
Copy code
and i also past de css just as you said// This file is part of the Carrington Mobile Theme for WordPress
// http://carringtontheme.com
//
// Copyright (c) 2008-2009 Crowd Favorite, Ltd. All rights reserved.
// http://crowdfavorite.com
//
// Released under the GPL license
// http://www.opensource.org/licenses/gpl-license.php
//
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// **********************************************************************
if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }
if (CFCT_DEBUG) { cfct_banner(__FILE__); }
if (have_posts()) {
echo '<ul class="disclosure table group">';
while (have_posts()) {
the_post();
?>
<li>
<?php if(has_post_thumbnail())
{ the_post_thumbnail();}
cfct_excerpt();
?>
</li>
<?php
}
echo '<li class="pagination">', cfct_misc('nav-list'),'</li>';
echo '</ul>';
}
?>
Copy code
/*
Theme Name: Carrington Mobile
Theme URI: http://carringtontheme.com
Description: A mobile-friendly theme for your blog. Best used with (and included with) the WordPress Mobile Edition plugin. Supports basic mobile browsers as well as advanced and touch-screen browsers with a display optimized for each. Built on the Carrington framework.
Version: 1.1
Author: Crowd Favorite
Author URI: http://crowdfavorite.com
Tags: silver, white, one-column, flexible-width
// This file is part of the Carrington Mobile Theme for WordPress
// http://carringtontheme.com
//
// Copyright (c) 2008-2009 Crowd Favorite, Ltd. All rights reserved.
// http://crowdfavorite.com
//
// Released under the GPL license
// http://www.opensource.org/licenses/gpl-license.php
//
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// **********************************************************************
*/
body {
font-family: Verdana, sans-serif;
}
h1, h2, h3, p {
margin: 0 0 5px 0;
padding: 0;
}
ul, ol {
margin-top: 0;
margin-bottom: 5px;
margin-left:10px;
padding: 0;
}
hr {
color: #999;
height: 1px;
}
/* including for compatibility */
.alignleft {
float:left;
margin-right:1em;
margin-bottom:1em;
}
.alignright {
float:right;
margin-left:1em;
margin-bottom:1em;
}
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
/* optional rounded corners for browsers that support it */
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
img {
height: auto;
max-width: 99%;
}
.wp-post-image {
float: left;
margin: 0 11px 0 0;
padding: 2px 0 5px !important;
}
ul.table.disclosure li, ul.table li.disclosure {
clear: both;
margin: 0;
padding: 0 0 0 3px !important;
position: relative;
}
Copy code
plz elp me chek if there is any erro!!
Theme Name: Carrington Mobile
Theme URI: http://carringtontheme.com
Description: A mobile-friendly theme for your blog. Best used with (and included with) the WordPress Mobile Edition plugin. Supports basic mobile browsers as well as advanced and touch-screen browsers with a display optimized for each. Built on the Carrington framework.
Version: 1.1
Author: Crowd Favorite
Author URI: http://crowdfavorite.com
Tags: silver, white, one-column, flexible-width
// This file is part of the Carrington Mobile Theme for WordPress
// http://carringtontheme.com
//
// Copyright (c) 2008-2009 Crowd Favorite, Ltd. All rights reserved.
// http://crowdfavorite.com
//
// Released under the GPL license
// http://www.opensource.org/licenses/gpl-license.php
//
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// **********************************************************************
*/
body {
font-family: Verdana, sans-serif;
}
h1, h2, h3, p {
margin: 0 0 5px 0;
padding: 0;
}
ul, ol {
margin-top: 0;
margin-bottom: 5px;
margin-left:10px;
padding: 0;
}
hr {
color: #999;
height: 1px;
}
/* including for compatibility */
.alignleft {
float:left;
margin-right:1em;
margin-bottom:1em;
}
.alignright {
float:right;
margin-left:1em;
margin-bottom:1em;
}
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
/* optional rounded corners for browsers that support it */
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
img {
height: auto;
max-width: 99%;
}
.wp-post-image {
float: left;
margin: 0 11px 0 0;
padding: 2px 0 5px !important;
}
ul.table.disclosure li, ul.table li.disclosure {
clear: both;
margin: 0;
padding: 0 0 0 3px !important;
position: relative;
}
Copy code