Plugin Directory

Changeset 1663750


Ignore:
Timestamp:
05/24/2017 08:45:34 AM (9 years ago)
Author:
SuryaBhan
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • custom-coming-soon/tags/2.0/custom-coming-soon.php

    r1663746 r1663750  
    321321endif;
    322322
    323 /* Check preview start here*/
    324 if(isset($_GET['mode'])=="live-preview")
    325 {
    326    
    327       get_template_directory();
    328           if(get_option('ccs_theme')=="SB")
    329             {
    330             require dirname(__FILE__).'/themes/StaticBackground/ccs-static-background.php';
    331             }
    332             else
    333             {
    334             require dirname(__FILE__).'/themes/default/ccs-theme.php';
    335             }
    336            exit;
    337 }
    338 
    339 /* Check preview ends here*/
    340 
    341 
    342323/*Function that check wheather the coming soon or maintanance mode is disable or enable */
    343324if(get_option('ccs_status')=='enabled')
Note: See TracChangeset for help on using the changeset viewer.