Columns == Sidebars in WP theme? |
|
Tom Campbell
|
I created a WordPress theme with two columns, a main section and a narrow one on the right.
How will I get content into the right column from WordPress? Are side columns in a WordPress actually WordPress sidebars, accessible only using widgets?
|
|
Marc Smith
|
Sidebars in Wordpress usually contain widgets. Wordpress and many plug ins give you widgets that can be placed into those sidebars.
You can also add code to the sidebar.php file in certain places. Editing that file, however, should be done with care, since it has functionality in it that 'talks' to Wordpress.
Hope this helps
|
|
Tom Campbell
|
Thanks, Marc.
|
|
Garry
|
Columns are called sidebars in wordpress, you can create as many columns as you want, it is done through sidebar.php an inbuilt template in wordpress. If you need a single sidebar it can be achieved by directly calling sidebar.php but if you need more sidebars you need to custom design them and call the through "TEMPLATEPATH" in your index.php, you can give desired name to each of them
|
|
|
|