Changeset 2643772
- Timestamp:
- 12/14/2021 09:38:21 AM (4 years ago)
- Location:
- cs-popup-maker
- Files:
-
- 1 added
- 5 edited
-
tags/2.0.2 (added)
-
trunk/cs-popup-maker.php (modified) (1 diff)
-
trunk/public/class-cs-popup-maker-public.php (modified) (2 diffs)
-
trunk/public/css/cs-popup-maker-public.css (modified) (1 diff)
-
trunk/public/css/cs-popup-maker-public.min.css (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cs-popup-maker/trunk/cs-popup-maker.php
r2638144 r2643772 17 17 * Plugin URI: # 18 18 * Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area. 19 * Version: 2.0. 119 * Version: 2.0.2 20 20 * Author: catchsquare 21 21 * Contributors: catchsquare,csarmy,ashokmhrj,abindrard -
cs-popup-maker/trunk/public/class-cs-popup-maker-public.php
r2638138 r2643772 73 73 * class. 74 74 */ 75 76 75 77 $min = ''; 76 78 if( defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ) { 77 79 $min = '.min'; 78 80 } 79 80 wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/cs-popup-maker-public' . $min . '.css', array(), $this->version, 'all' ); 81 $cspopup = get_option( 'cs-popup' ); 82 if( isset($cspopup['cs_popup_status']) && 1 == $cspopup['cs_popup_status'] ) { 83 84 wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/cs-popup-maker-public' . $min . '.css', array(), $this->version, 'all' ); 85 } 81 86 82 87 } … … 104 109 $min = '.min'; 105 110 } 106 107 wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/cs-popup-maker-public' . $min . '.js', array( 'jquery','underscore' ), $this->version, false ); 108 # Localize the script with new data 109 wp_localize_script( $this->plugin_name, 'cs_obj', $this->localized_script() ); 111 $cspopup = get_option( 'cs-popup' ); 112 if( isset($cspopup['cs_popup_status']) && 1 == $cspopup['cs_popup_status'] ) { 113 wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/cs-popup-maker-public' . $min . '.js', array( 'jquery','underscore' ), $this->version, false ); 114 # Localize the script with new data 115 wp_localize_script( $this->plugin_name, 'cs_obj', $this->localized_script() ); 116 } 110 117 111 118 } -
cs-popup-maker/trunk/public/css/cs-popup-maker-public.css
r2638138 r2643772 4 4 */ 5 5 6 7 *{margin:0; padding: 0;} 8 body{text-align: center; color: #fff; font-family: 'open sans';} 9 img{ outline: none; border: none; max-width: 100%; height: auto} 6 .cs-popup-container img{ outline: none; border: none; max-width: 100%; height: auto} 10 7 11 8 .transition{-webkit-transition: all 0.5s ease; -
cs-popup-maker/trunk/public/css/cs-popup-maker-public.min.css
r2638138 r2643772 1 *{margin:0;padding:0}body{text-align:center;color:#fff;font-family:'open sans'}img{outline:0;border:none;max-width:100%;height:auto}.transition{-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-ms-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease}.cs-overlay{background:rgba(0,0,0,.5);position:fixed;width:100%;height:100%;z-index:98}.cs-popup-container{position:relative;z-index:9999}.cs-popup-wrap{width:auto;max-width:90%;border-radius:5px;border:10px solid #fff;position:fixed;top:50%;left:50%;-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);box-shadow:0 0 10px 3px rgba(0,0,0,.12)}.cs-popup-wrap img{float:left}.cs-popup-wrap .close-button{position:absolute;top:20px;right:20px;width:35px;height:35px;padding:1px;background:#fff;border-radius:50%;cursor:pointer;opacity:.1;-webkit-transition:all ease .5s;-moz-transition:all ease .5s;transition:all ease .5s}.cs-popup-wrap:hover .close-button{opacity:1}@media screen and (max-width:768px){.cs-popup-wrap .close-button{width:25px;height:25px;right:10px;top:10px;padding:0}}@media screen and (max-width:550px){.cs-popup-wrap{width:80%;text-align:center;background:#fff}.cs-popup-wrap img{float:none}}1 .cs-popup-container img{outline:0;border:none;max-width:100%;height:auto}.transition{-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-ms-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease}.cs-overlay{background:rgba(0,0,0,.5);position:fixed;width:100%;height:100%;z-index:98}.cs-popup-container{position:relative;z-index:9999}.cs-popup-wrap{width:auto;max-width:90%;border-radius:5px;border:10px solid #fff;position:fixed;top:50%;left:50%;-ms-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);box-shadow:0 0 10px 3px rgba(0,0,0,.12)}.cs-popup-wrap img{float:left}.cs-popup-wrap .close-button{position:absolute;top:20px;right:20px;width:35px;height:35px;padding:1px;background:#fff;border-radius:50%;cursor:pointer;opacity:.1;-webkit-transition:all ease .5s;-moz-transition:all ease .5s;transition:all ease .5s}.cs-popup-wrap:hover .close-button{opacity:1}@media screen and (max-width:768px){.cs-popup-wrap .close-button{width:25px;height:25px;right:10px;top:10px;padding:0}}@media screen and (max-width:550px){.cs-popup-wrap{width:80%;text-align:center;background:#fff}.cs-popup-wrap img{float:none}} -
cs-popup-maker/trunk/readme.txt
r2638144 r2643772 4 4 Requires at least: 4.5 5 5 Tested up to: 5.8 6 Stable tag: 2.0. 16 Stable tag: 2.0.2 7 7 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=contact%40catchsquare%2ecom&lc=US&item_name=Catchsquare%20Popup&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest 8 8 License: GPLv2 or later … … 15 15 CS Popup Maker is a simple Wordpress plugin to show a popup image in homepage, single page or multiple pages. It is an easy-to-use plugin which is controlled from backend and displays as image pop-up in homepage / single page or multiple pages which is helpful to give your visitors information about your business. 16 16 17 C S Popup Maker is a simple WordPress plugin to show a popups in homepage, single page or multiple pages. Currently, the plugins supports image popup but will be updated with new features in near future. Stayed tuned....17 Currently, the plugins supports image popup but will be updated with new features in near future. Stayed tuned.... 18 18 19 19 You will find following options with plugins: … … 40 40 41 41 == Credits == 42 * Underscores (_s) starter theme http://underscores.me [GPL](http://www.gnu.org/licenses/gpl.html)43 42 * Semantic ui https://semantic-ui.com [MIT](http://opensource.org/licenses/MIT) 44 43 … … 49 48 = 2.0 = 50 49 Initial version 50 = 2.0.2 = 51 Change CSS
Note: See TracChangeset
for help on using the changeset viewer.