If you want to avoid loading weighty scripts, increase your page loading speed, use this plugin to get the VK Community Widget Cached.
Author: | Dariusz Zielonka / Natural Web Design (profile at wordpress.org) |
WordPress version required: | 3.0 |
WordPress version tested: | 3.6.1 |
Plugin version: | 0.9.1 |
Added to WordPress repository: | 19-10-2013 |
Last updated: | 05-11-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 60 |
Rated by: | 2 |
Plugin URI: | http://naturalwebdesign.net/plugins/wordpress... |
Total downloads: | 4 353 |
Active installs: | 30+ |
Click to start download |
This plugin was adapted to avoid loading VKontakte Community Widget JavaScripts and images in an iframe every time a page is loaded. It is a fact, that the JavaScripts and iframes increase page loading times and are often harmful for websites’ performance. Not everyone likes to have extra weight code on his/her website. Especially when functionality that is brought by the code is not essential.
This plugin is inspired by a similiar WordPress plugin and adapted for VKontakte Community Widget.
You can check post on my website – Natural Web Design, for tutorial, updates, and news.
*** Please note, that Plugin is in BETA testing phase ***
Features:
- Decrease page load time on pages that contain your VK.com Community Widget code
- VK Cache WordPress Widget (Default 240px wide)
- Manual Cache Refresh
A few notes about this plugin:
- The plugin requires PHP5 and cURL to be installed and enabled on your server.
- You can see a working demo of the Plugin on frontend here.
Still to be done:
- Shortcode for inserting into a page
CSS Guide
If you opt to disable inline CSS, you can paste this into your themes style.css file, and it will give you the default look.
.widget_vkcache .community_div {
margin:10px auto;
width:240px;
}
.widget_vkcache .community_div_head {
border-bottom:1px solid #D8DFEA;
padding-bottom:5px;
}
.widget_vkcache .connections .total {
font-size:12px;
padding: 5px 0 0;
}
.widget_vkcache .connections .grid a {
float:none;
text-align:center;
text-decoration:none;
}
.widget_vkcache .connections .grid a img {
margin:0;
border: 0;
}
.widget_vkcache .connections .grid a span {
color:#808080;
font-size:10px;
}
.widget_vkcache .img_Link {
float:left;
padding-right:5px;
}
.widget_vkcache .VKuser {
padding: 3px 0;
width: 73px;
float:left;
text-align: center;
}
.widget_vkcache .VKuser-pic {
height: 47px;
clear: both;
overflow: hidden;
padding-bottom: 3px;
}
.widget_vkcache .img_Link img {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
.widget_vkcache .VKusername {
font-size: 0.9em;
text-align: center;
}
.widget_vkcache .connect_button.VKstyle {
display: block;
clear: both;
padding: 5px;
text-align: center;
font-weight: bold;
font-size: 16px;
}