Blog Designer - Version 1.5

Version Description

Download this release

Release Info

Developer solwininfotech
Plugin Icon 128x128 Blog Designer
Version 1.5
Comparing to
See all releases

Code changes from version 1.0 to 1.5

blog-designer.php CHANGED
@@ -1,9 +1,11 @@
1
  <?php
2
  /**
3
  Plugin Name: Blog Designer
4
- Plugin URI:
5
  Description: To make your blog design more attractive and colorful.
6
- Version: 1.4.3
 
 
7
  License: GPLv2 or later
8
  */
9
  add_action('admin_menu', 'wp_blog_designer_add_menu');
@@ -133,11 +135,9 @@ function wp_blog_designer_front_stylesheet(){
133
  }
134
 
135
  function wp_blog_designer_scripts() {
136
-
137
  wp_enqueue_script('jquery');
138
  wp_enqueue_script('cpicker', plugins_url('/js/cpicker.js', __FILE__), '1.2');
139
- wp_enqueue_script('eye', plugins_url('/js/eye.js', __FILE__), '2.0');
140
- wp_enqueue_script('bound', plugins_url('/js/bound.js', __FILE__), '1.8.5');
141
  wp_enqueue_script('designer', plugins_url('/js/designer.js', __FILE__), '1.0.2');
142
  }
143
 
@@ -198,13 +198,9 @@ function wp_blog_designer_views() {
198
  $cat = '';
199
  }
200
 
201
-
202
-
203
-
204
  $posts_per_page = get_option('posts_per_page');
205
  $paged = lumiapaged();
206
 
207
-
208
  $posts = query_posts(array('cat' => $cat, 'posts_per_page' => $posts_per_page, 'paged' => $paged));
209
  $alter= 1;
210
  while (have_posts()) : the_post();
@@ -503,9 +499,8 @@ function wp_spektrum_template() {
503
  ?>
504
  </span>
505
  <?php endif; ?>
506
- </div>
507
- </div>
508
- <div class="social-component spektrum-social">
509
  <?php if (get_option('facebook_link') == 0): ?>
510
  <a href="<?php echo 'https://www.facebook.com/dialog/share?&href=' . get_the_permalink(); ?>" target= _blank class="facebook-share"><i class="fa fa-facebook"></i></a>
511
  <?php endif; ?>
@@ -524,8 +519,9 @@ function wp_spektrum_template() {
524
  <?php if (get_option('pinterest_link') == 0): ?>
525
  <a href="<?php echo '//pinterest.com/pin/create/button/?url=' . get_the_permalink(); ?>" target= _blank class="pinterest"> <i class="fa fa-pinterest"></i></a>
526
  <?php endif; ?>
 
527
  </div>
528
- </div>
529
  <?php
530
  }
531
 
1
  <?php
2
  /**
3
  Plugin Name: Blog Designer
4
+ Plugin URI:http://www.solwininfotech.com/
5
  Description: To make your blog design more attractive and colorful.
6
+ Author: Solwin Infotech
7
+ Author URI: http://www.solwininfotech.com/
8
+ Version: 1.5
9
  License: GPLv2 or later
10
  */
11
  add_action('admin_menu', 'wp_blog_designer_add_menu');
135
  }
136
 
137
  function wp_blog_designer_scripts() {
 
138
  wp_enqueue_script('jquery');
139
  wp_enqueue_script('cpicker', plugins_url('/js/cpicker.js', __FILE__), '1.2');
140
+ wp_enqueue_script('eye', plugins_url('/js/eye.js', __FILE__), '2.0');
 
141
  wp_enqueue_script('designer', plugins_url('/js/designer.js', __FILE__), '1.0.2');
142
  }
143
 
198
  $cat = '';
199
  }
200
 
 
 
 
201
  $posts_per_page = get_option('posts_per_page');
202
  $paged = lumiapaged();
203
 
 
204
  $posts = query_posts(array('cat' => $cat, 'posts_per_page' => $posts_per_page, 'paged' => $paged));
205
  $alter= 1;
206
  while (have_posts()) : the_post();
499
  ?>
500
  </span>
501
  <?php endif; ?>
502
+ </div>
503
+ <div class="social-component spektrum-social">
 
504
  <?php if (get_option('facebook_link') == 0): ?>
505
  <a href="<?php echo 'https://www.facebook.com/dialog/share?&href=' . get_the_permalink(); ?>" target= _blank class="facebook-share"><i class="fa fa-facebook"></i></a>
506
  <?php endif; ?>
519
  <?php if (get_option('pinterest_link') == 0): ?>
520
  <a href="<?php echo '//pinterest.com/pin/create/button/?url=' . get_the_permalink(); ?>" target= _blank class="pinterest"> <i class="fa fa-pinterest"></i></a>
521
  <?php endif; ?>
522
+ </div>
523
  </div>
524
+
525
  <?php
526
  }
527
 
css/admin.css CHANGED
@@ -1644,50 +1644,4 @@
1644
  .wl-builder-preview-button {
1645
  margin: 10px 0px 6px 0px;
1646
  text-align: center;
1647
- }
1648
-
1649
- /**************************************************/
1650
- /* COLOR PICKER */
1651
- /**************************************************/
1652
-
1653
- .wp-picker-container {
1654
- position: relative;
1655
- }
1656
-
1657
- .wp-picker-input-wrap {
1658
- width: 255px;
1659
- bottom: 58px;
1660
- z-index: 10;
1661
- text-align: center;
1662
- }
1663
-
1664
- .wp-picker-holder {
1665
- bottom: 50px;
1666
- z-index: 5;
1667
- padding-bottom: 30px;
1668
- background: white;
1669
- box-shadow: 0px 2px 15px -2px black;
1670
- border-radius: 5px;
1671
- }
1672
-
1673
- .wp-picker-input-wrap,
1674
- .wp-picker-holder {
1675
- position: absolute;
1676
- display: block;
1677
- right: 0px;
1678
- }
1679
-
1680
- .wp-picker-container .iris-picker {
1681
- margin-top: 0px;
1682
- }
1683
-
1684
- .wp-picker-container .iris-picker {
1685
- border: 0px !important;
1686
- }
1687
-
1688
- .wp-picker-container .iris-border {
1689
- background: none;
1690
- }
1691
- .wrap h2{
1692
- margin-bottom:10px;
1693
  }
1644
  .wl-builder-preview-button {
1645
  margin: 10px 0px 6px 0px;
1646
  text-align: center;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1647
  }
