diff --git a/README.md b/README.md index a8b0242..1bd28e0 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@

Tour Operator Team

+ license Built with gulp.js Build Status Tour Operator diff --git a/changelog.txt b/changelog.txt index 53b1b48..84f2155 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,56 +1,96 @@ -## Change log +# Change log -### 1.2.2 + +## [Unreleased] - Minor version 1.2.2 + +### Fixed * Fix - Fixing the options for the Team widget, making sure all of them work, also on shortcode mode. -### 1.2.1 - 19 December 2019 -* Fix - Changing the map priority on the single team pages. -* Dev - Changing a variable name $ID to $id. -* Dev - Enabled the sorting of the gallery field. -* Dev - General testing to ensure compatibility with latest WordPress version (5.3). -* Dev - Checking compatibility with LSX 2.6 release. - -### 1.2.0 - September 27 2019 -* Dev - Adding the .gitattributes file to remove unnecessary files from the WordPress version. -* Dev - Adding the Posts slider to the single team. -* Dev - Adding the map option for single team. -* Dev - Adding width and height to the map. -* Dev - Adding map filters. -* Dev - Added in a 'Person' Schema via the Yoast WordPress SEO plugin. - -### 1.1.1 -* Dev - Removed API Call Error - -### 1.1.0 -* Dev - Support LSX Theme 2.0 new designs -* Added compatibility with LSX 2.0 -* Added compatibility with Tour Operator 1.1 -* Dev - New project structure -* Fix - Fixed scripts/styles loading order -* Fix - Fixed small issues -* Fix - Replaced 'global $tour_operators' by 'global $tour_operator' -* Dev - Updated the the way the post type registers to match the refactored TO plugin -* Dev - Updated the registering of the metaboxes - -### 1.0.4 -* Dev - Standardized the Gallery and Video fields -* Dev - Added in an option to disable the team member panel if you just want an archive. - -### 1.0.3 -* Fix - Make the addon compatible with the latest version from TO Search addon -* Fix - API key and email grabbed from the correct settings tab -* Fix - Added TO Search as subtab on LSX TO settings page -* Dev - Fixed menu navigation improved -* Fix - Code refactored to follow the latest Tour Operator plugin workflow -* Fix - Small fixes on front-end fields -* Fix - Fixed content_part filter for plugin and add-ons - -### 1.0.2 -* Fix - Fixed all prefixes replaces (to_ > lsx_to_, TO_ > LSX_TO_) - -### 1.0.1 -* Fix - Reduced the access to server (check API key status) using transients -* Fix - Made the API URLs dev/live dynamic using a prefix "dev-" in the API KEY - -### 1.0.0 -* First Version +### Security +- General testing to ensure compatibility with latest WordPress version (5.4). +- General testing to ensure compatibility with latest LSX Theme version (2.7). + + +## [[1.2.1]](https://github.com/lightspeeddevelopment/to-team/releases/tag/1.2.1) - 2019-12-19 + +### Added +- Changing a variable name $ID to $id. +- Enabled the sorting of the gallery field. +- General testing to ensure compatibility with latest WordPress version (5.3). +- Checking compatibility with LSX 2.6 release. + +### Fixed +- Changing the map priority on the single team pages. + + +## [[1.2.0]](https://github.com/lightspeeddevelopment/to-team/releases/tag/1.1.2) - 2019-09-27 + +### Added +- Adding the .gitattributes file to remove unnecessary files from the WordPress version. +- Adding the Posts slider to the single team. +- Adding the map option for single team. +- Adding width and height to the map. +- Adding map filters. +- Added in a 'Person' Schema via the Yoast WordPress SEO plugin. + + +## [[1.1.1]](https://github.com/lightspeeddevelopment/to-team/releases/tag/1.1.1) - 2019-08-06 + +### Fixed +- Removed API Call Error. + + +## [[1.1.0]](https://github.com/lightspeeddevelopment/to-team/releases/tag/1.1.0) - 2017-10-10 + +### Added +- Added compatibility with LSX 2.0. +- Added compatibility with Tour Operator 1.1. +- Support LSX Theme 2.0 new designs. +- New project structure. +- Updated the the way the post type registers to match the refactored TO plugin. +- Updated the registering of the metaboxes. + +### Fixed +- Fixed scripts/styles loading order. +- Fixed small issues. +- Replaced 'global $tour_operators' by 'global $tour_operator'. + + +## [[1.0.4]]() + +### Added +- Standardized the Gallery and Video fields. +- Added in an option to disable the team member panel if you just want an archive. + + +## [[1.0.3]]() + +### Added +- Fixed menu navigation improved. + +### Fixed +- Make the addon compatible with the latest version from TO Search addon. +- API key and email grabbed from the correct settings tab. +- Added TO Search as subtab on LSX TO settings page. +- Code refactored to follow the latest Tour Operator plugin workflow. +- Small fixes on front-end fields. +- Fixed content_part filter for plugin and add-ons. + + +## [[1.0.2]]() + +### Fixed +- Fixed all prefixes replaces (to_ > lsx_to_, TO_ > LSX_TO_). + + +## [[1.0.1]]() + +### Fixed +- Reduced the access to server (check API key status) using transients. +- Made the API URLs dev/live dynamic using a prefix "dev-" in the API KEY. + + +## [[1.0.0]]() + +### Added +* First Version. diff --git a/includes/template-tags.php b/includes/template-tags.php index 2abf3ba..5c46bb0 100644 --- a/includes/template-tags.php +++ b/includes/template-tags.php @@ -368,12 +368,12 @@ function lsx_to_team_destination() { if ( post_type_exists( 'destination' ) && is_singular( 'team' ) ) { $args = array( - 'from' => 'destination', - 'to' => 'team', - 'column' => '3', + 'from' => 'destination', + 'to' => 'team', + 'column' => '3', // @codingStandardsIgnoreLine - 'before' => '

