Adding a <div> around 'Download file' statement

This commit is contained in:
Eric van der Vlist 2025-03-23 14:12:04 +01:00
parent d2e4cfc5ff
commit d56e98c256
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ function wpgpxmaps_handle_shortcodes( $attr, $content = '' ) {
$dummy = ( defined( 'WP_SITEURL' ) ) ? WP_SITEURL : get_bloginfo( 'url' );
$gpxurl = $dummy . $gpxurl;
}
$output .= "Download file: <a href='$gpxurl' target='_new' download>" . basename($gpxurl) . '</a>';
$output .= "<div id='wpgpxmaps_downloadfile'>Download file: <a href='$gpxurl' target='_new' download>" . basename($gpxurl) . '</a></div>';
}
return $output;