Skip to content


Carrington Mobile 1.0.1

Carrington Mobile has been updated to version 1.0.1, fixing some issues with pingback display.

Posted in Announcements, Carrington Mobile.


18 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Gary says

    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?

  2. LOCOSP says

    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 )

  3. MegaZone says

    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.

  4. frederic sidler says

    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

    • Alex King says

      It works fine – the sub-pages are listed as such in the pages list.

  5. david says

    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!

  6. Nicolas Dengler says

    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?

  7. xavier caballe says

    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).

    • xavier caballe says

      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.

      • Alex King says

        That “works” but results in an extra query for each page load. It would be better to hook into the process earlier on.

  8. Álvaro says

    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

  9. Heather says

    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?

  10. Kevin S says

    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!

Continuing the Discussion

  1. Mobile Style für die Blogger World | Blogger World linked to this post on April 16, 2009

    [...] BlackBerry™ auch mal meine Seite schnell laden wollte, habe ich mir durch seinen Tipp das Carrington Mobile Plugin heruntergeladen und [...]



Some HTML is OK

or, reply to this post via trackback.