js/bound.js DELETED
@@ -1,252 +0,0 @@
1
- /**
2
- *
3
- * Utilities
4
- * Author: Stefan Petre www.eyecon.ro
5
- *
6
- */
7
- (function($) {
8
- EYE.extend({
9
- getPosition : function(e, forceIt)
10
- {
11
- var x = 0;
12
- var y = 0;
13
- var es = e.style;
14
- var restoreStyles = false;
15
- if (forceIt && jQuery.curCSS(e,'display') == 'none') {
16
- var oldVisibility = es.visibility;
17
- var oldPosition = es.position;
18
- restoreStyles = true;
19
- es.visibility = 'hidden';
20
- es.display = 'block';
21
- es.position = 'absolute';
22
- }
23
- var el = e;
24
- if (el.getBoundingClientRect) { // IE
25
- var box = el.getBoundingClientRect();
26
- x = box.left + Math.max(document.documentElement.scrollLeft, document.body.scrollLeft) - 2;
27
- y = box.top + Math.max(document.documentElement.scrollTop, document.body.scrollTop) - 2;
28
- } else {
29
- x = el.offsetLeft;
30
- y = el.offsetTop;
31
- el = el.offsetParent;
32
- if (e != el) {
33
- while (el) {
34
- x += el.offsetLeft;
35
- y += el.offsetTop;
36
- el = el.offsetParent;
37
- }
38
- }
39
- if (jQuery.browser.safari && jQuery.curCSS(e, 'position') == 'absolute' ) {
40
- x -= document.body.offsetLeft;
41
- y -= document.body.offsetTop;
42
- }
43
- el = e.parentNode;
44
- while (el && el.tagName.toUpperCase() != 'BODY' && el.tagName.toUpperCase() != 'HTML')
45
- {
46
- if (jQuery.curCSS(el, 'display') != 'inline') {
47
- x -= el.scrollLeft;
48
- y -= el.scrollTop;
49
- }
50
- el = el.parentNode;
51
- }
52
- }
53
- if (restoreStyles == true) {
54
- es.display = 'none';
55
- es.position = oldPosition;
56
- es.visibility = oldVisibility;
57
- }
58
- return {x:x, y:y};
59
- },
60
- getSize : function(e)
61
- {
62
- var w = parseInt(jQuery.curCSS(e,'width'), 10);
63
- var h = parseInt(jQuery.curCSS(e,'height'), 10);
64
- var wb = 0;
65
- var hb = 0;
66
- if (jQuery.curCSS(e, 'display') != 'none') {
67
- wb = e.offsetWidth;
68
- hb = e.offsetHeight;
69
- } else {
70
- var es = e.style;
71
- var oldVisibility = es.visibility;
72
- var oldPosition = es.position;
73
- es.visibility = 'hidden';
74
- es.display = 'block';
75
- es.position = 'absolute';
76
- wb = e.offsetWidth;
77
- hb = e.offsetHeight;
78
- es.display = 'none';
79
- es.position = oldPosition;
80
- es.visibility = oldVisibility;
81
- }
82
- return {w:w, h:h, wb:wb, hb:hb};
83
- },
84
- getClient : function(e)
85
- {
86
- var h, w;
87
- if (e) {
88
- w = e.clientWidth;
89
- h = e.clientHeight;
90
- } else {
91
- var de = document.documentElement;
92
- w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth;
93
- h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight;
94
- }
95
- return {w:w,h:h};
96
- },
97
- getScroll : function (e)
98
- {
99
- var t=0, l=0, w=0, h=0, iw=0, ih=0;
100
- if (e && e.nodeName.toLowerCase() != 'body') {
101
- t = e.scrollTop;
102
- l = e.scrollLeft;
103
- w = e.scrollWidth;
104
- h = e.scrollHeight;
105
- } else {
106
- if (document.documentElement) {
107
- t = document.documentElement.scrollTop;
108
- l = document.documentElement.scrollLeft;
109
- w = document.documentElement.scrollWidth;
110
- h = document.documentElement.scrollHeight;
111
- } else if (document.body) {
112
- t = document.body.scrollTop;
113
- l = document.body.scrollLeft;
114
- w = document.body.scrollWidth;
115
- h = document.body.scrollHeight;
116
- }
117
- if (typeof pageYOffset != 'undefined') {
118
- t = pageYOffset;
119
- l = pageXOffset;
120
- }
121
- iw = self.innerWidth||document.documentElement.clientWidth||document.body.clientWidth||0;
122
- ih = self.innerHeight||document.documentElement.clientHeight||document.body.clientHeight||0;
123
- }
124
- return { t: t, l: l, w: w, h: h, iw: iw, ih: ih };
125
- },
126
- getMargins : function(e, toInteger)
127
- {
128
- var t = jQuery.curCSS(e,'marginTop') || '';
129
- var r = jQuery.curCSS(e,'marginRight') || '';
130
- var b = jQuery.curCSS(e,'marginBottom') || '';
131
- var l = jQuery.curCSS(e,'marginLeft') || '';
132
- if (toInteger)
133
- return {
134
- t: parseInt(t, 10)||0,
135
- r: parseInt(r, 10)||0,
136
- b: parseInt(b, 10)||0,
137
- l: parseInt(l, 10)
138
- };
139
- else
140
- return {t: t, r: r, b: b, l: l};
141
- },
142
- getPadding : function(e, toInteger)
143
- {
144
- var t = jQuery.curCSS(e,'paddingTop') || '';
145
- var r = jQuery.curCSS(e,'paddingRight') || '';
146
- var b = jQuery.curCSS(e,'paddingBottom') || '';
147
- var l = jQuery.curCSS(e,'paddingLeft') || '';
148
- if (toInteger)
149
- return {
150
- t: parseInt(t, 10)||0,
151
- r: parseInt(r, 10)||0,
152
- b: parseInt(b, 10)||0,
153
- l: parseInt(l, 10)
154
- };
155
- else
156
- return {t: t, r: r, b: b, l: l};
157
- },
158
- getBorder : function(e, toInteger)
159
- {
160
- var t = jQuery.curCSS(e,'borderTopWidth') || '';
161
- var r = jQuery.curCSS(e,'borderRightWidth') || '';
162
- var b = jQuery.curCSS(e,'borderBottomWidth') || '';
163
- var l = jQuery.curCSS(e,'borderLeftWidth') || '';
164
- if (toInteger)
165
- return {
166
- t: parseInt(t, 10)||0,
167
- r: parseInt(r, 10)||0,
168
- b: parseInt(b, 10)||0,
169
- l: parseInt(l, 10)||0
170
- };
171
- else
172
- return {t: t, r: r, b: b, l: l};
173
- },
174
- traverseDOM : function(nodeEl, func)
175
- {
176
- func(nodeEl);
177
- nodeEl = nodeEl.firstChild;
178
- while(nodeEl){
179
- EYE.traverseDOM(nodeEl, func);
180
- nodeEl = nodeEl.nextSibling;
181
- }
182
- },
183
- getInnerWidth : function(el, scroll) {
184
- var offsetW = el.offsetWidth;
185
- return scroll ? Math.max(el.scrollWidth,offsetW) - offsetW + el.clientWidth:el.clientWidth;
186
- },
187
- getInnerHeight : function(el, scroll) {
188
- var offsetH = el.offsetHeight;
189
- return scroll ? Math.max(el.scrollHeight,offsetH) - offsetH + el.clientHeight:el.clientHeight;
190
- },
191
- getExtraWidth : function(el) {
192
- if($.boxModel)
193
- return (parseInt($.curCSS(el, 'paddingLeft'))||0)
194
- + (parseInt($.curCSS(el, 'paddingRight'))||0)
195
- + (parseInt($.curCSS(el, 'borderLeftWidth'))||0)
196
- + (parseInt($.curCSS(el, 'borderRightWidth'))||0);
197
- return 0;
198
- },
199
- getExtraHeight : function(el) {
200
- if($.boxModel)
201
- return (parseInt($.curCSS(el, 'paddingTop'))||0)
202
- + (parseInt($.curCSS(el, 'paddingBottom'))||0)
203
- + (parseInt($.curCSS(el, 'borderTopWidth'))||0)
204
- + (parseInt($.curCSS(el, 'borderBottomWidth'))||0);
205
- return 0;
206
- },
207
- isChildOf: function(parentEl, el, container) {
208
- if (parentEl == el) {
209
- return true;
210
- }
211
- if (!el || !el.nodeType || el.nodeType != 1) {
212
- return false;
213
- }
214
- if (parentEl.contains && !$.browser.safari) {
215
- return parentEl.contains(el);
216
- }
217
- if ( parentEl.compareDocumentPosition ) {
218
- return !!(parentEl.compareDocumentPosition(el) & 16);
219
- }
220
- var prEl = el.parentNode;
221
- while(prEl && prEl != container) {
222
- if (prEl == parentEl)
223
- return true;
224
- prEl = prEl.parentNode;
225
- }
226
- return false;
227
- },
228
- centerEl : function(el, axis)
229
- {
230
- var clientScroll = EYE.getScroll();
231
- var size = EYE.getSize(el);
232
- if (!axis || axis == 'vertically')
233
- $(el).css(
234
- {
235
- top: clientScroll.t + ((Math.min(clientScroll.h,clientScroll.ih) - size.hb)/2) + 'px'
236
- }
237
- );
238
- if (!axis || axis == 'horizontally')
239
- $(el).css(
240
- {
241
- left: clientScroll.l + ((Math.min(clientScroll.w,clientScroll.iw) - size.wb)/2) + 'px'
242
- }
243
- );
244
- }
245
- });
246
- if (!$.easing.easeout) {
247
- $.easing.easeout = function(p, n, firstNum, delta, duration) {
248
- return -delta * ((n=n/duration-1)*n*n*n - 1) + firstNum;
249
- };
250
- }
251
-
252
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: solwininfotech
3
  Tags: blog design, blog layout, blog layout design, custom blog layout, modify blog design, blog, design, site design, Blog
4
  Requires at least: 3.0
5
  Tested up to: 4.2.2
6
- Stable tag: 1.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -45,6 +45,7 @@ An answer to that question.
45
  5. Blog Designer by 'Design4' theme layout
46
 
47
  == Changelog ==
 
48
 
49
 
50
  == Upgrade notice ==
3
  Tags: blog design, blog layout, blog layout design, custom blog layout, modify blog design, blog, design, site design, Blog
4
  Requires at least: 3.0
5
  Tested up to: 4.2.2
6
+ Stable tag: 1.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
45
  5. Blog Designer by 'Design4' theme layout
46
 
47
  == Changelog ==
48
+ version 1.5 : fixed conflict with Visual composer plugin.
49
 
50
 
51
  == Upgrade notice ==
screenshot-1.png DELETED
Binary file
screenshot-2.png DELETED
Binary file
screenshot-3.png DELETED
Binary file
screenshot-4.png DELETED
Binary file
screenshot-5.png DELETED
Binary file