In setting up this semester’s theme, which is the foundation for your web designs, I omitted a line of code that affects how your polls displays. Here are the steps to fix my error on your sites:
- In the Admin section of your site, go to Presentation -> Theme Editor
- From the files listed on the right side of the page, click on “Header,” which will bring up the header.php document in the editing textarea.
- Scroll down to the end of the head section, marked by the closing </head> tag, and paste this code right above that tag:
<?php wp_head(); ?>
- Click the Update File button.
In addition, I have discovered that this version of the Democracy plug-in inserts some extra div tags when you use the shortcuts we discussed in class. I actually, think this is a WordPress limitation, but that’s another story. To not have extra divs added, you can do this while adding polls and then switch back after you’ve added the polling code.
- In the Admin section of your site, go to Users -> Your Profile
- At the bottom of that admin page, there is a checkbox that says, “Use the visual rich editor when writing.” Uncheck that checkbox and click the Update Profile button to save this option. You can reverse this action when you’re done.
- Go to Options -> Writing
- Uncheck the box that says, “WordPress should correct invalidly nested XHTML automatically.”
In theory, your polls will no longer be messed up, but if you still have problems, try using Safari to edit just those posts that have polls.
One other problem you’ve had is that the polls all show up as having been voted. This is a problem I ran into last semester that I forgot about. Under Manage -> Democracy Poll, go down to General options and uncheck the box that says, “Log IPs.” Also change the number of days before a cookie expires from 365 days to 0 days. You will also need to delete the cookies related to the Democracy plug-in in your browser of choice for the items to show up correctly.