Changeset 1865655
- Timestamp:
- 04/28/2018 02:13:40 AM (8 years ago)
- Location:
- recommender/trunk
- Files:
-
- 11 edited
-
assets/js/admin-scripts.js (modified) (2 diffs)
-
classes/Helper.php (modified) (1 diff)
-
classes/Init.php (modified) (2 diffs)
-
classes/Recommender.php (modified) (1 diff)
-
classes/Widget.php (modified) (6 diffs)
-
composer.json (modified) (1 diff)
-
index.php (modified) (1 diff)
-
langs/recommender-fa_IR.mo (modified) (previous)
-
langs/recommender-fa_IR.po (modified) (10 diffs)
-
langs/recommender.pot (modified) (3 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
recommender/trunk/assets/js/admin-scripts.js
r1612970 r1865655 10 10 if(method == 'recommend') { 11 11 recommend.show(); 12 } else if(method == 'termBasedRecommendInclusive') { 13 recommend.show(); 12 14 } else { 13 15 recommend.hide(); … … 16 18 if(method == 'similarity') { 17 19 similar.show(); 20 } else if(method == 'termBasedRecommendInclusive') { 21 similar.show(); 22 } else if(method == 'termBasedSimilarityInclusive') { 23 similar.show(); 18 24 } else { 19 25 similar.hide(); -
recommender/trunk/classes/Helper.php
r1720145 r1865655 105 105 } 106 106 107 public static function get_terms( $post_id ) 108 { 109 $taxonomies = [ 'post_tag', 'product_tag' ]; 110 $args = [ 'orderby' => 'term_id', 'fields' => 'slugs' ]; 111 112 $get_terms = wp_get_object_terms( $post_id, $taxonomies, $args ); 113 114 return $get_terms; 115 } 116 107 117 public static function change_array_dash_to_underline( $array ) 108 118 { -
recommender/trunk/classes/Init.php
r1720145 r1865655 147 147 $nocheck = true; 148 148 149 $taxonomies = [ 'post_tag', 'product_tag' ]; 150 $args = [ 'orderby' => 'term_id', 'fields' => 'slugs' ]; 149 $get_terms = Helper::get_terms( $post_id ); 151 150 152 $get_terms = wp_get_object_terms( $post_id, $taxonomies, $args );153 151 if( !is_array( $get_terms ) ) return; 154 152 … … 183 181 $nocheck = true; 184 182 185 $taxonomies = [ 'post_tag', 'product_tag' ]; 186 $args = [ 'orderby' => 'term_id', 'fields' => 'slugs' ]; 183 $get_terms = Helper::get_terms( $post_id ); 187 184 188 $get_terms = wp_get_object_terms( $post_id, $taxonomies, $args );189 185 if( !is_array( $get_terms ) ) return; 190 186 -
recommender/trunk/classes/Recommender.php
r1720145 r1865655 116 116 } 117 117 118 public function get_termBasedRecommendInclusive( $args ) 119 { 120 global $post; 121 extract( $args ); 122 123 if( !$post->ID && !$post_ids ) return; 124 125 $item = ( $post_ids ) ? explode( ',', $post_ids ) : [ $post->ID ]; 126 127 $post_id = $item[0]; 128 $terms = Helper::get_terms( $post_id ); 129 130 if( !is_array( $terms ) ) return; 131 132 $terms = array_slice( $terms, 0, 3 ); // Recommender.ir needs only 3 items 133 $terms = Helper::change_array_dash_to_underline( $terms ); 134 135 $term = implode( '/', $terms ); 136 137 $method = 'termBasedRecommendInclusive/'.$this->user_id.'/'.$term; 138 $options = compact( 'dither', 'radius' ); 139 140 $recommends = $this->recommender_method( $method, $options ); 141 142 $items = Helper::get_ids( $recommends ); 143 144 return array_slice($items, 0, $howMany); 145 } 146 147 public function get_termBasedSimilarityInclusive( $args ) 148 { 149 global $post; 150 extract( $args ); 151 152 if( !$post->ID && !$post_ids ) return; 153 154 $item = ( $post_ids ) ? explode( ',', $post_ids ) : [ $post->ID ]; 155 156 $post_id = $item[0]; 157 $terms = Helper::get_terms( $post_id ); 158 159 if( !is_array( $terms ) ) return; 160 161 $terms = array_slice( $terms, 0, 3 ); // Recommender.ir needs only 3 items 162 $terms = Helper::change_array_dash_to_underline( $terms ); 163 164 $item = 'wp-'.$post_id; 165 $term = implode( '/', $terms ); 166 167 $method = 'termBasedSimilarityInclusive/'.$item.'/'.$term; 168 169 $similarities = $this->recommender_method( $method ); 170 171 $items = Helper::get_ids( $similarities ); 172 173 return array_slice($items, 0, $howMany); 174 } 175 118 176 public function termItemAdd( $args ) 119 177 { -
recommender/trunk/classes/Widget.php
r1720145 r1865655 32 32 33 33 $post_ids = ''; 34 if ( $method == 'similarity' )34 if ( $method == 'similarity' || $method == 'termBasedSimilarityInclusive' ) 35 35 { 36 36 $queried_object = get_queried_object(); 37 $post_id = $queried_object->ID;38 37 39 $post_ids = ' post_ids="'.$post_id.'"'; 38 if ( $queried_object ) { 39 $post_id = $queried_object->ID; 40 41 $post_ids = ' post_ids="'.$post_id.'"'; 42 } 40 43 } 41 44 … … 59 62 $instance['radius'] = ! empty( $new_instance['radius'] ); 60 63 $instance['columns'] = strip_tags( $new_instance['columns'] ); 61 // $instance['category_display'] = ! empty( $new_instance['category_display'] );62 // $instance['category_label'] = strip_tags( $new_instance['category_label'] );63 64 $instance['image_size'] = ! empty( $new_instance['image_size'] ) ? 'thumbnail' : ''; 64 65 $instance['include_title'] = ! empty( $new_instance['include_title'] ); … … 97 98 $radius = strip_tags($instance['radius']); 98 99 $columns = isset($instance['columns']) ? $instance['columns'] : 1; 99 // $category_display = isset($instance['category_display']) ? $instance['category_display'] : 0;100 // $category_label = isset($instance['category_label']) ? $instance['category_label'] : 'دستهبندی: ';101 100 $image_size = isset($instance['image_size']) ? 1 : 0; 102 101 $include_title = isset($instance['include_title']) ? $instance['include_title'] : 1; … … 106 105 $excerpt_length = isset($instance['excerpt_length']) ? $instance['excerpt_length'] : 7; 107 106 108 $recommend_style = ( !$method || $method == 'recommend' ) ? 'display:block;' : 'display:none;';109 $similar_style = ( $method == 'similarity' ) ? 'display:block;' : 'display:none;';107 $recommend_style = ( !$method || $method == 'recommend' || $method == 'termBasedRecommendInclusive' ) ? 'display:block;' : 'display:none;'; 108 $similar_style = ( $method == 'similarity' || $method == 'termBasedRecommendInclusive' || $method == 'termBasedSimilarityInclusive' ) ? 'display:block;' : 'display:none;'; 110 109 ?> 111 110 <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title', 'recommender') ?>:</label> … … 124 123 <p><label for="<?php echo $this->get_field_id('how_many'); ?>"><?php _e('The number of items', 'recommender') ?>:</label> 125 124 <input class="widefat" id="<?php echo $this->get_field_id('how_many'); ?>" name="<?php echo $this->get_field_name('how_many'); ?>" type="number" value="<?php echo esc_attr($how_many); ?>" min="1" /></p> 126 127 125 128 126 <p class="recommend" style="<?php echo $recommend_style; ?>"><input id="<?php echo $this->get_field_id('dither'); ?>" name="<?php echo $this->get_field_name('dither'); ?>" type="checkbox" <?php checked($dither); ?> /> <label for="<?php echo $this->get_field_id('dither'); ?>"><?php _e('Dither', 'recommender') ?></label></p> … … 162 160 'recommend' => __('Recommend to user', 'recommender'), 163 161 'similarity' => __('Similar Items', 'recommender'), 162 'termBasedRecommendInclusive' => __('Term Based Recommend to user', 'recommender'), 163 'termBasedSimilarityInclusive' => __('Term Based Similar Items', 'recommender'), 164 164 'trendShortTime' => __('Short Period of Time Trends', 'recommender'), 165 165 'trendLongTime' => __('Long Period of Time Trends', 'recommender') -
recommender/trunk/composer.json
r1720145 r1865655 1 1 { 2 2 "name": "mahshad/wp-recommenderir", 3 "version": "1. 1.0",3 "version": "1.2.0", 4 4 "description": "Wordpress and Woocommerce Plugin for Recommender.ir", 5 5 "homepage": "https://github.com/mahshad/wp-recommenderir", -
recommender/trunk/index.php
r1720145 r1865655 5 5 * Plugin URI: https://wordpress.org/plugins/recommender/ 6 6 * Description: Wordpress and Woocommerce Plugin for Recommender.ir 7 * Version: 1. 1.07 * Version: 1.2.0 8 8 * Author: Mahshad Kalantari 9 9 * Author URI: http://mahshad.me/ -
recommender/trunk/langs/recommender-fa_IR.po
r1720145 r1865655 1 1 msgid "" 2 2 msgstr "" 3 "Plural-Forms: nplurals=1; plural=0;\n"4 3 "Project-Id-Version: Recommender Service\n" 5 "POT-Creation-Date: 2017-08-14 21:37+0430\n" 6 "PO-Revision-Date: 2017-08-15 00:13+0430\n" 4 "POT-Creation-Date: 2018-04-28 06:19+0430\n" 5 "PO-Revision-Date: 2018-04-28 06:24+0430\n" 6 "Last-Translator: Mahshad Kalantari <mopomoor@gmail.com>\n" 7 7 "Language-Team: \n" 8 "Language: fa_IR\n" 8 9 "MIME-Version: 1.0\n" 9 10 "Content-Type: text/plain; charset=UTF-8\n" 10 11 "Content-Transfer-Encoding: 8bit\n" 11 "X-Generator: Poedit 1.8.13\n" 12 "Plural-Forms: nplurals=1; plural=0;\n" 13 "X-Generator: Poedit 2.0.5\n" 12 14 "X-Poedit-Basepath: ..\n" 13 15 "X-Poedit-WPHeader: index.php\n" … … 16 18 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" 17 19 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n" 18 "Last-Translator: Mahshad Kalantari <mopomoor@gmail.com>\n"19 "Language: fa_IR\n"20 20 "X-Poedit-SearchPath-0: .\n" 21 21 "X-Poedit-SearchPathExcluded-0: *.js\n" … … 54 54 55 55 #: classes/Settings.php:47 56 #, php-format57 56 msgid "For example: <span dir=\"ltr\">http://192.168.0.1:1234</span>" 58 57 msgstr "مثلا: <span dir=\"ltr\">http://192.168.0.1:1234</span>" … … 78 77 #: classes/Settings.php:67 79 78 msgid "" 80 "If user is logged in with different devices, then the same cookie will be stored"81 " in each device."79 "If user is logged in with different devices, then the same cookie will be " 80 "stored in each device." 82 81 msgstr "" 83 82 "اگر کاربر با چند سیستم در سایت لاگین کند، در هر سیستم کوکی یکسانی ذخیره میشود." … … 109 108 #: classes/Settings.php:88 110 109 msgid "" 111 "If user is adding the product to cart, then some rate of interest will be ingested"112 " to recommender service."110 "If user is adding the product to cart, then some rate of interest will be " 111 "ingested to recommender service." 113 112 msgstr "" 114 113 "اگر کاربر محصولی به سبد خرید اضافه کند، میزانی از علاقهمندی برای او ثبت میشود." … … 120 119 #: classes/Settings.php:95 121 120 msgid "" 122 "If user likes the post, then some rate of interest will be ingested to recommender"123 " service."121 "If user likes the post, then some rate of interest will be ingested to " 122 "recommender service." 124 123 msgstr "اگر کاربر اقدام به لایک مطلب کند، میزانی از علاقهمندی برای او ثبت میشود." 125 124 … … 132 131 "The selector path of like button<br>For example: <span dir=\"ltr\">#somediv ." 133 132 "likebox a</span>" 134 msgstr "مسیر سلکتور دکمه لایک<br>مثلا <span dir=\"ltr\">#somediv .likebox a</span>" 133 msgstr "" 134 "مسیر سلکتور دکمه لایک<br>مثلا <span dir=\"ltr\">#somediv .likebox a</span>" 135 135 136 136 #: classes/Settings.php:106 … … 154 154 "sharebox a</span>" 155 155 msgstr "" 156 "مسیر سلکتور دکمه اشتراکگذاری<br>مثلا <span dir=\"ltr\">#somediv .sharebox a</span>" 156 "مسیر سلکتور دکمه اشتراکگذاری<br>مثلا <span dir=\"ltr\">#somediv .sharebox a</" 157 "span>" 157 158 158 159 #: classes/Settings.php:120 … … 164 165 "If user is copy the post, then some rate of interest will be ingested to " 165 166 "recommender service." 166 msgstr "اگر کاربر اقدام به کپی از مطلب کند، میزانی از علاقهمندی برای او ثبت میشود." 167 msgstr "" 168 "اگر کاربر اقدام به کپی از مطلب کند، میزانی از علاقهمندی برای او ثبت میشود." 167 169 168 170 #: classes/Settings.php:127 … … 172 174 #: classes/Settings.php:130 173 175 msgid "" 174 "Enabling this option, the user cookie will be added to all links as a hash<br>If"175 " the user share the post link, we can determine the user, then some rate of"176 " interest will be ingested to recommender service."177 msgstr "" 178 "با فعالسازی این گزینه به تمام لینک ها کد شناسایی کاربر اضافه خواهد شد<br>در صورتی"179 " که کاربر لینکی را برای جایی بفرستد میتوان فهمید کدام کاربر بوده و میزانی از"180 " علاقهمندی را برایش ثبت کرد."181 182 #: classes/Widget.php:11 3176 "Enabling this option, the user cookie will be added to all links as a " 177 "hash<br>If the user share the post link, we can determine the user, then some " 178 "rate of interest will be ingested to recommender service." 179 msgstr "" 180 "با فعالسازی این گزینه به تمام لینک ها کد شناسایی کاربر اضافه خواهد شد<br>در " 181 "صورتی که کاربر لینکی را برای جایی بفرستد میتوان فهمید کدام کاربر بوده و میزانی " 182 "از علاقهمندی را برایش ثبت کرد." 183 184 #: classes/Widget.php:110 183 185 msgid "Title" 184 186 msgstr "عنوان" 185 187 186 #: classes/Widget.php:11 6188 #: classes/Widget.php:113 187 189 msgid "Method" 188 190 msgstr "متد" 189 191 190 #: classes/Widget.php:12 4192 #: classes/Widget.php:121 191 193 msgid "Please use this method only on single pages." 192 194 msgstr "از این متد تنها در ابزارکهای صفحات داخلی استفاده کنید." 193 195 194 #: classes/Widget.php:12 6196 #: classes/Widget.php:123 195 197 msgid "The number of items" 196 198 msgstr "تعداد آیتمها" 197 199 198 #: classes/Widget.php:1 30200 #: classes/Widget.php:126 199 201 msgid "Dither" 200 202 msgstr "پیشنهاد لرزان" 201 203 202 #: classes/Widget.php:1 33204 #: classes/Widget.php:129 203 205 msgid "Radius" 204 206 msgstr "شعاع" 205 207 206 #: classes/Widget.php:13 7208 #: classes/Widget.php:133 207 209 msgid "Column layouts of items" 208 210 msgstr "ستونبندی آیتمها" 209 211 210 #: classes/Widget.php:1 52212 #: classes/Widget.php:141 211 213 msgid "Display Post Thumbnail" 212 214 msgstr "نمایش تصویرشاخص پست" 213 215 214 #: classes/Widget.php:1 54216 #: classes/Widget.php:143 215 217 msgid "Display Post Title" 216 218 msgstr "نمایش عنوان پست" 217 219 218 #: classes/Widget.php:1 56220 #: classes/Widget.php:145 219 221 msgid "Display Post Date" 220 222 msgstr "نمایش تاریخ پست" 221 223 222 #: classes/Widget.php:1 58224 #: classes/Widget.php:147 223 225 msgid "Display Post Time" 224 226 msgstr "نمایش زمان پست" 225 227 226 #: classes/Widget.php:1 60228 #: classes/Widget.php:149 227 229 msgid "Display Post Summary" 228 230 msgstr "نمایش خلاصه پست" 229 231 230 #: classes/Widget.php:1 62232 #: classes/Widget.php:151 231 233 msgid "Post Summary Length" 232 234 msgstr "طول خلاصه پست" 233 235 234 #: classes/Widget.php:1 71236 #: classes/Widget.php:160 235 237 msgid "Recommend to user" 236 238 msgstr "پیشنهاد به کاربر" 237 239 238 #: classes/Widget.php:1 72240 #: classes/Widget.php:161 239 241 msgid "Similar Items" 240 242 msgstr "آیتم های مشابه" 241 243 242 #: classes/Widget.php:173 244 #: classes/Widget.php:162 245 msgid "Term Based Recommend to user" 246 msgstr "پیشنهاد به کاربر براساس برچسب ها" 247 248 #: classes/Widget.php:163 249 msgid "Term Based Similar Items" 250 msgstr "آیتم های مشابه براساس برچسب ها" 251 252 #: classes/Widget.php:164 243 253 msgid "Short Period of Time Trends" 244 254 msgstr "محبوبترن آیتمها در لحظه (ترندز) - کوتاه مدت" 245 255 246 #: classes/Widget.php:1 74256 #: classes/Widget.php:165 247 257 msgid "Long Period of Time Trends" 248 258 msgstr "محبوبترن آیتمها در لحظه (ترندز) - بلند مدت" 249 259 250 #: classes/Widget.php:1 81260 #: classes/Widget.php:172 251 261 msgid "1 Column" 252 262 msgstr "1 ستونه" 253 263 254 #: classes/Widget.php:1 82264 #: classes/Widget.php:173 255 265 msgid "2 Columns" 256 266 msgstr "2 ستونه" 257 267 258 #: classes/Widget.php:1 83268 #: classes/Widget.php:174 259 269 msgid "3 Columns" 260 270 msgstr "3 ستونه" 261 271 262 #: classes/Widget.php:1 84272 #: classes/Widget.php:175 263 273 msgid "4 Columns" 264 274 msgstr "4 ستونه" 265 275 266 #: classes/Widget.php:1 85276 #: classes/Widget.php:176 267 277 msgid "5 Columns" 268 278 msgstr "5 ستونه" 269 279 270 #: classes/Widget.php:1 86280 #: classes/Widget.php:177 271 281 msgid "6 Columns" 272 282 msgstr "6 ستونه" 273 283 274 #. Plugin Name of the plugin/theme 275 msgid "Recommender Service" 276 msgstr "سرویس رکامندر" 277 278 #. Plugin URI of the plugin/theme 279 msgid "https://github.com/mahshad/wp-recommenderir" 280 msgstr "" 281 282 #. Description of the plugin/theme 283 msgid "Wordpress and Woocommerce Plugin for Recommender.ir" 284 msgstr "پلاگین وردپرس و ووکامرس سرویس رکامندر.آی آر" 285 286 #. Author of the plugin/theme 287 msgid "Mahshad Kalantari" 288 msgstr "مهشاد کلانتری" 289 290 #. Author URI of the plugin/theme 291 msgid "http://mahshad.me/" 292 msgstr "" 284 #~ msgid "Recommender Service" 285 #~ msgstr "سرویس رکامندر" 286 287 #~ msgid "Wordpress and Woocommerce Plugin for Recommender.ir" 288 #~ msgstr "پلاگین وردپرس و ووکامرس سرویس رکامندر.آی آر" 289 290 #~ msgid "Mahshad Kalantari" 291 #~ msgstr "مهشاد کلانتری" -
recommender/trunk/langs/recommender.pot
r1720145 r1865655 1 #, fuzzy 2 msgid "" 3 msgstr "" 4 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 5 "Project-Id-Version: Recommender Service\n" 6 "POT-Creation-Date: 2017-08-14 21:37+0430\n" 7 "PO-Revision-Date: 2017-08-14 21:37+0430\n" 8 "Last-Translator: \n" 9 "Language-Team: \n" 10 "MIME-Version: 1.0\n" 11 "Content-Type: text/plain; charset=UTF-8\n" 12 "Content-Transfer-Encoding: 8bit\n" 13 "X-Generator: Poedit 1.8.13\n" 14 "X-Poedit-Basepath: ..\n" 15 "X-Poedit-WPHeader: index.php\n" 16 "X-Poedit-SourceCharset: UTF-8\n" 17 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" 18 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" 19 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n" 20 "X-Poedit-SearchPath-0: .\n" 21 "X-Poedit-SearchPathExcluded-0: *.js\n" 1 msgid "" 2 msgstr "" 22 3 23 4 #: assets/templates/settings.php:2 … … 54 35 55 36 #: classes/Settings.php:47 56 #, php-format57 37 msgid "For example: <span dir=\"ltr\">http://192.168.0.1:1234</span>" 58 38 msgstr "" … … 173 153 msgstr "" 174 154 155 #: classes/Widget.php:110 156 msgid "Title" 157 msgstr "" 158 175 159 #: classes/Widget.php:113 176 msgid "Title"177 msgstr ""178 179 #: classes/Widget.php:116180 160 msgid "Method" 181 161 msgstr "" 182 162 183 #: classes/Widget.php:12 4163 #: classes/Widget.php:121 184 164 msgid "Please use this method only on single pages." 185 165 msgstr "" 186 166 167 #: classes/Widget.php:123 168 msgid "The number of items" 169 msgstr "" 170 187 171 #: classes/Widget.php:126 188 msgid "The number of items"189 msgstr ""190 191 #: classes/Widget.php:130192 172 msgid "Dither" 193 173 msgstr "" 194 174 175 #: classes/Widget.php:129 176 msgid "Radius" 177 msgstr "" 178 195 179 #: classes/Widget.php:133 196 msgid "Radius"197 msgstr ""198 199 #: classes/Widget.php:137200 180 msgid "Column layouts of items" 201 181 msgstr "" 202 182 203 #: classes/Widget.php:1 52183 #: classes/Widget.php:141 204 184 msgid "Display Post Thumbnail" 205 185 msgstr "" 206 186 207 #: classes/Widget.php:1 54187 #: classes/Widget.php:143 208 188 msgid "Display Post Title" 209 189 msgstr "" 210 190 211 #: classes/Widget.php:1 56191 #: classes/Widget.php:145 212 192 msgid "Display Post Date" 213 193 msgstr "" 214 194 215 #: classes/Widget.php:1 58195 #: classes/Widget.php:147 216 196 msgid "Display Post Time" 217 197 msgstr "" 218 198 199 #: classes/Widget.php:149 200 msgid "Display Post Summary" 201 msgstr "" 202 203 #: classes/Widget.php:151 204 msgid "Post Summary Length" 205 msgstr "" 206 219 207 #: classes/Widget.php:160 220 msgid "Display Post Summary" 208 msgid "Recommend to user" 209 msgstr "" 210 211 #: classes/Widget.php:161 212 msgid "Similar Items" 221 213 msgstr "" 222 214 223 215 #: classes/Widget.php:162 224 msgid "Post Summary Length" 225 msgstr "" 226 227 #: classes/Widget.php:171 228 msgid "Recommend to user" 216 msgid "Term Based Recommend to user" 217 msgstr "" 218 219 #: classes/Widget.php:163 220 msgid "Term Based Similar Items" 221 msgstr "" 222 223 #: classes/Widget.php:164 224 msgid "Short Period of Time Trends" 225 msgstr "" 226 227 #: classes/Widget.php:165 228 msgid "Long Period of Time Trends" 229 229 msgstr "" 230 230 231 231 #: classes/Widget.php:172 232 msgid " Similar Items"232 msgid "1 Column" 233 233 msgstr "" 234 234 235 235 #: classes/Widget.php:173 236 msgid " Short Period of Time Trends"236 msgid "2 Columns" 237 237 msgstr "" 238 238 239 239 #: classes/Widget.php:174 240 msgid "Long Period of Time Trends"241 msgstr ""242 243 #: classes/Widget.php:181244 msgid "1 Column"245 msgstr ""246 247 #: classes/Widget.php:182248 msgid "2 Columns"249 msgstr ""250 251 #: classes/Widget.php:183252 240 msgid "3 Columns" 253 241 msgstr "" 254 242 255 #: classes/Widget.php:1 84243 #: classes/Widget.php:175 256 244 msgid "4 Columns" 257 245 msgstr "" 258 246 259 #: classes/Widget.php:1 85247 #: classes/Widget.php:176 260 248 msgid "5 Columns" 261 249 msgstr "" 262 250 263 #: classes/Widget.php:1 86251 #: classes/Widget.php:177 264 252 msgid "6 Columns" 265 253 msgstr "" 266 267 #. Plugin Name of the plugin/theme268 msgid "Recommender Service"269 msgstr ""270 271 #. Plugin URI of the plugin/theme272 msgid "https://github.com/mahshad/wp-recommenderir"273 msgstr ""274 275 #. Description of the plugin/theme276 msgid "Wordpress and Woocommerce Plugin for Recommender.ir"277 msgstr ""278 279 #. Author of the plugin/theme280 msgid "Mahshad Kalantari"281 msgstr ""282 283 #. Author URI of the plugin/theme284 msgid "http://mahshad.me/"285 msgstr "" -
recommender/trunk/readme.txt
r1720151 r1865655 3 3 Tags: recommender, wordpress, woocommerce, plugin 4 4 Requires at least: 4.0 5 Tested up to: 4. 85 Tested up to: 4.9 6 6 Stable tag: 4.7 7 7 License: GPLv2 or later … … 29 29 * trendShortTime (trends in short time) 30 30 * trendLongTime (trends in long time) 31 * termBasedRecommendInclusive (recommend to user based on terms) 32 * termBasedSimilarityInclusive (similar items based on terms) 31 33 32 34 Requires at least Wordpress 4.0 and PHP 5.4 … … 49 51 == Changelog == 50 52 53 = 1.2.0 = 54 * Added two new methods. 55 51 56 = 1.1.0 = 52 * Added capability to sending post tags to recommender.ir service 53 * Replaced jQuery dependencies with vanilla javascript 54 * Improved AJAX performance 57 * Added capability to sending post tags to recommender.ir service. 58 * Replaced jQuery dependencies with vanilla javascript. 59 * Improved AJAX performance. 55 60 56 61 = 1.0.2 = … … 66 71 == Upgrade Notice == 67 72 68 = 1. 0.1=69 Fixed a bug.73 = 1.2.0 = 74 * Added two new methods.
Note: See TracChangeset
for help on using the changeset viewer.