By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
DaiLy4mativeDaiLy4mative
  • Home
  • News
    • Business
    • Entertainment
    • Education
    • Sports
    • Health
  • TRAVEL
  • Books
  • Biography
Reading: Editing Carrington Mobile Theme from scratch- Step by step Guide
Share
Notification Show More
Latest News
TrumpArrest Trend On Twitter: Factual Information About Former US President Trump Trend On Twitter
March 22, 2023
Video Guide: Hollywood Top Up Vouchers, how they work, where you can buy them, and where your nearest retailer is!
March 20, 2023
What’s Good About HollywoodBets: Factors That Makes Hollywoodbets a consistent favorite among Bettors over the years
March 20, 2023
How Much Does Bad Bunny Charge For a Show
March 20, 2023
National shutdown: Factual information about the situation in South Africa
March 20, 2023
DaiLy4mativeDaiLy4mative
Watch TV
  • Information
  • Education
  • Books
  • Business
  • COMPANIES
  • Education
  • Health
  • Lyrics
  • News
  • TRAVEL
  • More
    • BANKS
    • MP3 Download
    • News
    • Uncategorized
Have an existing account? Sign In
Follow US

Editing Carrington Mobile Theme from scratch- Step by step Guide

Carrington Mobile theme
SHARE
- Advertisement -
Contents
Steps To Easily Edit Carrington Mobile ThemesHow To Add Featured Image in Carrington MobileSteps To Changing Carrington Theme ColorHow To Add Site Logo and Menus

Follow this steps to customize and edit Carrington Mobile Theme for WordPress blog. If you want your site to look like Naijaloaded latest mobile theme then you are on the right page.
This is a full tutorial on how you can easily customize the popular theme. Carrington Mobile Theme is a very basic theme and the author never want to update the theme any longer but having gone through the comments on my last post, I found out that many are looking for a way to go about customizing  Carrington Mobile theme adding featured image, related post and more functions on the theme. Below is the simple way to customize the theme.

Related Article Gaming Lenses: All You Need To Know About The XP Pro Lens For Gamers

Steps To Easily Edit Carrington Mobile Themes

Customizing the themes is easy and for you to do that you need to log in to your root domain or go through the WordPress admin dashboard.

  1. Login to your WP Dashboard
  2. Goto “Appearance” > Themes > Editor
  3. Under “select theme to edit”, Choose Carrington and click Select.
  4. Click “Header’ > header-default.php
  5. Then begin to edit anything you want to edit.

Header Folder: here you can customize the blog logo, top menu, categories and social media links.
Footer Folder: you can customize things like about us page, contact us, content remover, terms of use, blog copyright ©, social media links and footer menus.

Related Article Gaming Lenses: All You Need To Know About The XP Pro Lens For Gamers

How To Add Featured Image in Carrington Mobile

  1. Login to your WP Dashboard
  2. Goto “Appearance” > Themes > Editor
  3. Under “select theme to edit”, Choose Carrington and click Select.
  4. Click “Theme Function” (function.php)
  5. Copy below code and paste it there

function thumb() {
global $post, $posts;
$first_img = ”;
ob_start();
ob_end_clean();
$output = preg_match_all (‘/<img.*?src=”((?!”).*?)”/i’, $post->post_content, $matches);
$first_img = $matches[1][0];
if(empty($first_img)){ //Defines a default image
$first_img = “default image link”;
}
return $first_img;
}
NB: After you have pasted the above code do remember to save it before the next step.

- Advertisement -
  1. Now click “excerpt” > excerpt-default.php
  2. Copy below code and paste it there
    <img src=”<?php echo thumb(); ?>” alt=”blablabla” />

Thats all, you are done with that part and now let us move to the next Step.

Related Article Gaming Lenses: All You Need To Know About The XP Pro Lens For Gamers

Steps To Changing Carrington Theme Color

  1. Open the file “advanced.css” located inside the CSS folder.
  2. Look for this line “a {color:blue;}”
  3. Now change blue to green.

How To Add Site Logo and Menus

  1. Login to your WP Dashboard
  2. Goto “Appearance” > Themes > Editor
  3. Under “select theme to edit”, Choose Carrington and click Select.
  4. Click “Header” > header-default.php
  5. Search for code that looks like the below code
    <h1 id=”site-name”><br /><center><a rel=”home” href=”javascript:textise(‘http://daily4mative.com/’)”>
  6. Now replace “/wp-content/uploads/” with your blog logo.
    Click “Update File” to save

Done and dusted. Hope you have been able to follow the tutorial from step 1 to the final step on how to customize Carrington Mobile Theme from scratch. If you have any further question on this do message me to be guided more.

You Might Also Like

Gaming Lenses: All You Need To Know About The XP Pro Lens For Gamers

French startup Alan Plans to build healthcare super app with €183 million funding that will cater for all questions for your health

6 easy steps to block your IP address from Google Analytics

Why Facebook, Instagram and Whatsapp is down

TWRP Recovery: twrp restore stock recovery, solution and best practices

TAGGED: Carrington Mobile Theme
Eric September 17, 2019
Share this Article
Facebook Twitter Whatsapp Whatsapp Email Print
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Latest Post

  • TrumpArrest Trend On Twitter: Factual Information About Former US President Trump Trend On Twitter
  • Video Guide: Hollywood Top Up Vouchers, how they work, where you can buy them, and where your nearest retailer is!
  • What’s Good About HollywoodBets: Factors That Makes Hollywoodbets a consistent favorite among Bettors over the years
  • How Much Does Bad Bunny Charge For a Show
  • National shutdown: Factual information about the situation in South Africa

© Daily4mative. All Rights Reserved.

Removed from reading list

Undo
AdBlock Detected
Our site is an advertising supported site. Please whitelist to support our site.
Okay, I'll Whitelist
Welcome Back!

Sign in to your account

Register Lost your password?