php $download_url = sd_get_standard_download_url_from_id($id); $download_button_code = '' . $name . ''; php if ( empty( $_POST['post_password'] ) ) { $output = '' . __( 'Error! You must enter a category slug OR a category id with this shortcode.', 'simple-download-monitor' ) . ''; php if ( $cpt_is_password != 'no' ) {/This is a password protected download so replace the download now button with password requirement/ $download_button_code = sd_get_password_entry_form( $id, $shortcode_atts, 'sdm_download', $color ); }