WordPress.org

Plugin Directory

Changeset 1520074


Ignore:
Timestamp:
10/23/16 01:41:54 (13 months ago)
Author:
Alobaidi
Message:

preloader
readme
settings
uninstall

Location:
the-preloader/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • the-preloader/trunk/preloader.php

    r1263392 r1520074  
    44Plugin URI: http://wp-plugins.in/the-preloader 
    55Description: Add preloader to your website easily, responsive and retina, full customize, compatible with all major browsers. 
    6 Version: 1.0.7 
     6Version: 1.0.8 
    77Author: Alobaidi 
    88Author URI: http://wp-plugins.in 
     
    1010*/ 
    1111 
    12 /*  Copyright 2015 Alobaidi (email: wp-plugins@outlook.com) 
     12/*  Copyright 2016 Alobaidi (email: wp-plugins@outlook.com) 
    1313 
    1414    This program is free software; you can redistribute it and/or modify 
     
    139139        or get_option( 'wptpreloader_screen' ) == '404error' and is_404() 
    140140    ){ 
    141          
     141        $image_width = apply_filters('wpt_thepreloader_image_size_get_width', '64'); 
     142        $image_height = apply_filters('wpt_thepreloader_image_size_get_height', '64'); 
    142143    ?> 
    143144        <style type="text/css"> 
     
    149150                bottom: 0; 
    150151                background:url(<?php echo $preloader_image; ?>) no-repeat <?php echo $background_color; ?> 50%; 
    151                 -moz-background-size:64px 64px; 
    152                 -o-background-size:64px 64px; 
    153                 -webkit-background-size:64px 64px; 
    154                 background-size:64px 64px; 
     152                -moz-background-size:<?php echo $image_width; ?>px <?php echo $image_height; ?>px; 
     153                -o-background-size:<?php echo $image_width; ?>px <?php echo $image_height; ?>px; 
     154                -webkit-background-size:<?php echo $image_width; ?>px <?php echo $image_height; ?>px; 
     155                background-size:<?php echo $image_width; ?>px <?php echo $image_height; ?>px; 
    155156                z-index: 99998; 
    156157                width:100%; 
     
    172173} 
    173174add_action('wp_head', 'WPTime_plugin_preloader_css'); 
    174  
    175 ?> 
  • the-preloader/trunk/readme.txt

    r1479729 r1520074  
    11=== Preloader === 
    22Contributors: Alobaidi 
    3 Donate link: https://cash.me/$QHZ 
     3Donate link: http://pay.wp-plugins.in/donations 
    44Tags: preloader, preload, responsive, retina, customize, custom, customizer, customizing, jquery, css3, loading, load, loader, image, images, Post, plugin, posts, page, widget, admin, sidebar, google, twitter, comments 
    55Requires at least: 3.4.0 
    6 Tested up to: 4.6 
    7 Stable tag: 1.0.7 
     6Tested up to: 4.6.1 
     7Stable tag: 1.0.8 
    88License: GPLv2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    2424* 9 Options to display preloader in full website or in posts only or in pages only, etc. 
    2525* jQuery & CSS3. 
    26 * Compatible with Google Chrome, FireFox, Opera, Safari, IE9, IE10, IE11 and with mobile devices like iPad, iPhone, Android, etc. 
     26* Compatible with Google Chrome, FireFox, Opera, Safari, IE9, IE10, IE11, and with mobile devices like iPad, iPhone, Android, etc. 
    2727* Easy to use. 
    2828 
     
    6363== Changelog == 
    6464 
     65= 1.0.8 = 
     66 
     67* Preloader Image Size Extension is ready! Now you can change Preloader image width and height. Update this plugin and buy [Image Size Extension](http://wp-plugins.in/PreloaderImageSizeExtension) for $1.99 on PayPal. [Read Extension Usage..](http://wp-plugins.in/the-preloader) 
     68 
    6569= 1.0.7 = 
    6670 
  • the-preloader/trunk/settings.php

    r1255753 r1520074  
    6767                                <td> 
    6868                                    <input class="regular-text" name="wptpreloader_image" type="text" id="wptpreloader_image" value="<?php echo esc_attr( $preloader_image ); ?>"> 
    69                                     <p class="description">Enter preloader image link, image size must to be 128x128 to be retina ready, <a href="http://preloaders.net" target="_blank">get free preloader image</a>.</p> 
     69                                    <p class="description"><?php echo apply_filters('wpt_thepreloader_image_size_remove_128px', 'Enter preloader image link, image size must to be 128x128 to be retina ready.'); ?> <a href="http://preloaders.net" target="_blank">Get FREE Preloader Image</a>.</p> 
     70                                </td> 
     71                            </tr> 
     72 
     73                            <tr> 
     74                                <th scope="row"><label for="wptpreloader_image_width">Preloader Image Width</label></th> 
     75                                <td> 
     76                                    <?php 
     77                                        $image_width_input = '<input class="small-text" value="" type="text" disabled>'; 
     78                                        $image_width_input .= '<p class="description">This option will be activated after purchase Image Size Extension. Buy <a href="http://wp-plugins.in/PreloaderImageSizeExtension" target="_blank">Image Size Extension</a> for $1.99 on PayPal.</p>'; 
     79                                        echo apply_filters('wpt_thepreloader_image_size_width_input', $image_width_input); 
     80                                    ?> 
     81                                </td> 
     82                            </tr> 
     83 
     84                            <tr> 
     85                                <th scope="row"><label for="wptpreloader_image_height">Preloader Image Height</label></th> 
     86                                <td> 
     87                                    <?php 
     88                                        $image_height_input = '<input class="small-text" value="" type="text" disabled>'; 
     89                                        $image_height_input .= '<p class="description">This option will be activated after purchase Image Size Extension.</p>'; 
     90                                        echo apply_filters('wpt_thepreloader_image_size_height_input', $image_height_input); 
     91                                    ?> 
    7092                                </td> 
    7193                            </tr> 
     
    147169        <?php 
    148170    } // settings page function 
    149  
    150 ?> 
  • the-preloader/trunk/uninstall.php

    r1239591 r1520074  
    1616delete_option('wptpreloader_image'); 
    1717delete_option('wptpreloader_screen'); 
    18  
    19 ?> 
Note: See TracChangeset for help on using the changeset viewer.