treehouse : what would you like to learn today?
Web Design Web Development iOS Development

poll widget in WordPress

  • I'm trying to build my first theme on Wordpress and I'm stuck on the sidebar.

    I'm trying to style the widgets. It seems you can add widgets through the Wordpress dashboard by dragging them to the widget area, but I'm trying to figure out how to add them manually to the code so I could style them.

    Is there a way I could figure out what tag to use for example to add the wp-poll widget to the sidebar (manually)? I downloaded the wp-polls plug in and I'm able to add it in the dashboard but I can't figure out how to style that widget individually.

    thanks in advance.
  • Do you have firebug? Just inspect the element, and get the class from the add-on. You can style it easily using that.
  • ok that works. thanks.

    So whenever you download a plugin you have to add it to the sidebar through the dashboard?
  • That is how I do it. I am sure that some allow you to use short code to add it directly into the site, but it is easier to drag it in and style using firebug or developer tools in Chrome.