600+
November 9, 2022
July 28, 2013
This plugin requires Easy Digital Downloads.
If you’ve created a custom landing page or purchase funnel, hide the default product page of an Easy Digital Downloads product from users, and redirect them to your funnel. This allows you to optimize your purchase funnel and increase revenue.
EDD Hide Download allows you to:
1. Hide a download so it doesn’t appear on the custom post type archive page, anywhere where the [downloads] shortcode is being used, or any custom query on a page template
1. Prevent direct access to the download product page. The browser will redirect the user to the site’s homepage.
1. Do a combination of hiding the download and preventing direct access to it
This plugin is extremely useful in the following situations:
Filter example
Example filter of how you can change the redirect based on the download ID. Copy this function to your child theme’s functions.php or custom plugin
function sumobi_custom_edd_hide_download_redirect( $url ) {
// download has ID of 17
if ( '17' == get_the_ID() ) {
$url = 'http://easydigitaldownloads.com'; // redirect user to another external URL
}
// download has ID of 15
if( '15' == get_the_ID() ) {
$url = get_permalink( '8' ); // redirect to another download which has an ID of 8
}
// return our new URL
return $url;
}
add_filter( 'edd_hide_download_redirect', 'sumobi_custom_edd_hide_download_redirect' );
Example filter of how you can globally change the redirect. Copy this function to your child theme’s functions.php or custom plugin
function sumobi_custom_edd_hide_download_redirect_url( $url ) {
$url = get_permalink( '8' ); // redirect to another download, post or page
return $url;
}
add_filter( 'edd_hide_download_redirect', 'sumobi_custom_edd_hide_download_redirect' );
Get more with Easy Digital Downloads Pro
https://easydigitaldownloads.com/pricing/
wp-content/plugins/ folder locallywp-admin/plugins.php on your site (your WP Admin plugin page)OR you can just install it with WordPress by going to Plugins >> Add New >> and type this plugin’s name
After activation, a new “Hide Download” section will appear at the bottom of Easy Digital Download’s Download Configuration metabox
No FAQ provided.
| Version | Download | Type |
|---|---|---|
| 1.2.11.1 | Download | Stable |
| 1.2.11 | Download | Stable |
| 1.2.10 | Download | Stable |
| 1.2.9 | Download | Stable |
| 1.2.8 | Download | Stable |
| 1.2.7 | Download | Stable |
| 1.2.6 | Download | Stable |
| 1.2.5 | Download | Stable |
| 1.2.4 | Download | Stable |
| 1.2.3 | Download | Stable |
| 1.2.2 | Download | Stable |
| 1.2.1 | Download | Stable |
| 1.2 | Download | Stable |
| 1.1.5 | Download | Stable |
| 1.1.4 | Download | Stable |
| 1.1.3 | Download | Stable |
| 1.1.2 | Download | Stable |
| 1.1.1 | Download | Stable |
| 1.1 | Download | Stable |
| 1.0.1 | Download | Stable |
| Development | Download | Trunk |