Grow your CSS skills. Land your dream job.

Sidebar in WordPress .. How?

  • Anonymous
    # February 20, 2012 at 6:23 pm

    Alright, I am working on a new layout for my personal webpage. I use WordPress for content management. I’d like to include a sidebar with some information, links to social sites like twitter and perhaps a book recommend image (sort of like: http://srobbin.com/).

    An example of the kind of sidebar I’m thinking of is: http://www.thefoxisblack.com/

    What is the best way to do this? In the past, before I used wordpress, I would include the information in the html of the site. I’d like to be able to edit the content in the sidebar via wordpress. Is it possible to create a specific page in wordpress and code the template to have that page displayed on other pages and entries? I searched around for a tutorial on this but haven’t found anything. Any help would be great. Thanks!

    # February 20, 2012 at 9:26 pm

    WordPress comes with a feature called widgets which are simple to use to say the least, see the below two links which explain how to use and create them.

    http://codex.wordpress.org/WordPress_Widgets

    http://codex.wordpress.org/Widgetizing_Themes

    Anonymous
    # February 20, 2012 at 11:03 pm

    If I want to use the widgets to put content into my sidebar, do I simply inset the following code where I want the widgets to appear?



    Is there anything else I’d need to include? Is it necessary to use a sidebar.php file?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".