Plugin Directory

Changeset 2042703


Ignore:
Timestamp:
03/02/2019 10:18:52 AM (7 years ago)
Author:
mitegvg
Message:

Fix error log

Location:
sortable-lite/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sortable-lite/trunk/inc/classes.php

    r2042477 r2042703  
    7171        $imagesViewActive = ($default_view=='images')?'active':'';
    7272
    73         if($social_status!=0){
    74             $sortByText = $this->sortByText;
    75             $sortby = 'social_status';
    76             if(preg_match('/facebook/i',$include_social_media)){
    77                 $dropMedia .='<li><a href="#" sort-by="social_facebook" post-type="'.$post_type.'" per-page="'.$per_page.'"><i class="fa fa-facebook"></i> '.$this->translate_arr[2].'</a></li>';
    78             }
    79             if(preg_match('/google/i',$include_social_media)){
    80                 $dropMedia .='<li><a href="#" sort-by="social_google_plus" post-type="'.$post_type.'" per-page="'.$per_page.'"><i class="fa fa-google-plus"></i> '.$this->translate_arr[4].'</a></li>';
    81             }
    82             if(preg_match('/stumble/i',$include_social_media)){
    83                 $dropMedia .='<li><a href="#" sort-by="social_stumbleupon" post-type="'.$post_type.'" per-page="'.$per_page.'"><i class="fa fa-stumbleupon"></i> '.$this->translate_arr[5].'</a></li>';
    84             }
    85             if(preg_match('/linked/i',$include_social_media)){
    86                 $dropMedia .='<li><a href="#" sort-by="social_linkedin" post-type="'.$post_type.'" per-page="'.$per_page.'"><i class="fa fa-linkedin"></i> '.$this->translate_arr[6].'</a></li>';
    87             }
    88             if(preg_match('/pinterest/i',$include_social_media)){
    89                 $dropMedia .='<li><a href="#" sort-by="social_pinterest" post-type="'.$post_type.'" per-page="'.$per_page.'"><i class="fa fa-pinterest"></i> '.$this->translate_arr[7].'</a></li>';
    90             }
    91             $dropMedia .= $this->get_other_social_media($post_type,$per_page,$include_social_media);
    92             $dropSocialStatus = '
    93             <li><a href="#" class="sort-social-media-link" sort-by="social_status" sort-social-media="'.$sort_social_media.'" post-type="'.$post_type.'" per-page="'.$per_page.'" style="border-bottom:1px solid #ddd;">'.$this->translate_arr[1].'</a>
    94                         <ul>
    95                         '.$dropMedia.'
    96                         </ul>
    97                     </li>';
    98         }
     73
    9974        $dropCustom ='';
    10075        if($custom){
     
    202177                  <ul id="sortableMenuDropdown'.$rand.'" class="sortable-dropdown-ul" aria-labelledby="sortableMenu'.$rand.'" rand="'.$rand.'">
    203178                    '.$dropCustom.'
    204                     '.$dropSocialStatus.'
     179                   
    205180                    '.$dropAlphabetically.'
    206181                    <li><a href="#" sort-by="newest" post-type="'.$post_type.'" per-page="'.$per_page.'">'.$this->translate_arr[10].'</a></li>
  • sortable-lite/trunk/readme.txt

    r1713901 r2042703  
    1 === Sortable Lite ===
     1=== Sortable Lite ===
    22Plugin Name: Sortable Lite
    33Plugin URI: https://www.wpicode.com/sortable-lite/
    44Description: Sortable is a plugin that sorts your posts by different parameters like date, alphabetically and comments.
    55Author: Dimitar Atanasov
    6 Version: 1.0
     6Version: 2.1
    77Author URI: http://wpicode.com/
    88Tags: sort by, order by, sorting posts, ordering posts, sort by date, older, newer, order by comments count, order by comments, order alphabetically, alphabetically
  • sortable-lite/trunk/sortable-lite.php

    r2042477 r2042703  
    44    Plugin URI: http://wpicode.com/sortable-lite
    55    Description: Sortable is a plugin that sorts your posts by different parameters like social status, alphabetically, comments and others.
    6     Version: 2.0
     6    Version: 2.1
    77    Author: Wpicode
    88    Author URI: http://wpicode.com
Note: See TracChangeset for help on using the changeset viewer.