• Hi I need help with SS downloads plugin. I am using to collect email addresses from visitors that want to download certain stuff form content.

    I have a files that are uploaded through the custom meta boxes in custom post type called Downloads.

    The problem is that when an email address is entered and clicked to submit I get redirect to a single page and when I get back with the browser back button then I get the actual download link.

    Can anyone help me with this one please?

    Here is the code that I am using..

    <?php $file = get_post_meta( get_the_ID(), '_staff_dlfile', false ); foreach ( $file as $att ) ?>
    <?php echo do_shortcode('[download file="' . wp_get_attachment_url( $att ) . '" title="title"]') ?>

    If I have something similar to this

    <?php echo do_shortcode('[download file="filename.pdf" title="title"]') ?>

    it works fine. But I need it to update itself when a file is uploaded.

    Thanks.

  • The topic ‘SS Downloads redirect problem’ is closed to new replies.