WordPress Tutorials 2015: How To Add A Sidebar Widget To A Theme

WordPress Tutorials 2015: How To Add A Sidebar Widget To A Theme


#Wordpress Tutorials: How to add sidebar to your themes.
i used simone theme which i downloaded it from
which come with one sidebar..first we create a new file .php we call it sidebar-left.php then we copy the default sidebar.php code and past it in sidebar-left.php. change the style class to “widgetarea2” then below in php code change the sidebar-1 to sidebar-3 then go to functions.php we find function call yourthemename_widget_init()
we register our new sidebar ,, we copy the first part code in this function and paste at bottom then change name to sidebar left and id to sidebar-3 …save it.. we go to page.php we call it after header same method for index.php and archive.php …the we go to style.css and add a new sidebar style by copying formal sidebar style and rename it done
please feedback or have any question just ask i will be happy to reply your feedback.. thank you!!
-How to add a #sidebar #widget to a wordpress page
-wordpress custom sidebar
set sidebar wordpress
sidebar wordpress plugin
sidebar image wordpress pub
wordpress call a sidebar
sidebar logo wordpress
stack sidebar wordpress

2 Comments

2 Replies to “WordPress Tutorials 2015: How To Add A Sidebar Widget To A Theme”

  1. there are many wordpress theme that allow you to add right and left sidebars without using the .php files

Comments are closed.