
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.
Display social proof avatars that show user activity and ratings, build trust instantly, and help visitors feel confident about your credibility.
Show business locations clearly with a Google Maps widget that displays multiple points, detailed info, and customizable styles to help visitors find you easily.
Showcase visuals with a multi row image slider that displays images in layered rows, improves design, and helps visitors explore content more easily.
Create business listings with a listings widget that presents companies clearly, supports easy organization, and helps visitors find the right services quickly.
Create event listings with an events board widget that displays upcoming activities clearly, helps visitors discover events, and supports easy management.
Use a notification bar to alert users, highlight offers, and drive clicks that boost engagement, signups, and conversions.
Transform PDFs into interactive flipbooks with a PDF flipbook widget that improves reading and keeps visitors engaged.
Add interactive video overlays with links, product cards, and buttons that appear on top of your videos to boost engagement and guide user actions.
Add a no-code audio player to your site and boost engagement with music, podcasts, and voice content effortlessly.
Show real time visitor counts with a visitor counter widget that displays live traffic, builds social proof, and boosts engagement.
Show rankings and performance data on your site with a customizable scores board that motivates participation and keeps users engaged.
Use a Lottie player to embed lightweight JSON animations that improve visual design, keep pages fast, and create a smoother user experience.
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!
