mirror of
https://github.com/10h30/wp-strava.git
synced 2026-06-05 15:10:01 +09:00
Merge pull request #67 from cmanon/feature/64-add-activity-description
Feature/64 add activity description
This commit is contained in:
@@ -119,6 +119,7 @@ On the WP-Strava settings page you cannot currently remove and add another athle
|
||||
= 2.5.0 =
|
||||
Fix missing translation domain on "Save Changes" in settings. https://wordpress.org/support/topic/small-fix-in-settings-php-function-print_clear_input
|
||||
Refined styles for responsive tables https://wordpress.org/support/topic/responsive-strava-activity-table/
|
||||
Add activity description under image (if set) https://wordpress.org/support/topic/show-activity-description/
|
||||
|
||||
|
||||
= 2.4.0 =
|
||||
|
||||
@@ -59,6 +59,10 @@ class WPStrava_ActivityRenderer {
|
||||
$activity_details->name
|
||||
);
|
||||
|
||||
if ( ! empty( $activity_details->description ) ) {
|
||||
$activity_output .= '<div class="wp-strava-activity-description">' . esc_html( $activity_details->description ) . '</div>';
|
||||
}
|
||||
|
||||
$activity_output .= '</div>';
|
||||
} // End if( $activity_details ).
|
||||
return $activity_output;
|
||||
|
||||
Reference in New Issue
Block a user