Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
- <div id="secondary" class="widget-area" role="complementary">
- <?php dynamic_sidebar( 'sidebar-2' ); ?>
- </div><!-- #secondary -->
- <?php endif; ?>
- add_action( 'init', 'register_my_menus' );
- function register_my_menus() {
- register_nav_menus(
- array(
- 'menu-1' => __( 'Head' )
- )
- );
- }
- <?php wp_nav_menu( array( 'theme_location' => 'menu-1' ) ); ?>
- <?php get_sidebar( 'customtemplate' ); ?>
- <?php get_sidebar('sidebar2');?>
- Float:left;
- width:20%;
- display:block;
- margin-right:20px;
- float: left;
- width: 65%;
- display: block;
- margin-right: 20px;
- margin-left: 20px;
- display: block;
- float: left;
- width: 15%;
- margin-left: 20px;
- <?php do_action( 'before_sidebar' ); ?>
- <?php if ( ! dynamic_sidebar() get_sidebar() ); ?>
- </div>
- </div><!-- #sidebar -->
- </div>
- </div><!-- #sidebar2 -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement