Adding a <div> around 'Download file' statement
This commit is contained in:
parent
d2e4cfc5ff
commit
d56e98c256
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue