Custom template
-
Trying to write a custom template that will display the filename icon, title and short description only.
I have tried to adapt the given templates but not really a php coder.
The closest I have got is below but it throws up errors:
<?php
/**
* Shows title only.
*/if ( ! defined( ‘ABSPATH’ ) ) {
exit;
} // Exit if accessed directly
?>
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(); ?>
get_the_filetype(); ?>”
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom template’ is closed to new replies.