MEMEdex Poll Plugin for Wordpress 2.0+
The MEMEdex Wordpress plugin allows simple embedding of polls into your Wordpress posts. Polls can be embedded into posts with a simple tag (works in the WYSIWYG editor).
Installation
- Download memedex_wordpress.zip and uncompress.
- Copy memedex.php and memedex.class.php to your /wp-content/plugins/ folder.
- Activate the plugin from your "Plugins" menu in wordpress
Use
Simply type in a [memedex:] tag where you want to put a poll. The [memedex:] tag takes a couple parameters, and is of the following form:
[memedex: p1#p2#p3#p4]
Each paramter is separated by #. Tags can have 0, 2, 3 or 4 parameters.
- P1: The request type. Either username, pollid, category, keyword, or random
- P2: The request value. If you selected username, for example, this is where you enter the username you want a poll from. If you entered pollid for P1, this is where you enter the poll id.
- P3: width (uncommon, but use if you need to customize the size of the flash object)
- P3: height (uncommon, but use if you need to customize the size of the flash object)
Examples
To embed a random poll from user stromdotcom:
[memedex: username#stromdotcom]
To embed the poll with id 476777:
[memedex: pollid#476777]
To embed a random poll:
[memedex:]
Workflow
The typical workflow for embedding polls is:
- Create poll at MEMEdex
- Grab poll id
- Create Wordpress post.
- Include [memedex:] tag in your post
For sites that heavily focus on polling, we anticipate that the username option will be used in the sidebar version. You can include a username selected poll in the sidebar using the template tag as follows:
<?php get_memedex_embed_poll("username","stromdotcom"); ?>
(replace stromdotcom with your MEMEdex username) |