Commit ca4b48c3 by rajshah

feat: download count in resource detail v0.6

parent 073a362b
......@@ -62,7 +62,7 @@ endif;
<p><?php echo get_the_excerpt() ?: wp_trim_words(get_the_content(), 8, ' [...]'); ?>
</p>
<a href="<?php echo esc_url($url); ?>" target="_blank"
class="btn btn-primary btn-padding hover-up btn-start-project font-14 fw-500 btn-padding btn-submit text-light" id="btn-resource-download"
class="btn btn-primary btn-padding hover-up btn-start-project font-14 fw-500 btn-padding btn-submit text-light" id="btn-resource-download" data-resource-id="<?php echo get_the_ID(); ?>"
download>Download
Now [<?php echo $icon; ?>]<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
xmlns="http://www.w3.org/2000/svg">
......@@ -122,7 +122,7 @@ endif;
<div class="row">
<div class="col-md-6 col-lg-4 order-md-2">
<a href="<?php echo esc_url($url); ?>" target="_blank"
class="btn btn-primary btn-padding hover-up btn-start-project font-14 fw-500 btn-padding btn-submit text-light" id="btn-resource-download"
class="btn btn-primary btn-padding hover-up btn-start-project font-14 fw-500 btn-padding btn-submit text-light" id="btn-resource-download" data-resource-id="<?php echo get_the_ID(); ?>"
download>Download
Now [<?php echo $icon; ?>]</a>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment