>
Download This Plugin | |
Download Elegant Themes | |
Name | EDD Coming Soon |
Version | 1.3 |
Author | Andrew Munro, Sumobi |
Rating | 100 |
Last updated | 2014-08-24 06:37:00 |
Downloads |
2347
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
EDD Coming Soon plugin added 192 bytes of resources to the Home page and 186 bytes of resources to the sample Post page.
EDD Coming Soon plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! EDD Coming Soon plugin ads no tables to your Wordpress blog database.This plugin requires Easy Digital Downloads. It allows downloads to be "Coming Soon" or have Custom Status text, and prevents them from being added to the cart. It does a few things:
** Filter examples **
Example filter of how you can change the default coming soon text. Copy this function to your functions.php
function edd_coming_soon_modify_default_status_text() {
return 'Not long now!';
}
add_filter( 'edd_cs_coming_soon_text', 'edd_coming_soon_modify_default_status_text' );
Example filter of how you can modify the markup of the coming soon text in the admin columns. Copy this function to your functions.php
function edd_coming_soon_modify_admin_column_text( $custom_text ) {
return '<h2>' . $custom_text . '</h2>';
}
add_filter( 'edd_coming_soon_display_admin_text', 'edd_coming_soon_modify_admin_column_text' );
Example filter of how you can modify the markup of the coming soon text on the front end. Copy this function to your functions.php
function edd_coming_soon_modify_text( $custom_text ) {
return '<h2>' . $custom_text . '</h2>';
}
add_filter( 'edd_coming_soon_display_text', 'edd_coming_soon_modify_text' );
Example filter of how you can modify the message that displays when someone tries to purchase a download that is coming soon. This message can be tested by appending ?edd_action=add_to_cart&download_id=XXX to your URL, substituting XXX with your download ID
function edd_coming_soon_modify_prevent_download_message( $download_id ) {
return __( 'This item cannot be purchased just yet, hang tight!', 'edd-coming-soon' );
}
add_filter( 'edd_coming_soon_pre_add_to_cart', 'edd_coming_soon_modify_prevent_download_message' );
Stay up to date
Become a fan on Facebook http://www.facebook.com/sumobicom
Follow me on Twitter http://twitter.com/sumobi_