Monthly Archives: December 2014

Top 20 free WordPress themes of 2014

This year has end so fast now its time to check out some top free WordPress themes. So we have selected top 20 best free WordPress themes which make his stand in WordPress market. Each theme has special in its class and have their attractive look. In this year there has lots of free WordPress themes released but few of them are shining like a star. Lets take a look of them hope you like this.

1) Arcade

arcade


2) SKT Full Width

full-width


3) Moesia

moesia


4) Lensa

lensa


5) Nerocity

nerocity


6) BoldR lite

boldr-light


7) Ex Astris

ex-astris


8) Exclusive

exclusive


9) Dazzling

dazzling


10) RestImpo

restimpo


11) Accesspress Lite

accesspress


12) A InterStellar

interstellar


13) Zenith

zenith


14) Polar Media

polar


15) Folder

folder


16) Thoughts

thoughts


17) MyStile

mystile


18) EBUY

ebuy


19) Shuttershot

shuttershot


20) Uturn

uturn


Add custom background in WordPress theme

Custom background is a WordPress feature that allows you to customize background color/image from backend. Custom background gives your blog to a nice look. You can add default color and image. For enable custom background you have to use this function in your function.php file within themeslug_setup() function.

add_theme_support( 'custom-background' );

After using this you can see the background menu option under appearance menu. Make sure you theme header file have body_class() inside body tag and wp_head(); within the head tag like this:

<body <?php body_class(); ?>>

So whenever you can add background color or image this function can generate a style within head tag and it will override your theme stylesheet. Now let me show you some functions which allows you set up default color and image.



Here is the full code:

$custom_bg = array(
	'default-color'          => '',
	'default-image'          => '',
	'default-repeat'         => '',
	'default-position-x'     => '',
	'default-attachment'     => '',
	'wp-head-callback'       => '_custom_background_cb',
	'admin-head-callback'    => '',
	'admin-preview-callback' => ''
);
add_theme_support( 'custom-background', $custom_bg);

Hope you like this article. We welcomes your question and comments.
Thanks for reading.