Default Image For All Colorlabs Themes


I believe that all of my blog readers are a website owner or a developer who spent a lot of their times into it. A website or a blog without an image will looked like awful, is it true?

As what as i’ve heard, an image will contribute quite high enough to help your audience, customers, or anything you want to call them to recognize your whole post a little just by looking into it.

For example, if you write about an e-Commerce with more than 1000 words, is there anyone willing to read it? It is depends on the image added into your post. If the image is good enough, or attractive, for sure if more people will be engaged to read it.

Now, let’s get back into the topic. As you know, Colorlabs have a lot of themes for your every needs. From Job board, classified ads, blog, etc. Some of them have a feature that allowing your customers to submit their content from the main page. Let say if you are using Jobifier, your customers/visitors will be allowed to submit their own job listing from the main page.

If you check into the Jobifier main page, it will displaying the logo of the jobs at the left side on it. The question now, how if somehow your customers forgot to add their own image? The layout of your whole site will be bad isn’t it?

Imagine if the same case happened to your magazine site, let say if you are using Magnus and forget to add an image into it?

At this post, i will share to you all about how to create an option that will work on all Colorlabs themes to help you create a default image. This default image will automatically displayed if you don’t have or forget to add an image into your posts, custom post type, etc. while using Colorlabs themes.

Ok, the step is very simple, you just need to go to: FTP > wp-content > themes > your-theme-folder > includes. Open a file named theme-options.php and find out this code:

$options[] = array( "name" => __("Thumbnail Settings","colabsthemes"),
					"type" => "heading",
					"icon" => "image");

Once you find it, put this code below it:

$options[] = array( "name" => "Default Thumbnail",
					"desc" => "You can upload your default thumbnail here. Default thumbnail will shows if your post doesn't have any image in it. Or you don't set the image using Custom Field or Featured Image. ",
					"id" => "framework_colabs_default_image",
					"std" => "",
					"type" => "upload");  	

Once you are done with it, you can go to: WordPress dashboard > Your Theme Dashboard > Thumbnail Settings. You should have a new option to upload your default image.

Upload your image there and it will start working. Have a nice day 🙂


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s