Carrington Mobile has been updated to version 1.0.1, fixing some issues with pingback display.
Resources
Categories
Archives
- July 2011 (1)
- April 2011 (1)
- November 2010 (1)
- September 2010 (2)
- August 2010 (3)
- July 2010 (2)
- May 2010 (5)
- March 2010 (3)
- February 2010 (1)
- January 2010 (1)
- December 2009 (2)
- October 2009 (5)
- September 2009 (2)
- August 2009 (13)
- July 2009 (7)
- June 2009 (8)
- May 2009 (2)
- April 2009 (2)
- March 2009 (5)
- February 2009 (2)
- January 2009 (3)
- December 2008 (1)
- November 2008 (3)
- October 2008 (6)

I noticed with the Carrington Mobile theme when you create a page in WP and set it to not allow comments, when you view the page it says “0 Responses” even though comments are disabled and there won’t ever be any responses. To solve this I made a slight change to the comments file:
if (($post->comment_status != ‘closed’ && $post->comment_count > ’0′) && (empty($post->post_password) || $_COOKIE['wp-postpass_' . COOKIEHASH] == $post->post_password)) {
$comments = $wp_query->comments;
$comment_count = count($comments);
$comment_count == 1 ? $comment_title = __(‘One Response’, ‘carrington-mobile’) : $comment_title = sprintf(__(‘%d Responses’, ‘carrington-mobile’), $comment_count);
?>
<?php
}
This causes that line to only be shown if comments are enabled or there is at least 1 comment (covers the case where comments were enabled at one time). It’s not perfect, but it works for what I’m doing.
Any thoughts on this?
Thanks, I think this is fixed in SVN now.
Hi, is it posible to edit background color of Your theme ?? I need black background it power saves for mobiles …
thank you and waiting 4 reply (on email please )
I’ve just updated to the latest WP Super Cache and WordPress Mobile Edition to allow the use of the mobile edition now that they play well together. However, since I updated I’ve been getting a number of 404 errors looking for “[snip]/themes/carrington-mobile-1.0.1/img/background.png”. It appears this is due to css/advanced.css: “background:#e5e5e5 url(../img/background.png);”
That file does not appear to exist in the theme, I thought I’d report it since anyone using it is likely having the same 404 hits on their server. Short term fix is simple – remove the url() call from the CSS.
This fix is already in SVN as well. http://tinyurl.com/c5t9kq
You don’t seems to use page hierarchy on your blog. I tried to create a sub-page and this was not working with this mobile theme. I’m running the version 1.0.1
It works fine – the sub-pages are listed as such in the pages list.
Hi, thanks for the great work! It works wonderfully on my site.
But I do have a question: is there anyway I can add google adsense code to the theme? I can’t figure out …
thanks again!
This is a trip
Thanks for this excellent work. One question:
could it be possible to have in parrallel with the carrington blog theme, recognizing the user-agent and displaying the correct theme automatically if on mobile or not?
That is what the WordPress Mobile Edition plugin does.
Is there any way to limit the number of posts per page? I’m using Carrington Mobile as theme for WordPress Mobile Pack and I’d like to limit the number of posts per page to 5 (in my “desktop” theme the limit is set to 20).
Found a way to do that: editing the file posts/posts-default.php and changing
get_header();
by
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
get_header(); query_posts( “posts_per_page=5&paged=$paged” );
this will change the number of posts per page to 5.
That “works” but results in an extra query for each page load. It would be better to hook into the process earlier on.
Hi!
Your plugin is great!
I tried to set a link for people who want to see the site with your theme. Not for all people.
How do I use this code?. Could explain me more detailed?.
Thank you very much
Is there a way to limit the number of posts that show up on the home page and also specify what category they come from?
I love your theme! Every site on the net needs to have something like this. Seriously.
I did want to know if there was a way to change the text in the switcher link. “Switch to our mobile || desktop” site seems a little odd for a 1 person blog. I looked through the files briefly but couldn’t find anything. It might be nice to have this as a setting in the WP admin under Mobile Switcher settings or in the Theme Editor.
Thank you guys for your awesome work!