Press "Enter" to skip to content

How To Easily Edit Carrington Mobile Theme 2019

3

How to customize and edit Carrington Mobile Theme for WordPress blog is one of the most asked questions by bloggers.

After googling Carrington mobile theme, I found out that most Nigerians bloggers are hungrily in need of the customization tutorial.

So today we are going to look into how to edit and customize WordPress Carrington Mobile Themes.

I believe you have successfully downloaded the Themes, Or let say you already have other WordPress Carrington themes you’d like to customize.

Steps To Easily Edit Carrington Mobile Themes

Customizing the themes is easy and can be done 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

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.

How To Add Featured Image in Carrington Mobile

The Naijakit mobile themes I shared already have the featured image coded, therefore, if you are using any other themes, then read how to add featured image below;

  • Login to your WP Dashboard
  • Goto “Appearance” > Themes > Editor
  • Under “select theme to edit”, Choose Carrington and click Select.
  • Click “Theme Function” (function.php)
  • 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;
    }
  • Now click “excerpt” > excerpt-default.php
  • Copy below code and paste it there
  • <img src="<?php echo thumb(); ?>" alt="blablabla" />

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.
READ:  How To Get Free Edu Backlink Very Fast 2019 Method

How To Add Site Logo and Menus

  • Login to your WP Dashboard
  • Goto “Appearance” > Themes > Editor
  • Under “select theme to edit”, Choose Carrington and click Select.
  • Click “Header” > header-default.php
  • Search for code that looks like the below code
  • <h1 id="site-name"><br /><center><a rel="home" href="/"><img src="https://melody.com.ng/wp-content/uploads/2018/12/melody-logo.png" height="60" width="300"/></a></center></h1>
  • Now replace “https://melody.com.ng/wp-content/uploads/2018/12/melody-logo.png” with your blog logo.
  • Click “Update File” to save

Take your time to learn how to customize and edit Carrington Mobile Theme for WordPress blogs.

If you have any questions regarding this, do let me know using the comments box below.

How To Easily Edit Carrington Mobile Theme 2019
4 (80%) 2 vote[s]



Loading...
  1. michamubila@gmail.com' mubila

    how to add a featured image when one clicks on post

    • I included the tutorial. Check “How To Add Featured Image in Carrington Mobile” section

  2. dilfgem@gmail.com' Dilfgem

    Hello, where can I locate the address tab colour which is green in naijakit theme I want to change it if possible I can remove the colour permanent

Would You Like to Suggest Something?

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

WhatsApp chat