News Update :
Home » » Site-info ViWeb

Site-info ViWeb

By: Unknown on Friday, 13 February 2015 | 12:11

Without translation:

ss = " Site -info ">
& copy; All rights reserved sitename <? Php echo time (' Y') ?> | <a Target="_blank"> href="http://creationsiteweb.ca" Design <img src = " http://creationsiteweb.ca/ social_signature / signature.png "> </a>
</ div > <! - .site -info ->

 






 With translation:

="site-info">
<?php _e( '&copy Tous droits réservés NomDuSite', 'theme-text-domain' ); ?> <?php echo date('Y')?> | <a href="http://creationsiteweb.ca" target="_blank">Conception <img src="http://creationsiteweb.ca/social_signature/signature.png"></a>
</div><!-- .site-info -->

3 widgets

Add to functions.php (3 records widgets)

register_sidebar( array(
        'name' => __( 'Pied de page 1', 'twentytwelve' ),
        'id' => 'sidebar-4',
        'description' => __( 'Pied de page 1', 'twentytwelve' ),
        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
        'after_widget' => '</aside>',
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',
) );

register_sidebar( array(
        'name' => __( 'Pied de page 2', 'twentytwelve' ),
        'id' => 'sidebar-5',
        'description' => __( 'Pied de page 1', 'twentytwelve' ),
        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
        'after_widget' => "</aside>",
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',
) );

register_sidebar( array(
        'name' => __( 'Pied de page 3', 'twentytwelve' ),
        'id' => 'sidebar-6',
        'description' => __( 'Pied de page 3', 'twentytwelve' ),
        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
        'after_widget' => "</aside>",
        'before_title' => '<h3 class="widget-title">',
        'after_title' => '</h3>',

In footer.php , add the code below the line ' footer id = " colophon " role = " contentinfo "

/* footer sidebar */
if ( ! is_404() ) : ?>
         <div id="footer-widgets" class="widget-area three">
                 <?php if ( is_active_sidebar( 'sidebar-4' ) ) : ?>
                         <?php dynamic_sidebar( 'sidebar-4' ); ?>
                 <?php endif; ?>

                 <?php if ( is_active_sidebar( 'sidebar-5' ) ) : ?>
                         <?php dynamic_sidebar( 'sidebar-5' ); ?>
                 <?php endif; ?>

                 <?php if ( is_active_sidebar( 'sidebar-6' ) ) : ?>
                         <?php dynamic_sidebar( 'sidebar-6' ); ?>
                 <?php endif; ?>
         </div><!-- #footer-widgets -->

       <?php endif; ?>

Add in the style.css sheet

* ===[ Footer Widget Areas ]=== */
.site-info { clear: both; }
#footer-widgets {
width: 100%;
border-top: none;
}
#footer-widgets .widget li { list-style-type: none; }
.template-front-page #footer-widgets { padding-top: 0; }
@media screen and (min-width: 600px) {
#footer-widgets.three .widget {
float: left;
margin-right: 3.7%;
width: 30.85%;
clear: none;
}
#footer-widgets.three .widget + .widget + .widget { margin-right: 0; }
}
/* for IE8 and IE7 */
.ie #footer-widgets.three .widget {
float: left;
margin-right: 3.7%;
width: 29.85%;
clear: none;
}
.ie #footer-widgets.three .widget + .widget + .widget { margin-right: 0; }
 
Contact Us | Privacy policy | Term of use | Advertise with Us | Site map
Copyright © 2011. Blogging Brain . All Rights Reserved.
Design Template by Blogging Brain | | Powered by Blogger