Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save barrykooij/718207a0f4ad9d2238c1c0423fa36d39 to your computer and use it in GitHub Desktop.
Save barrykooij/718207a0f4ad9d2238c1c0423fa36d39 to your computer and use it in GitHub Desktop.
if ( '' != $dlm_download->{DLM_GF_Constants::META_FORM} && 0 != $dlm_download->{DLM_GF_Constants::META_FORM} ) {
?>
<section id="na_pre_dl_form">
<p><span class="gfield_required">*</span> required field</p>
<!-- Output the download form -->
<?php echo do_shortcode( '[dlm_gf_form download_id=' . $dlm_download->id . ']' ); ?>
<!-- Now we return to your regularly scheduled programm -->
</section>
<?php
}
@nootrope
Copy link

This worked, @barrykooij ! Only one fatal issue remaining, which I've re-raised in the latest email. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment