Created
February 28, 2017 08:06
-
-
Save barrykooij/063c7dbafe19c7a57c3409f11ef882c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Default output for a download via the [download] shortcode | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; | |
} // Exit if accessed directly | |
?> | |
<a class="download-link" title="<?php if ( $dlm_download->has_version_number() ) { | |
printf( __( 'Version %s', 'download-monitor' ), $dlm_download->get_the_version_number() ); | |
} ?>" href="<?php $dlm_download->the_download_link(); ?>" rel="nofollow"> | |
<?php $dlm_download->the_title(); ?> | <?php echo date('d M Y', strtotime($dlm_download->get_the_file_date())); ?> | |
</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment