6 lines
239 B
PHP
6 lines
239 B
PHP
<?php
|
|
$file = get_field('file', $post->ID);
|
|
?>
|
|
<?php //if(!empty($file)) : ?>
|
|
<a class="posts-list__item list-item-doc" href="<?php echo $file ?> " title="<?php the_title(); ?>" download><?php the_title(); ?></a>
|
|
<?php //endif; ?>
|