Quantcast
Channel: User Matthias Pfefferle - Stack Overflow
Viewing all articles
Browse latest Browse all 24

Answer by Matthias Pfefferle for Adding two sidebars in wordpress child theme

$
0
0

You can add both sidebars to the sidebar.php of your childtheme and arrange them per css.

// your sidebar<div id="left-sidebar"><?php dynamic_sidebar( 'sidebar-left' ); ?></div><!--#left-sidebar-->// original sidebar<div id="sidebar"><?php dynamic_sidebar( 'sidebar' ); ?></div><!--#sidebar-->

Be sure to add both sidebars because the sidebar.php of your child theme overwrites the original one.


Viewing all articles
Browse latest Browse all 24

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>