Descripció
Inspired by Facemash, Facebook’s predecessor, this plugin sets up two items next to each other and lets visitors choose which one they favor. Each ‘vote’ adjusts the rating of both items. You can then easily create lists with your visitors favorite items. [Updated Fix for WordPress 4.1]
See this plugin in action.
Works with content already on your site!
Start by using what you’ve already got. The This-or-That plugin works with any post type already on your website like your blog posts, photos, recipies, or WooCommerce products.
Item Manager
If you want to keep your This-or-That items seperate thats no problem. This plugin creates a seperate section in your Admin where you can create and manage your ‘This-or-That’ items. You can even sort them by ranking, wins, and losses.
Easy Implementation
If you’ve added some This-or-That items, the only thing left to do is add the shortcode [thisorthat]
to a page. Displaying the ranking lists is just as easy: [thisorthat_ranking]
. Please see the FAQ for some extra options like showing post-types or categories.
Elegant AJAX Interface
The plugin comes with an elegant, user-friendly voting interface. Items will automatically get updated without a page-refresh and you can even vote using your left and right keys on your keyboard.
Create Lists per Category
Show lists from your different categories or custom taxonomies.
Uses the ELO Rating system
This-or-That uses the ELO Rating System, created to rank chess players but now used in a variety of fields.
Be Creative!
There are plenty of ways to use this plugin; get some insight in what your visitors like or let them engage with your sites content. Some stuff you might want to use this plugin with:
- Recipies
- Woocommerce Products
- Holiday Images
- Simpsons Episodes
- Design Proposals
- Artworks
- Books
- Etc…
Read more on the plugin website.
Captures
Instal·lació
- Unzip and upload the “this-or-that” folder to the “/wp-content/plugins/” directory.
- Activate the plugin through the “Plugins” menu in WordPress.
- Add items to the new This-or-That post type in your admin screen. Don’t forget the featured image!
- Add the shortcode
[thisorthat]
to the page where you want people to compare the different items - Add the shortcode
[thisorthat_ranking]
to the page where you want to view the ranking list.
PMF
- How do I get started
-
You can use the plugin anywhere in your websites content. First make sure you have some content to compare by adding items to the This-or-That post-type in the Admin. Make sure to add some featured images! When this has been done, you can add the shortcode
[thisorthat]
to any of your posts or pages. - How do I display the ranking list
-
This van be done by using the shortcode
[thisorthat_ranking]
. - How to use my own Posts types?
-
Add a ‘posttype’ variable to your shortcode. Example:
[thisorthat posttype="product"]
. - How can I use a certain category?
-
Add a ‘category’ variable to your shortcode. Example:
[thisorthat category="holiday_pics"]
.
By deafult, This-or-That will use the categories set under the This-or-That amin item. If you use a different post-type, it will generally have a different taxonomy. Therefore, you have to set which taxonomy you want to use.For example, if you want compare a category from WooCommerce you should use[thisorthat taxonomy="product_cat" category="Sweaters"]
- How do I customize the ‘voting’ appearance?
-
You can control which elements you want to show through a couple of true or false variables. These are:
show_image : Shows the posts featured image (default: *true)
show_title : Shows the post title (default: *true)
show_excerpt : Shows the exceprts of the posts content (deafult: *false)
show_score : Shows the items ranking (default: *false) - How do I change the thumbnail size?
-
You can use the thumb_size variable. Example
[thisorthat thumb_size="medium"]
. It uses any thumbnail size you use in your website. WordPress by default supports: thumbnail, medium, large, or full.
Ressenyes
Col·laboradors i desenvolupadors
«This-or-That» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.
Col·laboradorsTraduïu «This-or-That» a la vostra llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.
Registre de canvis
1.0
- Initial release.
1.0.1
- Readme.txt changes.
1.0.2
- Readme.txt changes.
1.0.3
- Fixed several Javascript bugs. With help from gdibble.