installed plugin Easy Digital Downloads version 3.1.0.3

This commit is contained in:
2022-11-27 15:03:07 +00:00
committed by Gitium
parent 555673545b
commit c5dce2cec6
1200 changed files with 238970 additions and 0 deletions

View File

@ -0,0 +1,35 @@
<?php
/**
* Displays the download terms block.
*
* @var array $block_attributes
* @var WP_Query $downloads
* @var array $classes
*/
?>
<div class="<?php echo esc_attr( implode( ' ', array_filter( $classes ) ) ); ?>">
<?php
while ( $downloads->have_posts() ) {
$downloads->the_post();
?>
<article class="edd-blocks__download">
<?php
if ( ! empty( $block_attributes['title'] ) || ! empty( $block_attributes['image_location'] ) ) {
include 'header.php';
}
if ( ! empty( $block_attributes['content'] ) || ! empty( $block_attributes['price'] ) ) {
include 'content.php';
}
if ( $block_attributes['purchase_link'] ) {
include 'footer.php';
}
?>
</article>
<?php
}
?>
</div>
<?php
if ( $block_attributes['pagination'] ) {
include 'pagination.php';
}