Adding subtitle to your wordpress post

Adding subtitle to your wordpress post For adding post subtitle simple place the below code in your theme template or wherever you like. <?php { $subtitle = get_post_meta ($post->ID, ‘subtitle’, $single = true); if($subtitle !== ”) echo $subtitle;} ?> After this you have to go to your post then create a custom field named “subtitle” …

Display a Widget in WordPress Theme

Display a Widget in WordPress Theme It’s really a simple process. For doing so Just follow the process bellow First Declayer it in the theme function like bellow ====================================== <?php if  ( function_exists (‘register_sidebar’)) register_sidebar (array( ‘name’ => __( ‘widget name’, ‘theme name ), ‘before_widget’  => ‘ ‘ , ‘after_widget’  => ‘ ‘ ‘before_title’  => …

CSS 3 Web fonts

CSS 3 Web fonts Now here is simple font replacement alternative for cuffon. You can use CSS3 fontface property. It’s easy to use. At first you have to put the original font in to a folder. Then delayer the @font-face property at the css like bellow @font-face { font-family: ab; src: url(‘fonts/Oswald.ttf’)} Here you have to name the …

Removing default domain index page

Sometimes it happens that you uploaded your web site to your server but it still getting the default page that was assigned by the hosting company. To achieve your actual index page you have to change the nameserver for that domain if you have bought the domain from a company and hosting to other company. Anyway, …