Just to say it before anyone complains. This is my first public released plugin for WordPress and I´m not used to write english posts as you can tell if you look around a bit.
What´s this all about?
- It´s not to easy to read. Especially for people that don´t speak HTML.
- If the code for embedding a poll gets changed in future you have to look through all your posts with polls and update it.
- Your feed subscribers could by chance not be able to view the poll, because script tags are filtered by their feedreader. If this is the case and you are using this plugin a fallback will be shown with a link to the original post.
So, where to get the plugin?
At this very moment it isn´t listed in the Plugin Directory at WordPress. So you can only download it from here.
How do I install the plugin now?
That´s as easy as always with WordPress. Unpack the archive, upload it to your
wp-content directory and activate it at the plugins page.
I installed it. How do I embed polls?
That´s really easy. Just add the shortcode
[ twtpoll] with the attribute
id anywhere in your post (without spaces). After this the poll will be shown at this exact position.
For now it is not possible to read and copy the ID of your poll from anywhere on Twtpoll. Sounds confusing, but you can get the ID if you take a look at the URL in your browsers address bar. The last part of it is the ID you need to include your poll. Just copy it and paste it within the shortcode, e.g.
[ twtpoll id="d6iby3"] (without spaces).
Nope. Not really. I just hope you have fun with this plugin and my English wasn´t too bad. If you encounter any spelling or grammar errors please share this knowledge with me in the comments.
One more thing. If you have a nice idea to extend the plugin don´t hesitate to let me know in the comments. I appreciate every feedback.