' . __( lsx_to_get_post_type_section_title( 'destination', '', 'Featured Destinations' ), 'to-team' ) . '

', - 'after' => '
', + 'before' => '

' . __( lsx_to_get_post_type_section_title( 'destination', '', 'Featured Destinations' ), 'to-team' ) . '

', + 'after' => '
', ); lsx_to_connected_panel_query( $args ); diff --git a/readme.txt b/readme.txt index 5ba6c35..364da40 100755 --- a/readme.txt +++ b/readme.txt @@ -3,9 +3,9 @@ Contributors: feedmymedia Donate link: https://donate.lsdev.biz/ Tags: tour operator, lsx, post type, team widget, team display Requires at least: 5.1.1 -Tested up to: 5.3.2 +Tested up to: 5.4 Requires PHP: 7.0 -Stable tag: 1.2.1 +Stable tag: 1.2.2 License: GPLv3 The TO Team plugins adds the “Team” post type, which you can display front-and-centre on your site. diff --git a/to-team.php b/to-team.php index 923d9f8..fa54c6b 100644 --- a/to-team.php +++ b/to-team.php @@ -3,7 +3,7 @@ * Plugin Name: Tour Operator Team * Plugin URI: https://www.lsdev.biz/product/tour-operator-team/ * Description: Real peoples' faces go a long way to building trust with your clients. The Team Extension allows your business's staff to be added as Team Members with their own profile which can be associated with specific destinations and tours. - * Version: 1.2.1 + * Version: 1.2.2 * Author: LightSpeed * Author URI: https://www.lsdev.biz/ * License: GPL3+ @@ -20,7 +20,7 @@ define( 'LSX_TO_TEAM_PATH', plugin_dir_path( __FILE__ ) ); define( 'LSX_TO_TEAM_CORE', __FILE__ ); define( 'LSX_TO_TEAM_URL', plugin_dir_url( __FILE__ ) ); -define( 'LSX_TO_TEAM_VER', '1.2.1' ); +define( 'LSX_TO_TEAM_VER', '1.2.2' ); if ( ! defined( 'TEAM_ARCHIVE_URL' ) ) { define( 'TEAM_ARCHIVE_URL', 'team-members' ); @@ -28,4 +28,4 @@ /* ======================= Below is the Plugin Class init ========================= */ -require_once( LSX_TO_TEAM_PATH . '/classes/class-lsx-to-team.php' ); +require_once LSX_TO_TEAM_PATH . '/classes/class-lsx-to-team.php';