Changeset 2042703
- Timestamp:
- 03/02/2019 10:18:52 AM (7 years ago)
- Location:
- sortable-lite/trunk
- Files:
-
- 3 edited
-
inc/classes.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
sortable-lite.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sortable-lite/trunk/inc/classes.php
r2042477 r2042703 71 71 $imagesViewActive = ($default_view=='images')?'active':''; 72 72 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 99 74 $dropCustom =''; 100 75 if($custom){ … … 202 177 <ul id="sortableMenuDropdown'.$rand.'" class="sortable-dropdown-ul" aria-labelledby="sortableMenu'.$rand.'" rand="'.$rand.'"> 203 178 '.$dropCustom.' 204 '.$dropSocialStatus.'179 205 180 '.$dropAlphabetically.' 206 181 <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 === 2 2 Plugin Name: Sortable Lite 3 3 Plugin URI: https://www.wpicode.com/sortable-lite/ 4 4 Description: Sortable is a plugin that sorts your posts by different parameters like date, alphabetically and comments. 5 5 Author: Dimitar Atanasov 6 Version: 1.06 Version: 2.1 7 7 Author URI: http://wpicode.com/ 8 8 Tags: 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 4 4 Plugin URI: http://wpicode.com/sortable-lite 5 5 Description: Sortable is a plugin that sorts your posts by different parameters like social status, alphabetically, comments and others. 6 Version: 2. 06 Version: 2.1 7 7 Author: Wpicode 8 8 Author URI: http://wpicode.com
Note: See TracChangeset
for help on using the changeset viewer.