mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-11 18:56:18 +09:00
Add description under image
This commit is contained in:
@@ -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