Beskrivelse
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
Dette plugin er særdeles anvendelig i følgende situationer:
- Du har oprettet en produkt landingsside og indsat en køb nu knap med dit produkt. Siden landings siden inderholder alle de obligatoriske produkt oplysninger, kan du skjule produktet på resten af dit websted og forhindre direkte adgang til det.
- You’ve added a product (eg support package) that shouldn’t sit with your other products you have listed. In this case we can simply hide it from appearing with the other products and insert it where we’d like it to appear using the shortcode.
Eksempel på filter
Eksempel på filter så du kan ændre en omdirigering baseret på downloadens ID. Kopier denne funktion til dit undertemas functions.php eller et 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' );
Ekselpel på filer så du globalt kan ændre omdirigeringen. Kopier denne funktion til dit undertemas functions.php eller et 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
Skærmbilleder
Installation
- Udpak hele indholdet af denne plugin zip fil til din
wp-content/plugins/
mappe - Opload til dit websted
- Navigere til
wp-admin/plugins.php
på dit websted (din WP Admin plugins side) - Aktiver dette plugin
ELLER du kan blot installere det med WordPress ved at gå til Plugins >> Tilføj nyt >> og skriv dette plugins navn
Efter aktiveringen vil en ny “Skjul download” boks vises ved bunden af Easy Digital Downloads download konfigurations metaboks
Anmeldelser
Bidragsydere & udviklere
“EDD Hide Download” is open source software. The following people have contributed to this plugin.
Bidragsydere“EDD Hide Download” er blevet oversat til 4 sprog. Tak til oversætterne for deres bidrag.
Translate “EDD Hide Download” into your language.
Interesseret i udvikling?
Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.
Ændringslog
1.2.11.1
- Fix: If the transient of hidden products was missing, specific queries could produce an infinite loop while trying to re-populate the transient.
1.2.11
- Improvement: Plugin translations are now handled by the WordPress repository.
- Fix: The hidden downloads property could be something other than an array and cause a PHP error.
- Dev: The minimum WordPress version has been updated to 4.9.
1.2.10
- Fix: Private downloads now respect the “hide” setting.
- New: Admins can now access hidden downloads via the REST API.
- Dev: Refactor how the plugin is loaded.
- Dev: All class properties are explicitly declared.
- Tweak: Updated plugin author name and URL.
1.2.9
- New: Added Danish translation.
- Fix: Frontend Submissions Integration: PHP notices when viewing a vendor’s store.
- Tweak: Update plugin author name and URI to Sandhills Development, LLC.
1.2.8
- Fix: Do not hide downloads in API when user with edit_post capability is making API request.
1.2.7
- Fix: Fatal error if FES was not active.
1.2.6
- New: Compability with the Front End Submissions extension. When a download is hidden it will remain visible on the vendor’s dashboard product page
1.2.5
- Fix: Plugin became deactivated when EDD was updated
1.2.4
- Fix: Hidden downloads not being hidden properly on some pages such as the custom post type archive pages
1.2.3
- Fix: Forums not being shown in bbPress
- Tweak: Moved the plugin’s options to EDD’s “download settings” metabox
1.2.2
- Fix: Fatal error when bbPress was not active. Added check for existance of bbPress.
1.2.1
- Fix: Compatibility with bbPress – props @nphaskins
1.2
- Fix: array merge for post__in – props @StephenCronin
- New: activation check for EDD
- Tweak: Improved localization function