Changeset 1923030
- Timestamp:
- 08/10/2018 04:11:44 PM (7 years ago)
- Location:
- our-team-enhanced/trunk
- Files:
-
- 4 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
our-team-enhanced/trunk/constants.php
r1893062 r1923030 3 3 namespace ots; 4 4 5 const VERSION = '4.4. 1';5 const VERSION = '4.4.2'; 6 6 7 7 -
our-team-enhanced/trunk/includes/documentation.php
r1893062 r1923030 514 514 515 515 <p> 516 <a href=" //raw.githubusercontent.com/smartcatdev/docs/master/ots/demo-data.csv" class="button button-primary" download="team-export.csv"><?php _e( 'Download Sample CSV', 'ots' ); ?></a>516 <a href="<?php echo asset('data/demo.csv' ) ?>" class="button button-primary" download="team-export.csv"><?php _e( 'Download Sample CSV', 'ots' ); ?></a> 517 517 </p> 518 518 -
our-team-enhanced/trunk/includes/functions.php
r1893062 r1923030 26 26 27 27 if( !empty( $group ) ) { 28 29 $args['tax_query'] = array( 30 'relation' => 'OR', 31 array( 32 'taxonomy' => 'team_member_position', 33 'field' => 'name', 34 'terms' => $group 35 ), 36 array( 37 'taxonomy' => 'team_member_position', 38 'field' => 'slug', 39 'terms' => $group 40 ), 41 array( 42 'taxonomy' => 'team_member_position', 43 'field' => 'term_id', 44 'terms' => array_map(function ($g) { return absint($g); }, $group) 45 ) 46 ); 47 28 $group = (array) $group; 29 30 if ( is_int( $group[0] ) ) { 31 $args['tax_query'][] = array( 32 'taxonomy' => 'team_member_position', 33 'field' => 'term_id', 34 'terms' => array_map(function ($g) { return absint($g); }, $group) 35 ); 36 37 } else { 38 $args['tax_query'][] = array( 39 'taxonomy' => 'team_member_position', 40 'field' => 'slug', 41 'terms' => $group 42 ); 43 } 48 44 } 49 45 50 46 return new \WP_Query( $args ); 51 52 47 } 53 48 -
our-team-enhanced/trunk/our-team-showcase.php
r1893062 r1923030 4 4 * Plugin URI: https://smartcatdesign.net/downloads/our-team-showcase/ 5 5 * Description: Display your team members in a very attractive way as a widget or page with a shortcode [our-team] or a widget 6 * Version: 4.4. 16 * Version: 4.4.2 7 7 * Author: Smartcat 8 8 * Author URI: https://smartcatdesign.net … … 16 16 */ 17 17 include_once dirname( __FILE__ ) . '/constants.php'; 18 19 20 if ( !function_exists( 'scts_init' ) ) { 21 include_once dirname( __FILE__ ) . '/includes/libraries/theme-showcase.php'; 22 } 18 23 19 24 -
our-team-enhanced/trunk/readme.txt
r1893067 r1923030 100 100 2. OR - Upload the unpacked folder folder via FTP into /wp-content/plugins 101 101 102 == Changelog == 102 == Changelog == 103 104 = 4.4.2 = 105 1. Improved query that pulls team members 103 106 104 107 = 4.4.1 =
Note: See TracChangeset
for help on using the changeset viewer.