Version Description
Download this release
Release Info
Developer | dipakcg |
Plugin | WP Super Minify |
Version | 1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1 to 1.2
- assets/css/style.css +14 -0
- readme.txt +5 -2
- wp-super-minify.php +22 -3
assets/css/style.css
CHANGED
@@ -17,4 +17,18 @@
|
|
17 |
}
|
18 |
.wpsmy_admin_dev_sidebar a{
|
19 |
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
}
|
17 |
}
|
18 |
.wpsmy_admin_dev_sidebar a{
|
19 |
text-decoration: none;
|
20 |
+
}
|
21 |
+
.news_section {
|
22 |
+
border-radius: 10px;
|
23 |
+
background-color: #FFFFFF;
|
24 |
+
padding: 20px 20px 20px 20px;
|
25 |
+
width: 98%;
|
26 |
+
}
|
27 |
+
|
28 |
+
a.rsswidget {
|
29 |
+
font-size: 16px !important;
|
30 |
+
text-decoration: none !important;
|
31 |
+
}
|
32 |
+
.rss-widget ul li {
|
33 |
+
margin-bottom: 25px !important;
|
34 |
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: dipakcg
|
|
3 |
Tags: minify, compress, combine, html, css, javascript, js, performance, load, speed, time, yslow, pagespeed
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3S8BRPLWLNQ38
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to: 4.1
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -43,6 +43,9 @@ Pretty much, yeah.
|
|
43 |
1. Admin Settings
|
44 |
|
45 |
== Changelog ==
|
|
|
|
|
|
|
46 |
= 1.1, Jan 03, 2015 =
|
47 |
* Fixed compression related issues
|
48 |
* Replaced manual compression functions with the latest version of [Minify PHP Framework](https://code.google.com/p/minify/)
|
3 |
Tags: minify, compress, combine, html, css, javascript, js, performance, load, speed, time, yslow, pagespeed
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3S8BRPLWLNQ38
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 4.1.1
|
7 |
+
Stable tag: 1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
43 |
1. Admin Settings
|
44 |
|
45 |
== Changelog ==
|
46 |
+
= 1.2, Feb 28, 2015 =
|
47 |
+
* Added News and Updates section in admin options
|
48 |
+
|
49 |
= 1.1, Jan 03, 2015 =
|
50 |
* Fixed compression related issues
|
51 |
* Replaced manual compression functions with the latest version of [Minify PHP Framework](https://code.google.com/p/minify/)
|
wp-super-minify.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP Super Minify
|
4 |
Plugin URI: https://github.com/dipakcg/wp-super-minify
|
5 |
Description: This plugin combine and compress HTML, JavaScript and CSS files to improve page load speed.
|
6 |
-
Version: 1.
|
7 |
Author: Dipak C. Gajjar
|
8 |
Author URI: http://dipakgajjar.com
|
9 |
*/
|
@@ -13,7 +13,7 @@ if (!defined('WPSMY_PLUGIN_VERSION')) {
|
|
13 |
define('WPSMY_PLUGIN_VERSION', 'wpsmy_plugin_version');
|
14 |
}
|
15 |
if (!defined('WPSMY_PLUGIN_VERSION_NUM')) {
|
16 |
-
define('WPSMY_PLUGIN_VERSION_NUM', '1.
|
17 |
}
|
18 |
update_option(WPSMY_PLUGIN_VERSION, WPSMY_PLUGIN_VERSION_NUM);
|
19 |
|
@@ -84,7 +84,7 @@ function wpsmy_admin_options() {
|
|
84 |
</td>
|
85 |
<td style="text-align: left;">
|
86 |
<div class="wpsmy_admin_dev_sidebar_div">
|
87 |
-
<img src="
|
88 |
<span class="wpsmy_admin_dev_sidebar"> <?php echo '<img src="' . plugins_url( 'assets/images/wpsmy-support-this-16x16.png' , __FILE__ ) . '" > '; ?> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3S8BRPLWLNQ38" target="_blank"> Support this plugin and donate </a> </span>
|
89 |
<span class="wpsmy_admin_dev_sidebar"> <?php echo '<img src="' . plugins_url( 'assets/images/wpsmy-rate-this-16x16.png' , __FILE__ ) . '" > '; ?> <a href="http://wordpress.org/support/view/plugin-reviews/wp-super-minify" target="_blank"> Rate this plugin on WordPress.org </a> </span>
|
90 |
<span class="wpsmy_admin_dev_sidebar"> <?php echo '<img src="' . plugins_url( 'assets/images/wpsmy-wordpress-16x16.png' , __FILE__ ) . '" > '; ?> <a href="http://wordpress.org/support/plugin/wp-super-minify" target="_blank"> Get support on on WordPress.org </a> </span>
|
@@ -99,6 +99,25 @@ function wpsmy_admin_options() {
|
|
99 |
</table>
|
100 |
</div>
|
101 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
}
|
103 |
|
104 |
// Make the default value of enable javascript and enable CSS to true on plugin activation
|
3 |
Plugin Name: WP Super Minify
|
4 |
Plugin URI: https://github.com/dipakcg/wp-super-minify
|
5 |
Description: This plugin combine and compress HTML, JavaScript and CSS files to improve page load speed.
|
6 |
+
Version: 1.2
|
7 |
Author: Dipak C. Gajjar
|
8 |
Author URI: http://dipakgajjar.com
|
9 |
*/
|
13 |
define('WPSMY_PLUGIN_VERSION', 'wpsmy_plugin_version');
|
14 |
}
|
15 |
if (!defined('WPSMY_PLUGIN_VERSION_NUM')) {
|
16 |
+
define('WPSMY_PLUGIN_VERSION_NUM', '1.2');
|
17 |
}
|
18 |
update_option(WPSMY_PLUGIN_VERSION, WPSMY_PLUGIN_VERSION_NUM);
|
19 |
|
84 |
</td>
|
85 |
<td style="text-align: left;">
|
86 |
<div class="wpsmy_admin_dev_sidebar_div">
|
87 |
+
<img src="//www.gravatar.com/avatar/38b380cf488d8f8c4007cf2015dc16ac.jpg" width="100px" height="100px" /> <br />
|
88 |
<span class="wpsmy_admin_dev_sidebar"> <?php echo '<img src="' . plugins_url( 'assets/images/wpsmy-support-this-16x16.png' , __FILE__ ) . '" > '; ?> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3S8BRPLWLNQ38" target="_blank"> Support this plugin and donate </a> </span>
|
89 |
<span class="wpsmy_admin_dev_sidebar"> <?php echo '<img src="' . plugins_url( 'assets/images/wpsmy-rate-this-16x16.png' , __FILE__ ) . '" > '; ?> <a href="http://wordpress.org/support/view/plugin-reviews/wp-super-minify" target="_blank"> Rate this plugin on WordPress.org </a> </span>
|
90 |
<span class="wpsmy_admin_dev_sidebar"> <?php echo '<img src="' . plugins_url( 'assets/images/wpsmy-wordpress-16x16.png' , __FILE__ ) . '" > '; ?> <a href="http://wordpress.org/support/plugin/wp-super-minify" target="_blank"> Get support on on WordPress.org </a> </span>
|
99 |
</table>
|
100 |
</div>
|
101 |
<?php
|
102 |
+
echo '<hr style="margin-bottom: 2em;" />';
|
103 |
+
echo '<table cellspacing="0" cellpadding="0" class="news_section"> <tr>';
|
104 |
+
echo '<td width="50%" valign="top">';
|
105 |
+
echo '<h1>News & Updates from Dipak C. Gajjar</h1>';
|
106 |
+
echo '<div class="rss-widget">';
|
107 |
+
wp_widget_rss_output(array(
|
108 |
+
'url' => 'https://dipakgajjar.com/category/news/feed/?refresh='.rand(10,100).'', // feed URL
|
109 |
+
'title' => 'News & Updates from Dipak C. Gajjar',
|
110 |
+
'items' => 3, // nubmer of posts to display
|
111 |
+
'show_summary' => 1,
|
112 |
+
'show_author' => 0,
|
113 |
+
'show_date' => 0
|
114 |
+
));
|
115 |
+
echo '</div> <td width="5%">   </td>';
|
116 |
+
echo '</td> <td valign="top">';
|
117 |
+
?>
|
118 |
+
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/dipakcgajjar" data-widget-id="547661367281729536">Tweets by @dipakcgajjar</a>
|
119 |
+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
120 |
+
<?php echo '</td> </tr> </table>';
|
121 |
}
|
122 |
|
123 |
// Make the default value of enable javascript and enable CSS to true on plugin activation
|