Carrington mobile theme is WordPress theme for your mobile sites.I once had chance of working with this theme.It was fun to work with and is cool mobile theme.I need to make some customizations based on my requirement.I listed the customization as it might be useful for others as well.
Replace Carrington theme search box with Google custom search box
Open the file wp-content/themes/carrington-mobile/forms/search.php and search for below code fragment
<form id="search" action="<?php bloginfo('home'); ?>" method="get"> <div> <input type="text" name="s" id="s" inputmode="predictOn" value="" /> <input type="submit" name="submit_button" value="Search" /> </div> </form>
Replace above code with Google custom search box code.The final code will look like below code fragment
Carrington mobile theme with Spam Free WordPress plugin
Open the file wp-content/themes/carrington-mobile/forms/comments.php.You need to replace the code between <form> and </form> including the form tags.You need to delete all code between <form> and </form> including the tags and add <?php comment_form(); ?> line.
Carrington mobile theme footer customization
To remove footer text Proudly powered by WordPress and Carrington from Carrington Mobile Theme follow below steps (footer text also contains links to login and logout)
Open the file wp-content/themes/carrington-mobile/footer/bottom.php and search for the code shown below
<p class="small"> Proudly powered by <a href="http://wordpress.org"><strong>WordPress</strong></a> and lt;a href="http://carringtontheme.com"><strong>Carrington</strong></a>. <?php wp_loginout(); wp_register(' | ', ''); ?><br /> </p>
Delete the code if you do not want to display the links and the logout login links.
Remove date from Carrington mobile theme excerpts page
Carrington Mobile Theme displays date on the excerpt page and the date on side of excerpt page title gives indication of last time the page was modified.To remove this date from the excerpt pages of Carrington Mobile theme follow below steps
Open file wp-content/themes/carrington-mobile/excerpts/excerpt-default.php and delete below line of code form the file
<span class="date"><?php the_time('M j, Y'); ?></span>
Carrington mobile theme with WordPress SEO by Yoast
Carrington theme used along with WordPress SEO by Yoast creates repetition of titles (for example if your website title is Udinra then this word will get repeated). This is because the SEO plugin tries to rewrite the title and the title generating code in the theme conflicts with this feature of the SEO plugin.To resolve this issue follow below steps
Open the file wp-content/themes/carrington-mobile/header/header-default.php and search for below line of code
<title><?php wp_title('«', true, 'right'); bloginfo('name'); ?></title>
Replace above line of code with below line
<title><?php wp_title(''); ?></title>