WP ULike - Version 1.4

Version Description

  • Added: Shortcode support.
Download this release

Release Info

Developer alimir
Plugin Icon 128x128 WP ULike
Version 1.4
Comparing to
See all releases

Code changes from version 1.3 to 1.4

Files changed (3) hide show
  1. inc/wp-functions.php +6 -0
  2. readme.txt +10 -2
  3. wp-ulike.php +1 -1
inc/wp-functions.php CHANGED
@@ -99,6 +99,12 @@
99
  </style>
100
  ";
101
  }
 
 
 
 
 
 
102
 
103
  //add ULike button to the posts
104
  if (get_option('wp_ulike_onPage') == '1') {
99
  </style>
100
  ";
101
  }
102
+
103
+ //Shortcode function
104
+ function wp_ulike_shortcode(){
105
+ return wp_ulike('put');
106
+ }
107
+ add_shortcode( 'wp_ulike', 'wp_ulike_shortcode' );
108
 
109
  //add ULike button to the posts
110
  if (get_option('wp_ulike_onPage') == '1') {
readme.txt CHANGED
@@ -5,7 +5,7 @@ Author: Ali Mirzaei
5
  Tags: wp ulike, wordpress youlike plugin, like button, rating, vote, voting, most liked posts, wordpress like page, wordpress like post, wordpress vote page, wordpress vote post, wp like page, wp like post, wp like plugin
6
  Requires at least: 3.0
7
  Tested up to: 4.0
8
- Stable tag: 1.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -26,6 +26,7 @@ WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordP
26
  * Visitors do not have to register or log in to use the Like Button.
27
  * Compatible with WP version 3.0 & above.
28
  * Added automatically (no Code required).
 
29
  * Simple user like box with avatar support.
30
  * Custom Like-Dislike Texts.
31
  * Simple custom style with color picker settings.
@@ -35,7 +36,11 @@ WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordP
35
  * And so on...
36
 
37
  = How To Use? =
38
- * Just install the plugin and use `<?php if(function_exists('wp_ulike')) wp_ulike('get'); ?>` function or activate the "automatic display" in plugin configuration panel.
 
 
 
 
39
 
40
  = Translations =
41
  * English
@@ -59,6 +64,9 @@ Screenshots are available in <a href="http://preview.alimir.ir/wp-ulike-plugin"
59
 
60
  == Changelog ==
61
 
 
 
 
62
  = 1.3 =
63
  * Added: Custom style with color picker setting. (for button and counter box)
64
  * Added: Chinese Tradition (zh_TW) language. (Thanks to Arefly)
5
  Tags: wp ulike, wordpress youlike plugin, like button, rating, vote, voting, most liked posts, wordpress like page, wordpress like post, wordpress vote page, wordpress vote post, wp like page, wp like post, wp like plugin
6
  Requires at least: 3.0
7
  Tested up to: 4.0
8
+ Stable tag: 1.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
26
  * Visitors do not have to register or log in to use the Like Button.
27
  * Compatible with WP version 3.0 & above.
28
  * Added automatically (no Code required).
29
+ * Shortcode support.
30
  * Simple user like box with avatar support.
31
  * Custom Like-Dislike Texts.
32
  * Simple custom style with color picker settings.
36
  * And so on...
37
 
38
  = How To Use? =
39
+ Just install the plugin and use this function:
40
+ `<?php if(function_exists('wp_ulike')) wp_ulike('get'); ?>`
41
+ <strong>OR</strong> this shortcode:
42
+ `[wp_ulike]`
43
+ <strong>OR</strong> activate the "automatic display" in plugin configuration panel.
44
 
45
  = Translations =
46
  * English
64
 
65
  == Changelog ==
66
 
67
+ = 1.4 =
68
+ * Added: Shortcode support.
69
+
70
  = 1.3 =
71
  * Added: Custom style with color picker setting. (for button and counter box)
72
  * Added: Chinese Tradition (zh_TW) language. (Thanks to Arefly)
wp-ulike.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name:WP ULike
4
  Plugin URI: http://wordpress.org/plugins/wp-ulike
5
  Description: WP ULike plugin allows to integrate Like Button into your WordPress website to allow your visitors to like pages and posts. Its very simple to use and support a widget to display the most liked posts.
6
- Version: 1.3
7
  Author: Ali Mirzaei
8
  Author URI: http://about.alimir.ir
9
  Text Domain: alimir
3
  Plugin Name:WP ULike
4
  Plugin URI: http://wordpress.org/plugins/wp-ulike
5
  Description: WP ULike plugin allows to integrate Like Button into your WordPress website to allow your visitors to like pages and posts. Its very simple to use and support a widget to display the most liked posts.
6
+ Version: 1.4
7
  Author: Ali Mirzaei
8
  Author URI: http://about.alimir.ir
9
  Text Domain: alimir