Hello, Welcome To My Official Blog, here I am gon a teach you on how to add feature image to you Carrington Mobile Theme easily without stress.

 

First , Go-to Your Function.php And Paste This Code Below 👇

 

if(has_post_thumbnail())
{ the_post_thumbnail();}

&

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;
}

Then Proceed To Your Except-default And Paste This

 

<imgsrc="<?php%20echo%20thumb(); ?>" alt="blablabla" />

 

Then We Are Done.