Carrington Mobile 1.0.1
Carrington Mobile has been updated to version 1.0.1, fixing some issues with pingback display.
Categories: Announcements, Carrington Mobile
.mine ======= >>>>>>> .r525 <<<<<<< .mine ======= >>>>>>> .r525
« Carrington Text 1.0 | Carrington Mobile 1.0 »
Carrington Mobile has been updated to version 1.0.1, fixing some issues with pingback display.
Categories: Announcements, Carrington Mobile
« Carrington Text 1.0 | Carrington Mobile 1.0 »
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?
by Gary on Apr 5, 2009 at 6:38 am
Thanks, I think this is fixed in SVN now.
by Alex King on Apr 11, 2009 at 7:42 pm
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 )
by LOCOSP on Apr 11, 2009 at 4:29 pm
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.
by MegaZone on Apr 11, 2009 at 6:33 pm
This fix is already in SVN as well. http://tinyurl.com/c5t9kq
by Alex King on Apr 11, 2009 at 7:03 pm
[...] BlackBerry™ auch mal meine Seite schnell laden wollte, habe ich mir durch seinen Tipp das Carrington Mobile Plugin heruntergeladen und [...]
by Mobile Style für die Blogger World | Blogger World on Apr 16, 2009 at 2:06 pm
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
by frederic sidler on May 1, 2009 at 2:19 pm
It works fine – the sub-pages are listed as such in the pages list.
by Alex King on May 1, 2009 at 2:33 pm
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!
by david on May 2, 2009 at 12:51 am
This is a trip
by Dennis Halsey on May 31, 2009 at 8:17 pm
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?
by Nicolas Dengler on May 2, 2009 at 3:06 pm
That is what the WordPress Mobile Edition plugin does.
by Alex King on May 25, 2009 at 5:35 pm
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).
by xavier caballe on May 25, 2009 at 2:03 pm
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.
by xavier caballe on May 25, 2009 at 5:05 pm
That “works” but results in an extra query for each page load. It would be better to hook into the process earlier on.
by Alex King on May 25, 2009 at 5:35 pm
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
by Álvaro on May 31, 2009 at 4:40 am
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?
by Heather on Jun 2, 2009 at 9:30 am
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!
by Kevin S on Jun 18, 2009 at 11:15 am