diff --git a/README.md b/README.md index a8b0242..1bd28e0 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@
+
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' ) . '
' . __( lsx_to_get_post_type_section_title( 'destination', '', 'Featured Destinations' ), 'to-team' ) . '