How To Easily Edit Carrington Mobile Theme 2019

Edit Carrington Mobile

Edit Carrington Mobile

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%20echo%20thumb(); ?>" 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.

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.

41 COMMENTS


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

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

  3. Awesome job….. Please can you give me your WhatsApp number or add me here 07062598383
    Thanks

    I can’t locate where to remove the message “Your email bla bla bla will not be shared with the public

    • You cannot add sidebar… If you want sidebar, then use a different theme for PC..

      That’s Carrington theme for Mobile, and use normal WordPress theme for PC version. Then you can add sidebar which will display on PC.

        • Install normal themes from WP directory and activate it…. Then install the Carrington theme, but don’t activate it.

          Then goto “Plugin”, search and install “mobile theme switcher” and activate it.

          Then goto the mobile theme switcher option and select Carrington theme for all mobile views and save.

          With that, mobile users will see the website Carrington version, while PC users see the normal version.

  4. Hey guys I really commend you guys for the work done.
    But I noticed each time I post video it will not work, is Always Big. How do I adjust the size.
    Thanks

  5. Please melody I can upload file(picture or music) using add media..When I upload the file and click add to post it doesn’t add, unless I copy the image urlz and paste on image source

    • Oh… That’s not a problem from the Carrington Theme.. Because myself I’m using it on my other blog. And people who have downloaded it didn’t complain… I’ll advise you to disable other plugins and try add the photo. If it works, then you should source for the plugin preventing the photo from adding to post.

      But i know too well that the problem is not from the Carrington Themes.

    • Goto “Post Folder” Click to open, then click on “archive.php”. You will see the code on Line 40-57… So if you don’t want the ‘hottest songs’ showing, just remove the code. Thanks

  6. Please how can i add two categories to the trending post..So that the trending will be showing post from two category

    • You don’t need to add two categories. Just create one category and name it “Trending”.

      When creating post, select the post default category and also select ‘trending’ as the second category.

      That’s to say, “the post will have two categories”

      For example:
      Title: How to edit Carrington theme
      Category: How to, Trending

      Can you see it has 2 categories? Now the post will appear on Trending Table.

      I hope you understand that?

  7. Hello bro , I noticed each time use the theme I can’t be able to login to my admin page. What’s the cause and what do I do?

    • Probably there’s something you’re doing wrong. The Theme has nothing to do with your dashboard login..

      And if after installing and activating the theme, you cannot login, then just disable it from cpanel Theme folder… Maybe your host has issue with Carrington mobile theme, and that’s rare.

  8. Hello
    Kudos for great job done so far sir!
    But I can’t find the line at advance.css folder to change color. Can u help me with ?
    Plus how can edit footer menu thanks!

Comments are closed.