
With this plugin, you can easily hide or show your Easy Digital Downloads product/download from the frontend display with just a click.
This plugin requires Easy Digital Downloads.
It 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.
2. Prevent direct access to the download. The browser will redirect the user to the site’s homepage.
3. Do a combination of hiding the download and preventing direct access to it.
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
<?php code(function thsedd_custom_edd_hide_download_redirect( $url ) { // download has ID of 32 if ( '32' == get_the_ID() ) { $url = 'http://easydigitaldownloads.com'; // redirect user to another external URL } // download has ID of 12 if( '12' == get_the_ID() ) { $url = get_permalink( '12' ); // redirect to another download which has an ID of 8 } // return our new URL return $url; } add_filter( 'edd_thsedd_download_redirect', 'thsedd_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
<?php code(function thsedd_custom_edd_hide_download_redirect( $url ) { $url = get_permalink( '12' ); // redirect to another download, post or page return $url; } add_filter( 'edd_thsedd_download_redirect', 'thsedd_custom_edd_hide_download_redirect' );); ?> Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
Adhit
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Add an FAQ section to your site to answer common questions, reduce support requests, and give visitors a smoother and more confident user experience.
Use a pricing slider to show dynamic prices by quantity, help visitors compare options, and support confident purchases.
Show inspiring quotes with a quotes carousel that rotates messages, enhances design, and keeps visitors engaged.
Display clean code snippets with syntax highlighting to improve technical content and help developers scan examples quickly.
Bracket generator for creating interactive tournaments that organize matchups, track progress, and deliver a clear and engaging competition experience.
Collect user insights with a feedback popup that reveals issues early, improves user experience, and captures valuable leads through a clear feedback form.
Track time since important events with a count up clock that displays elapsed days and hours and keeps visitors engaged.
Add an interactive before and after slider to your site to show visual transformations, capture attention, and help visitors understand real results.
Add interactive image hotspots to your site to turn static visuals into clickable guided experiences that improve engagement.
Use event flip cards to highlight upcoming activities, improve visibility, and help visitors discover events that increase attendance and engagement.
Create interactive infographics with a ratio widget that uses custom icons, dynamic tooltips, and clear visuals to help visitors understand data quickly.
Create custom calculators that let visitors enter values, get results, and make confident choices that support your business.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
