This commit is contained in:
parent
019d39ce67
commit
ed7cb381b5
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$communique_id = $args['communique_id'];
|
$communique_id = $args['communique_id'];
|
||||||
$communique_file = get_field(selector: 'file', post_id: $communique_id);
|
$communique_file = get_field('file', $communique_id);
|
||||||
$communique_file_url = $communique_file['url'];
|
$communique_file_url = $communique_file['url'];
|
||||||
$communique_file_size = size_format($communique_file['filesize']);
|
$communique_file_size = size_format($communique_file['filesize']);
|
||||||
$communique_file_type = $communique_file['subtype'];
|
$communique_file_type = $communique_file['subtype'];
|
||||||
|
|
@ -21,6 +21,6 @@ $communique_file_type = $communique_file['subtype'];
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- <a href="<?php echo get_permalink($communique_id); ?>" class="button">Voir le communiqué</a> -->
|
<!-- <a href="<?php echo get_permalink($communique_id); ?>" class="button">Voir le communiqué</a> -->
|
||||||
</div>
|
</div>
|
||||||
Loading…
Reference in New Issue
Block a user