Plugin Directory

Changeset 1663759


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

updated

File:
1 edited

Legend:

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

    r1663750 r1663759  
    321321endif;
    322322
     323/* Check preview start here*/
     324if(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
    323342/*Function that check wheather the coming soon or maintanance mode is disable or enable */
    324343if(get_option('ccs_status')=='enabled')
Note: See TracChangeset for help on using the changeset viewer.