Tento plugin nebol testovaný s najnovšími 3 hlavnými vydaniami WordPress. Už nemusí byť udržiavaný alebo podporovaný a môže mať problémy s kompatibilitou pri použití s novšími verziami WordPress.

Love It

Popis

Love It is a simple plugin that adds a „Love It“ link to your posts, pages, and custom post types. It works similar to Facebook’s Like button, but is exclusive to your website. It provides a great way for users to show their appreciation, and for you to gain a good idea of which posts are your most popular.

The plugin includes a simple widget to show your „Most Loved“ items.

This plugin is based of the tutorial I published on creating a simple Love It plugin

The demonstration video for the tutorial and the plugin is below:

An improved Pro version of the plugin is available. Features of the pro version include:

  • Show Love It links automatically
  • Track your most popular posts, pages, and custom post types
  • Setup in less than 5 minutes
  • Enabled / disable for every registered post type
  • Customize the text displayed for links and „already loved“ messages
  • Users can only love posts/pages once
  • Works for logged-in and logged-out users
  • Most Loved widget included
  • No coding necessary
  • Custom CSS option for advanced users
  • Embed help documentation in plugin settings
  • Easy to use template tags for developers

Inštalácia

  1. Upload love-it to wp-content/plugins
  2. Click „Activate“ in the WordPress plugins menu
  3. A „Love It“ link will be automatically added to the bottom of all posts / pages
  4. Love It links are displayed to logged-in users only.

Časté otázky

Can non-logged-in users Love items?

No, not at this time. The ability for non-logged-in users to Love items with JS cookies will be added to the pro version soon.

Can I enabled the Love It link on only some post types?

In the pro version you can.

Recenzie

Prečítať 2 recenzie

Prispievatelia a vývojári

“Love It” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.

Prispievatelia

Preložiť „Love It“ do vašho jazyka.

Máte záujem o vývoj?

Prehľadávajte zdrojový kód, preskúmajte SVN repozitár, alebo sa prihláste na odber vývojárskeho logu cez RSS.

Zoznam zmien

1.0.5

  • Fix: PHP 4 style constructors
  • Fix: Undefined indexes when first adding widget to sidebar

1.0.4

  • Tested for compatibility with WordPress 4.0
  • Added missing esc_attr() calls

1.0.3

  • Added new li_display_love_links_on filter that can be used to modify the post types the Love It links display on
  • Load the text domain on „init“

1.0.1

  • Added the li_love_link($love_text = null, $loved_text = null) function
  • Made it so the li_love_link() function can be used on index / archive pages
  • Updated to JS to work with archive views

1.0

  • Initial release