I want to show left and right sidebars, for that i created one new sidebar and able to add widgets also. But unable to display at right side ,but it is displaying at bottom of my page after all posts.
I want to display like left sidebar - post content - right sidebar.
added following code in functions.php
register_sidebar(array(
'name' => 'sidebar-right',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => ''
));
created sidebar-right.php with following code
`
</div><!-- #secondary -->`
Added following code in style.css
#sidebar-right {
float: right;
margin-left: -100%;
max-width: 413px;
position: relative;
width: 29.4118%;
}
Added following code in index.php
<?php get_sidebar(); ?>
<?php get_sidebar("right"); ?>
<?php get_footer(); ?>
Kindly help some one. This is my first post in the forum.