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
Glo 2Gb Bonus for Birthday Anniversary
Glo 2Gb Bonus for Birthday Anniversary
August 15, 2022
@everyone group tag: How to Tag everyone on Facebook group
@everyone group tag: How to Tag everyone on Facebook group
August 14, 2022
Function of calgon in paint production
Function of calgon in paint production
August 10, 2022
Free catalytic converter scrap value by serial number
Free catalytic converter scrap value by serial number
August 10, 2022
Viking pump serial number lookup
Viking pump serial number lookup
August 10, 2022
Aa
DaiLy4mativeDaiLy4mative
Watch TV
Aa
  • Information
  • Education
  • Books
  • Business
  • COMPANIES
  • Education
  • Health
  • Lyrics
  • News
  • TRAVEL
  • More
    • BANKS
    • MP3 Download
    • News
    • Uncategorized
Have an existing account? Sign In
Follow US
Eric September 17, 2019
Share

Editing Carrington Mobile Theme from scratch- Step by step Guide

Technology
SHARE
- Advertisement -

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.

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.
Related Article Why SoundCloud wants to sack 20 percent of its global workforce

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.

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.

Related Article @everyone group tag: How to Tag everyone on Facebook group
- 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.

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://melody.com.ng/’)”>
  6. Now replace “https://melody.com.ng/wp-content/uploads/2018/12/melody-logo.png” with your blog logo.
    Click “Update File” to save
Related Article Free catalytic converter scrap value by serial number

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

@everyone group tag: How to Tag everyone on Facebook group

Free catalytic converter scrap value by serial number

Viking pump serial number lookup

Why SoundCloud wants to sack 20 percent of its global workforce

Google photos new Screenshots update lets you open folder directly: here is how

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

Glo 2Gb Bonus for Birthday Anniversary
Glo 2Gb Bonus for Birthday Anniversary
MOBILE TELECOMS
@everyone group tag: How to Tag everyone on Facebook group
@everyone group tag: How to Tag everyone on Facebook group
Information Technology
Function of calgon in paint production
Function of calgon in paint production
Information
Free catalytic converter scrap value by serial number
Free catalytic converter scrap value by serial number
SOFTWARES Technology
Viking pump serial number lookup
Viking pump serial number lookup
Information Technology

You Might Also Like

@everyone group tag: How to Tag everyone on Facebook group
InformationTechnology

@everyone group tag: How to Tag everyone on Facebook group

August 14, 2022
Free catalytic converter scrap value by serial number
SOFTWARESTechnology

Free catalytic converter scrap value by serial number

August 10, 2022
Viking pump serial number lookup
InformationTechnology

Viking pump serial number lookup

August 10, 2022
Why SoundCloud wants to sack 20 percent of its global workforce
Technology

Why SoundCloud wants to sack 20 percent of its global workforce

August 9, 2022
Show More

© 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?