this is not easy !
before create a backup.
see this link : http://www.tastyplacement.com/add-sidebar-wordpress
Yes, as shandiz stated is it not easy. Specially on a pre-existing theme. If you really want to go through with this you will want to start of by creating a child theme so you won’t lose any modifications if the theme when the theme gets updated.
Warning: You will have to know PHP, CSS and HTML and be confident about it. 🙂
The next thing you will want to do is register the sidebar(s) in your functions file. You will then have to modify a few PHP files to include that sidebar and add HTML as well. The last step is to style it CSS and make sure that everything still looks the way it should.
Thanks for the replies.
I managed to get a sidebar to display but in the main contents part of the site. How do I move it over to the left?
Do I call the sidebar from the pagetemplate file or contents.php?
And then as the css is using wrappers, how would i go about style/positioning?
- The topic ‘Adding Sidebar’ is closed to new replies.