Plugin Directory

Changeset 1865655


Ignore:
Timestamp:
04/28/2018 02:13:40 AM (8 years ago)
Author:
missprogrammer
Message:

Added two new methods

Location:
recommender/trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • recommender/trunk/assets/js/admin-scripts.js

    r1612970 r1865655  
    1010        if(method == 'recommend') {
    1111            recommend.show();
     12        } else if(method == 'termBasedRecommendInclusive') {
     13            recommend.show();
    1214        } else {
    1315            recommend.hide();
     
    1618        if(method == 'similarity') {
    1719            similar.show();
     20        } else if(method == 'termBasedRecommendInclusive') {
     21            similar.show();
     22        } else if(method == 'termBasedSimilarityInclusive') {
     23            similar.show();
    1824        } else {
    1925            similar.hide();
  • recommender/trunk/classes/Helper.php

    r1720145 r1865655  
    105105    }
    106106
     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
    107117    public static function change_array_dash_to_underline( $array )
    108118    {
  • recommender/trunk/classes/Init.php

    r1720145 r1865655  
    147147            $nocheck = true;
    148148
    149             $taxonomies = [ 'post_tag', 'product_tag' ];
    150             $args = [ 'orderby' => 'term_id', 'fields' => 'slugs' ];
     149            $get_terms = Helper::get_terms( $post_id );
    151150
    152             $get_terms = wp_get_object_terms( $post_id, $taxonomies, $args );
    153151            if( !is_array( $get_terms ) ) return;
    154152
     
    183181                $nocheck = true;
    184182
    185                 $taxonomies = [ 'post_tag', 'product_tag' ];
    186                 $args = [ 'orderby' => 'term_id', 'fields' => 'slugs' ];
     183                $get_terms = Helper::get_terms( $post_id );
    187184
    188                 $get_terms = wp_get_object_terms( $post_id, $taxonomies, $args );
    189185                if( !is_array( $get_terms ) ) return;
    190186
  • recommender/trunk/classes/Recommender.php

    r1720145 r1865655  
    116116    }
    117117
     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
    118176    public function termItemAdd( $args )
    119177    {
  • recommender/trunk/classes/Widget.php

    r1720145 r1865655  
    3232
    3333        $post_ids = '';
    34         if ( $method == 'similarity' )
     34        if ( $method == 'similarity' || $method == 'termBasedSimilarityInclusive' )
    3535        {
    3636            $queried_object = get_queried_object();
    37             $post_id = $queried_object->ID;
    3837
    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            }
    4043        }
    4144
     
    5962        $instance['radius'] = ! empty( $new_instance['radius'] );
    6063        $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'] );
    6364        $instance['image_size'] = ! empty( $new_instance['image_size'] ) ? 'thumbnail' : '';
    6465        $instance['include_title'] = ! empty( $new_instance['include_title'] );
     
    9798        $radius = strip_tags($instance['radius']);
    9899        $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'] : 'دسته‌بندی: ';
    101100        $image_size = isset($instance['image_size']) ? 1 : 0;
    102101        $include_title = isset($instance['include_title']) ? $instance['include_title'] : 1;
     
    106105        $excerpt_length = isset($instance['excerpt_length']) ? $instance['excerpt_length'] : 7;
    107106
    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;';
    110109        ?>
    111110        <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title', 'recommender') ?>:</label>
     
    124123        <p><label for="<?php echo $this->get_field_id('how_many'); ?>"><?php _e('The number of items', 'recommender') ?>:</label>
    125124        <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 
    127125       
    128126        <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); ?> />&nbsp;<label for="<?php echo $this->get_field_id('dither'); ?>"><?php _e('Dither', 'recommender') ?></label></p>
     
    162160            'recommend' => __('Recommend to user', 'recommender'),
    163161            'similarity' => __('Similar Items', 'recommender'),
     162            'termBasedRecommendInclusive' => __('Term Based Recommend to user', 'recommender'),
     163            'termBasedSimilarityInclusive' => __('Term Based Similar Items', 'recommender'),
    164164            'trendShortTime' => __('Short Period of Time Trends', 'recommender'),
    165165            'trendLongTime' => __('Long Period of Time Trends', 'recommender')
  • recommender/trunk/composer.json

    r1720145 r1865655  
    11{
    22  "name": "mahshad/wp-recommenderir",
    3   "version": "1.1.0",
     3  "version": "1.2.0",
    44  "description": "Wordpress and Woocommerce Plugin for Recommender.ir",
    55  "homepage": "https://github.com/mahshad/wp-recommenderir",
  • recommender/trunk/index.php

    r1720145 r1865655  
    55 * Plugin URI:        https://wordpress.org/plugins/recommender/
    66 * Description:       Wordpress and Woocommerce Plugin for Recommender.ir
    7  * Version:           1.1.0
     7 * Version:           1.2.0
    88 * Author:            Mahshad Kalantari
    99 * Author URI:        http://mahshad.me/
  • recommender/trunk/langs/recommender-fa_IR.po

    r1720145 r1865655  
    11msgid ""
    22msgstr ""
    3 "Plural-Forms: nplurals=1; plural=0;\n"
    43"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"
    77"Language-Team: \n"
     8"Language: fa_IR\n"
    89"MIME-Version: 1.0\n"
    910"Content-Type: text/plain; charset=UTF-8\n"
    1011"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"
    1214"X-Poedit-Basepath: ..\n"
    1315"X-Poedit-WPHeader: index.php\n"
     
    1618"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
    1719"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    18 "Last-Translator: Mahshad Kalantari <mopomoor@gmail.com>\n"
    19 "Language: fa_IR\n"
    2020"X-Poedit-SearchPath-0: .\n"
    2121"X-Poedit-SearchPathExcluded-0: *.js\n"
     
    5454
    5555#: classes/Settings.php:47
    56 #, php-format
    5756msgid "For example: <span dir=\"ltr\">http://192.168.0.1:1234</span>"
    5857msgstr "مثلا: <span dir=\"ltr\">http://192.168.0.1:1234</span>"
     
    7877#: classes/Settings.php:67
    7978msgid ""
    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."
    8281msgstr ""
    8382"اگر کاربر با چند سیستم در سایت لاگین کند، در هر سیستم کوکی یکسانی ذخیره می‌شود."
     
    109108#: classes/Settings.php:88
    110109msgid ""
    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."
    113112msgstr ""
    114113"اگر کاربر محصولی به سبد خرید اضافه کند، میزانی از علاقه‌مندی برای او ثبت می‌شود."
     
    120119#: classes/Settings.php:95
    121120msgid ""
    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."
    124123msgstr "اگر کاربر اقدام به لایک مطلب کند، میزانی از علاقه‌مندی برای او ثبت می‌شود."
    125124
     
    132131"The selector path of like button<br>For example: <span dir=\"ltr\">#somediv ."
    133132"likebox a</span>"
    134 msgstr "مسیر سلکتور دکمه لایک<br>مثلا <span dir=\"ltr\">#somediv .likebox a</span>"
     133msgstr ""
     134"مسیر سلکتور دکمه لایک<br>مثلا <span dir=\"ltr\">#somediv .likebox a</span>"
    135135
    136136#: classes/Settings.php:106
     
    154154"sharebox a</span>"
    155155msgstr ""
    156 "مسیر سلکتور دکمه اشتراک‌گذاری<br>مثلا <span dir=\"ltr\">#somediv .sharebox a</span>"
     156"مسیر سلکتور دکمه اشتراک‌گذاری<br>مثلا <span dir=\"ltr\">#somediv .sharebox a</"
     157"span>"
    157158
    158159#: classes/Settings.php:120
     
    164165"If user is copy the post, then some rate of interest will be ingested to "
    165166"recommender service."
    166 msgstr "اگر کاربر اقدام به کپی از مطلب کند، میزانی از علاقه‌مندی برای او ثبت می‌شود."
     167msgstr ""
     168"اگر کاربر اقدام به کپی از مطلب کند، میزانی از علاقه‌مندی برای او ثبت می‌شود."
    167169
    168170#: classes/Settings.php:127
     
    172174#: classes/Settings.php:130
    173175msgid ""
    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:113
     176"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."
     179msgstr ""
     180"با فعال‌سازی این گزینه به تمام لینک ها کد شناسایی کاربر اضافه خواهد شد<br>در "
     181"صورتی که کاربر لینکی را برای جایی بفرستد می‌توان فهمید کدام کاربر بوده و میزانی "
     182"از علاقه‌مندی را برایش ثبت کرد."
     183
     184#: classes/Widget.php:110
    183185msgid "Title"
    184186msgstr "عنوان"
    185187
    186 #: classes/Widget.php:116
     188#: classes/Widget.php:113
    187189msgid "Method"
    188190msgstr "متد"
    189191
    190 #: classes/Widget.php:124
     192#: classes/Widget.php:121
    191193msgid "Please use this method only on single pages."
    192194msgstr "از این متد تنها در ابزارک‌های صفحات داخلی استفاده کنید."
    193195
    194 #: classes/Widget.php:126
     196#: classes/Widget.php:123
    195197msgid "The number of items"
    196198msgstr "تعداد آیتم‌ها"
    197199
    198 #: classes/Widget.php:130
     200#: classes/Widget.php:126
    199201msgid "Dither"
    200202msgstr "پیشنهاد لرزان"
    201203
    202 #: classes/Widget.php:133
     204#: classes/Widget.php:129
    203205msgid "Radius"
    204206msgstr "شعاع"
    205207
    206 #: classes/Widget.php:137
     208#: classes/Widget.php:133
    207209msgid "Column layouts of items"
    208210msgstr "ستون‌بندی آیتم‌ها"
    209211
    210 #: classes/Widget.php:152
     212#: classes/Widget.php:141
    211213msgid "Display Post Thumbnail"
    212214msgstr "نمایش تصویرشاخص پست"
    213215
    214 #: classes/Widget.php:154
     216#: classes/Widget.php:143
    215217msgid "Display Post Title"
    216218msgstr "نمایش عنوان پست"
    217219
    218 #: classes/Widget.php:156
     220#: classes/Widget.php:145
    219221msgid "Display Post Date"
    220222msgstr "نمایش تاریخ پست"
    221223
    222 #: classes/Widget.php:158
     224#: classes/Widget.php:147
    223225msgid "Display Post Time"
    224226msgstr "نمایش زمان پست"
    225227
    226 #: classes/Widget.php:160
     228#: classes/Widget.php:149
    227229msgid "Display Post Summary"
    228230msgstr "نمایش خلاصه پست"
    229231
    230 #: classes/Widget.php:162
     232#: classes/Widget.php:151
    231233msgid "Post Summary Length"
    232234msgstr "طول خلاصه پست"
    233235
    234 #: classes/Widget.php:171
     236#: classes/Widget.php:160
    235237msgid "Recommend to user"
    236238msgstr "پیشنهاد به کاربر"
    237239
    238 #: classes/Widget.php:172
     240#: classes/Widget.php:161
    239241msgid "Similar Items"
    240242msgstr "آیتم های مشابه"
    241243
    242 #: classes/Widget.php:173
     244#: classes/Widget.php:162
     245msgid "Term Based Recommend to user"
     246msgstr "پیشنهاد به کاربر براساس برچسب ها"
     247
     248#: classes/Widget.php:163
     249msgid "Term Based Similar Items"
     250msgstr "آیتم های مشابه براساس برچسب ها"
     251
     252#: classes/Widget.php:164
    243253msgid "Short Period of Time Trends"
    244254msgstr "محبوبترن آیتم‌ها در لحظه (ترندز) - کوتاه مدت"
    245255
    246 #: classes/Widget.php:174
     256#: classes/Widget.php:165
    247257msgid "Long Period of Time Trends"
    248258msgstr "محبوبترن آیتم‌ها در لحظه (ترندز) - بلند مدت"
    249259
    250 #: classes/Widget.php:181
     260#: classes/Widget.php:172
    251261msgid "1 Column"
    252262msgstr "1 ستونه"
    253263
    254 #: classes/Widget.php:182
     264#: classes/Widget.php:173
    255265msgid "2 Columns"
    256266msgstr "2 ستونه"
    257267
    258 #: classes/Widget.php:183
     268#: classes/Widget.php:174
    259269msgid "3 Columns"
    260270msgstr "3  ستونه"
    261271
    262 #: classes/Widget.php:184
     272#: classes/Widget.php:175
    263273msgid "4 Columns"
    264274msgstr "4 ستونه"
    265275
    266 #: classes/Widget.php:185
     276#: classes/Widget.php:176
    267277msgid "5 Columns"
    268278msgstr "5 ستونه"
    269279
    270 #: classes/Widget.php:186
     280#: classes/Widget.php:177
    271281msgid "6 Columns"
    272282msgstr "6 ستونه"
    273283
    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"
     1msgid ""
     2msgstr ""
    223
    234#: assets/templates/settings.php:2
     
    5435
    5536#: classes/Settings.php:47
    56 #, php-format
    5737msgid "For example: <span dir=\"ltr\">http://192.168.0.1:1234</span>"
    5838msgstr ""
     
    173153msgstr ""
    174154
     155#: classes/Widget.php:110
     156msgid "Title"
     157msgstr ""
     158
    175159#: classes/Widget.php:113
    176 msgid "Title"
    177 msgstr ""
    178 
    179 #: classes/Widget.php:116
    180160msgid "Method"
    181161msgstr ""
    182162
    183 #: classes/Widget.php:124
     163#: classes/Widget.php:121
    184164msgid "Please use this method only on single pages."
    185165msgstr ""
    186166
     167#: classes/Widget.php:123
     168msgid "The number of items"
     169msgstr ""
     170
    187171#: classes/Widget.php:126
    188 msgid "The number of items"
    189 msgstr ""
    190 
    191 #: classes/Widget.php:130
    192172msgid "Dither"
    193173msgstr ""
    194174
     175#: classes/Widget.php:129
     176msgid "Radius"
     177msgstr ""
     178
    195179#: classes/Widget.php:133
    196 msgid "Radius"
    197 msgstr ""
    198 
    199 #: classes/Widget.php:137
    200180msgid "Column layouts of items"
    201181msgstr ""
    202182
    203 #: classes/Widget.php:152
     183#: classes/Widget.php:141
    204184msgid "Display Post Thumbnail"
    205185msgstr ""
    206186
    207 #: classes/Widget.php:154
     187#: classes/Widget.php:143
    208188msgid "Display Post Title"
    209189msgstr ""
    210190
    211 #: classes/Widget.php:156
     191#: classes/Widget.php:145
    212192msgid "Display Post Date"
    213193msgstr ""
    214194
    215 #: classes/Widget.php:158
     195#: classes/Widget.php:147
    216196msgid "Display Post Time"
    217197msgstr ""
    218198
     199#: classes/Widget.php:149
     200msgid "Display Post Summary"
     201msgstr ""
     202
     203#: classes/Widget.php:151
     204msgid "Post Summary Length"
     205msgstr ""
     206
    219207#: classes/Widget.php:160
    220 msgid "Display Post Summary"
     208msgid "Recommend to user"
     209msgstr ""
     210
     211#: classes/Widget.php:161
     212msgid "Similar Items"
    221213msgstr ""
    222214
    223215#: classes/Widget.php:162
    224 msgid "Post Summary Length"
    225 msgstr ""
    226 
    227 #: classes/Widget.php:171
    228 msgid "Recommend to user"
     216msgid "Term Based Recommend to user"
     217msgstr ""
     218
     219#: classes/Widget.php:163
     220msgid "Term Based Similar Items"
     221msgstr ""
     222
     223#: classes/Widget.php:164
     224msgid "Short Period of Time Trends"
     225msgstr ""
     226
     227#: classes/Widget.php:165
     228msgid "Long Period of Time Trends"
    229229msgstr ""
    230230
    231231#: classes/Widget.php:172
    232 msgid "Similar Items"
     232msgid "1 Column"
    233233msgstr ""
    234234
    235235#: classes/Widget.php:173
    236 msgid "Short Period of Time Trends"
     236msgid "2 Columns"
    237237msgstr ""
    238238
    239239#: classes/Widget.php:174
    240 msgid "Long Period of Time Trends"
    241 msgstr ""
    242 
    243 #: classes/Widget.php:181
    244 msgid "1 Column"
    245 msgstr ""
    246 
    247 #: classes/Widget.php:182
    248 msgid "2 Columns"
    249 msgstr ""
    250 
    251 #: classes/Widget.php:183
    252240msgid "3 Columns"
    253241msgstr ""
    254242
    255 #: classes/Widget.php:184
     243#: classes/Widget.php:175
    256244msgid "4 Columns"
    257245msgstr ""
    258246
    259 #: classes/Widget.php:185
     247#: classes/Widget.php:176
    260248msgid "5 Columns"
    261249msgstr ""
    262250
    263 #: classes/Widget.php:186
     251#: classes/Widget.php:177
    264252msgid "6 Columns"
    265253msgstr ""
    266 
    267 #. Plugin Name of the plugin/theme
    268 msgid "Recommender Service"
    269 msgstr ""
    270 
    271 #. Plugin URI of the plugin/theme
    272 msgid "https://github.com/mahshad/wp-recommenderir"
    273 msgstr ""
    274 
    275 #. Description of the plugin/theme
    276 msgid "Wordpress and Woocommerce Plugin for Recommender.ir"
    277 msgstr ""
    278 
    279 #. Author of the plugin/theme
    280 msgid "Mahshad Kalantari"
    281 msgstr ""
    282 
    283 #. Author URI of the plugin/theme
    284 msgid "http://mahshad.me/"
    285 msgstr ""
  • recommender/trunk/readme.txt

    r1720151 r1865655  
    33Tags: recommender, wordpress, woocommerce, plugin
    44Requires at least: 4.0
    5 Tested up to: 4.8
     5Tested up to: 4.9
    66Stable tag: 4.7
    77License: GPLv2 or later
     
    2929* trendShortTime (trends in short time)
    3030* trendLongTime (trends in long time)
     31* termBasedRecommendInclusive (recommend to user based on terms)
     32* termBasedSimilarityInclusive (similar items based on terms)
    3133
    3234Requires at least Wordpress 4.0 and PHP 5.4
     
    4951== Changelog ==
    5052
     53= 1.2.0 =
     54* Added two new methods.
     55
    5156= 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.
    5560
    5661= 1.0.2 =
     
    6671== Upgrade Notice ==
    6772
    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.