Forums
Home / Fixing WordPress / Help modifying sidebar to dynamic
(@probably_stumped)
14 years, 10 months ago
Hi there
I’m trying to do a quick site to help my friend for his music.
The theme I’m using doesn’t use a dynamic sidebar. I need one to use the widget feature….
This is the theme…. can anyone tell me which code to replace? I’m thinking it’s a matter of tweaking the functions.php as well as sidebar.php
http://www.freethemelayouts.com/showcase/creativeart-theme/
Many thanks in advance
(@t31os_)
The theme registers 2 sidebars via the functions file already, all you need to do is add conditional statements in the sidebar.php …
Here’s an example one (it’s a modified sidebar.php from that theme)…
http://wordpress.pastebin.com/m431b062a
Then of course ensure you have active widgets via the admin… 🙂