Version Description
- Improved assets directories.
- Improved widgets on very small screens.
- Fixed bulk edit problem with resetting sidebars.
- Fixed few notices on import screen.
Download this release
Release Info
| Developer | jdailey |
| Plugin | |
| Version | 3.1.1 |
| Comparing to | |
| See all releases | |
Code changes from version 3.1.0 to 3.1.1
- {css → assets/css}/cs-cloning.css +0 -0
- {css → assets/css}/cs-cloning.min.css +1 -1
- {css → assets/css}/cs-scan.css +6 -3
- assets/css/cs-scan.min.css +5 -0
- {css → assets/css}/cs-visibility.css +0 -0
- {css → assets/css}/cs-visibility.min.css +1 -1
- {css → assets/css}/cs.css +42 -42
- assets/css/cs.min.css +5 -0
- {img → assets/img}/devman.png +0 -0
- {img → assets/img}/frontpage-info.png +0 -0
- {img → assets/img}/hand-with-heart.png +0 -0
- {img → assets/img}/heart.png +0 -0
- {img → assets/img}/stripes.png +0 -0
- {js → assets/js}/cs-cloning.js +1 -1
- {js → assets/js}/cs-cloning.min.js +1 -1
- {js → assets/js}/cs-visibility.js +1 -1
- {js → assets/js}/cs-visibility.min.js +1 -1
- {js → assets/js}/cs.js +1 -1
- {js → assets/js}/cs.min.js +1 -1
- css/cs-scan.min.css +0 -5
- css/cs.min.css +0 -5
- customsidebars.php +4 -4
- inc/class-custom-sidebars-editor.php +2 -2
- inc/class-custom-sidebars-export.php +33 -34
- inc/class-custom-sidebars-visibility.php +1 -1
- lang/custom-sidebars.pot +37 -33
- readme.txt +12 -3
- views/import.php +105 -46
{css → assets/css}/cs-cloning.css
RENAMED
|
File without changes
|
{css → assets/css}/cs-cloning.min.css
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.1.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
|
| 1 |
+
/*! Custom Sidebars - v3.1.1
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
|
{css → assets/css}/cs-scan.css
RENAMED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
.custom-sidebars-wp-checkup {
|
|
|
|
|
|
|
|
|
|
| 2 |
border-radius: 4px;
|
| 3 |
-
-ms-flex-align: center;
|
| 4 |
align-items: center;
|
| 5 |
background: #fff url(../img/heart.png) no-repeat 0 50%;
|
| 6 |
border: 0;
|
| 7 |
-
display: -ms-flexbox;
|
| 8 |
display: flex;
|
| 9 |
min-height: 100px;
|
| 10 |
padding-left: 135px;
|
| 11 |
-
-ms-flex-pack: justify;
|
| 12 |
justify-content: space-between;
|
| 13 |
}
|
| 14 |
.custom-sidebars-wp-checkup form {
|
|
@@ -16,6 +16,9 @@
|
|
| 16 |
}
|
| 17 |
.custom-sidebars-wp-checkup form input {
|
| 18 |
border: 0;
|
|
|
|
|
|
|
|
|
|
| 19 |
border-radius: 4px;
|
| 20 |
}
|
| 21 |
.custom-sidebars-wp-checkup form input[type=text] {
|
| 1 |
.custom-sidebars-wp-checkup {
|
| 2 |
+
-webkit-border-radius: 4px;
|
| 3 |
+
-moz-border-radius: 4px;
|
| 4 |
+
-ms-border-radius: 4px;
|
| 5 |
border-radius: 4px;
|
|
|
|
| 6 |
align-items: center;
|
| 7 |
background: #fff url(../img/heart.png) no-repeat 0 50%;
|
| 8 |
border: 0;
|
|
|
|
| 9 |
display: flex;
|
| 10 |
min-height: 100px;
|
| 11 |
padding-left: 135px;
|
|
|
|
| 12 |
justify-content: space-between;
|
| 13 |
}
|
| 14 |
.custom-sidebars-wp-checkup form {
|
| 16 |
}
|
| 17 |
.custom-sidebars-wp-checkup form input {
|
| 18 |
border: 0;
|
| 19 |
+
-webkit-border-radius: 4px;
|
| 20 |
+
-moz-border-radius: 4px;
|
| 21 |
+
-ms-border-radius: 4px;
|
| 22 |
border-radius: 4px;
|
| 23 |
}
|
| 24 |
.custom-sidebars-wp-checkup form input[type=text] {
|
assets/css/cs-scan.min.css
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*! Custom Sidebars - v3.1.1
|
| 2 |
+
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
+
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
+
|
| 5 |
+
.custom-sidebars-wp-checkup{-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;border-radius:4px;align-items:center;background:#fff url(../img/heart.png) no-repeat 0 50%;border:0;display:flex;min-height:100px;padding-left:135px;justify-content:space-between}.custom-sidebars-wp-checkup form{white-space:nowrap}.custom-sidebars-wp-checkup form input{border:0;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;border-radius:4px}.custom-sidebars-wp-checkup form input[type=text]{background-color:#f2f2f2;padding:15px 14px}.custom-sidebars-wp-checkup form input[type=submit]{background-color:#17a8e3;color:#fff;padding:15px 35px;text-transform:uppercase;margin-left:10px}.custom-sidebars-wp-checkup p{font-size:1.2em}.custom-sidebars-wp-checkup p b{color:#840006}
|
{css → assets/css}/cs-visibility.css
RENAMED
|
File without changes
|
{css → assets/css}/cs-visibility.min.css
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.1.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
|
| 1 |
+
/*! Custom Sidebars - v3.1.1
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
|
{css → assets/css}/cs.css
RENAMED
|
@@ -183,6 +183,12 @@
|
|
| 183 |
padding-top: 1em;
|
| 184 |
position: relative;
|
| 185 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 186 |
.widgets-php #wpcontent #screen-meta-links {
|
| 187 |
position: relative;
|
| 188 |
z-index: 10;
|
|
@@ -204,6 +210,9 @@
|
|
| 204 |
padding: 15px;
|
| 205 |
}
|
| 206 |
.widgets-php .sidebars-column-1 .custom-sidebars-add-new p {
|
|
|
|
|
|
|
|
|
|
| 207 |
border-radius: 4px;
|
| 208 |
border: 3px dashed #ddd;
|
| 209 |
color: #777;
|
|
@@ -214,6 +223,9 @@
|
|
| 214 |
text-align: center;
|
| 215 |
}
|
| 216 |
.widgets-php .sidebars-column-1 .inner .custom-sidebars-box {
|
|
|
|
|
|
|
|
|
|
| 217 |
border-radius: 4px;
|
| 218 |
margin: 55px 0 16px 0;
|
| 219 |
}
|
|
@@ -266,13 +278,13 @@
|
|
| 266 |
padding-top: 16px;
|
| 267 |
}
|
| 268 |
.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form {
|
|
|
|
|
|
|
|
|
|
| 269 |
border-radius: 4px;
|
| 270 |
background-color: #fafafa;
|
| 271 |
-
display: -ms-flexbox;
|
| 272 |
display: flex;
|
| 273 |
-
-ms-flex-wrap: nowrap;
|
| 274 |
flex-wrap: nowrap;
|
| 275 |
-
-ms-flex-pack: justify;
|
| 276 |
justify-content: space-between;
|
| 277 |
margin: 24px 30px 0 30px;
|
| 278 |
padding: 0;
|
|
@@ -286,6 +298,9 @@
|
|
| 286 |
text-align: center;
|
| 287 |
}
|
| 288 |
.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=submit] {
|
|
|
|
|
|
|
|
|
|
| 289 |
border-radius: 0 4px 4px 0;
|
| 290 |
background-color: #00a7e6;
|
| 291 |
color: #fff;
|
|
@@ -294,12 +309,31 @@
|
|
| 294 |
}
|
| 295 |
.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text] {
|
| 296 |
color: #aaa;
|
| 297 |
-
-ms-flex-positive: 1;
|
| 298 |
flex-grow: 1;
|
| 299 |
}
|
| 300 |
.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text]:active {
|
|
|
|
|
|
|
| 301 |
box-shadow: none;
|
| 302 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 303 |
|
| 304 |
#cs-options .cs-action {
|
| 305 |
line-height: 26px;
|
|
@@ -543,7 +577,7 @@ body.appearance_page_customsidebars #poststuff h2 {
|
|
| 543 |
height: 40px;
|
| 544 |
overflow: hidden;
|
| 545 |
display: inline-block;
|
| 546 |
-
color: #
|
| 547 |
}
|
| 548 |
|
| 549 |
.cs-custom-sidebar .cs-tool,
|
|
@@ -567,51 +601,14 @@ body.appearance_page_customsidebars #poststuff h2 {
|
|
| 567 |
|
| 568 |
.cs-toolbar .cs-tool.btn-replaceable {
|
| 569 |
color: #555;
|
| 570 |
-
padding-left: 32px;
|
| 571 |
-
/*
|
| 572 |
-
|
| 573 |
-
.icon {
|
| 574 |
-
display: inline-block;
|
| 575 |
-
width: 20px;
|
| 576 |
-
height: 20px;
|
| 577 |
-
font-size: 20px;
|
| 578 |
-
line-height: 20px;
|
| 579 |
-
font-family: "dashicons";
|
| 580 |
-
font-weight: normal;
|
| 581 |
-
font-style: normal;
|
| 582 |
-
text-align: center;
|
| 583 |
-
float: left;
|
| 584 |
-
padding: 10px 5px 10px 0;
|
| 585 |
-
-webkit-font-smoothing: antialiased;
|
| 586 |
-
-moz-osx-font-smoothing: grayscale;
|
| 587 |
-
|
| 588 |
-
&:before {
|
| 589 |
-
content: "\f160"; /* dashicons-lock * /
|
| 590 |
-
color: #BBB;
|
| 591 |
-
}
|
| 592 |
-
}
|
| 593 |
-
*/
|
| 594 |
}
|
| 595 |
.cs-toolbar .cs-tool.btn-replaceable:hover {
|
| 596 |
color: #333 !important;
|
| 597 |
}
|
| 598 |
-
.cs-toolbar .cs-tool.btn-replaceable .chk-replaceable {
|
| 599 |
-
position: absolute;
|
| 600 |
-
top: 50%;
|
| 601 |
-
left: 10px;
|
| 602 |
-
height: 16px;
|
| 603 |
-
margin-top: -8px;
|
| 604 |
-
}
|
| 605 |
|
| 606 |
.replaceable .cs-toolbar .cs-tool.btn-replaceable {
|
| 607 |
background: #edfff3;
|
| 608 |
color: #333;
|
| 609 |
-
/*
|
| 610 |
-
.icon:before {
|
| 611 |
-
content: "\f147"; /* dashicons-yes * /
|
| 612 |
-
color: #080;
|
| 613 |
-
}
|
| 614 |
-
*/
|
| 615 |
}
|
| 616 |
|
| 617 |
.replace-tip-box {
|
|
@@ -637,6 +634,9 @@ body.appearance_page_customsidebars #poststuff h2 {
|
|
| 637 |
opacity: .75;
|
| 638 |
line-height: 26px;
|
| 639 |
margin-right: 5px;
|
|
|
|
|
|
|
|
|
|
| 640 |
transition: opacity .2s;
|
| 641 |
}
|
| 642 |
|
| 183 |
padding-top: 1em;
|
| 184 |
position: relative;
|
| 185 |
}
|
| 186 |
+
@media screen and (max-width: 480px) {
|
| 187 |
+
.widgets-php #wpcontent .wrap .cs-wrap {
|
| 188 |
+
position: static;
|
| 189 |
+
margin: 0;
|
| 190 |
+
}
|
| 191 |
+
}
|
| 192 |
.widgets-php #wpcontent #screen-meta-links {
|
| 193 |
position: relative;
|
| 194 |
z-index: 10;
|
| 210 |
padding: 15px;
|
| 211 |
}
|
| 212 |
.widgets-php .sidebars-column-1 .custom-sidebars-add-new p {
|
| 213 |
+
-webkit-border-radius: 4px;
|
| 214 |
+
-moz-border-radius: 4px;
|
| 215 |
+
-ms-border-radius: 4px;
|
| 216 |
border-radius: 4px;
|
| 217 |
border: 3px dashed #ddd;
|
| 218 |
color: #777;
|
| 223 |
text-align: center;
|
| 224 |
}
|
| 225 |
.widgets-php .sidebars-column-1 .inner .custom-sidebars-box {
|
| 226 |
+
-webkit-border-radius: 4px;
|
| 227 |
+
-moz-border-radius: 4px;
|
| 228 |
+
-ms-border-radius: 4px;
|
| 229 |
border-radius: 4px;
|
| 230 |
margin: 55px 0 16px 0;
|
| 231 |
}
|
| 278 |
padding-top: 16px;
|
| 279 |
}
|
| 280 |
.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form {
|
| 281 |
+
-webkit-border-radius: 4px;
|
| 282 |
+
-moz-border-radius: 4px;
|
| 283 |
+
-ms-border-radius: 4px;
|
| 284 |
border-radius: 4px;
|
| 285 |
background-color: #fafafa;
|
|
|
|
| 286 |
display: flex;
|
|
|
|
| 287 |
flex-wrap: nowrap;
|
|
|
|
| 288 |
justify-content: space-between;
|
| 289 |
margin: 24px 30px 0 30px;
|
| 290 |
padding: 0;
|
| 298 |
text-align: center;
|
| 299 |
}
|
| 300 |
.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=submit] {
|
| 301 |
+
-webkit-border-radius: 0 4px 4px 0;
|
| 302 |
+
-moz-border-radius: 0 4px 4px 0;
|
| 303 |
+
-ms-border-radius: 0 4px 4px 0;
|
| 304 |
border-radius: 0 4px 4px 0;
|
| 305 |
background-color: #00a7e6;
|
| 306 |
color: #fff;
|
| 309 |
}
|
| 310 |
.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text] {
|
| 311 |
color: #aaa;
|
|
|
|
| 312 |
flex-grow: 1;
|
| 313 |
}
|
| 314 |
.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text]:active {
|
| 315 |
+
-webkit-box-shadow: none;
|
| 316 |
+
-moz-box-shadow: none;
|
| 317 |
box-shadow: none;
|
| 318 |
}
|
| 319 |
+
@media screen and (max-width: 590px) {
|
| 320 |
+
.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form {
|
| 321 |
+
background-color: transparent;
|
| 322 |
+
display: block;
|
| 323 |
+
}
|
| 324 |
+
.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text] {
|
| 325 |
+
background-color: #fafafa;
|
| 326 |
+
}
|
| 327 |
+
.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=submit] {
|
| 328 |
+
-webkit-border-radius: 4px;
|
| 329 |
+
-moz-border-radius: 4px;
|
| 330 |
+
-ms-border-radius: 4px;
|
| 331 |
+
border-radius: 4px;
|
| 332 |
+
display: block;
|
| 333 |
+
margin: 10px 0 0 auto;
|
| 334 |
+
width: auto;
|
| 335 |
+
}
|
| 336 |
+
}
|
| 337 |
|
| 338 |
#cs-options .cs-action {
|
| 339 |
line-height: 26px;
|
| 577 |
height: 40px;
|
| 578 |
overflow: hidden;
|
| 579 |
display: inline-block;
|
| 580 |
+
color: #ddd;
|
| 581 |
}
|
| 582 |
|
| 583 |
.cs-custom-sidebar .cs-tool,
|
| 601 |
|
| 602 |
.cs-toolbar .cs-tool.btn-replaceable {
|
| 603 |
color: #555;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 604 |
}
|
| 605 |
.cs-toolbar .cs-tool.btn-replaceable:hover {
|
| 606 |
color: #333 !important;
|
| 607 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 608 |
|
| 609 |
.replaceable .cs-toolbar .cs-tool.btn-replaceable {
|
| 610 |
background: #edfff3;
|
| 611 |
color: #333;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 612 |
}
|
| 613 |
|
| 614 |
.replace-tip-box {
|
| 634 |
opacity: .75;
|
| 635 |
line-height: 26px;
|
| 636 |
margin-right: 5px;
|
| 637 |
+
-webkit-transition: opacity .2s;
|
| 638 |
+
-moz-transition: opacity .2s;
|
| 639 |
+
-o-transition: opacity .2s;
|
| 640 |
transition: opacity .2s;
|
| 641 |
}
|
| 642 |
|
assets/css/cs.min.css
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*! Custom Sidebars - v3.1.1
|
| 2 |
+
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
+
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
+
|
| 5 |
+
.module-export .pro-layer{position:absolute;left:0;top:0;right:0;bottom:0;z-index:99999;background:rgba(255,255,255,.8);text-align:center;font-size:26px;font-weight:100;padding-top:120px;line-height:1.5}.module-export .pro-layer a{margin-top:20px;display:inline-block;background:#2EA2CC;color:#FAFAFA;text-decoration:none;padding:10px 20px;font-size:18px;font-weight:700}.module-export .pro-layer a:hover,.module-export .pro-layer a:focus,.module-export .pro-layer a:active{background:#1E8CBE;color:#FFF}.frm-location .pro-layer{padding:10px;text-align:center;font-size:26px;font-weight:100;line-height:1.5}.frm-location .pro-layer a{margin-top:20px;display:inline-block;background:#2EA2CC;color:#FAFAFA;text-decoration:none;padding:10px 20px;font-size:18px;font-weight:700}.frm-location .pro-layer a:hover,.frm-location .pro-layer a:focus,.frm-location .pro-layer a:active{background:#1E8CBE;color:#FFF}.csb-pro-layer{float:left;position:relative;opacity:.5;margin-right:10px}.csb-pro-layer .pro-info{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:rgba(96,96,96,.75);z-index:99999;text-align:center;text-decoration:none;line-height:28px;font-size:16px;font-weight:100;color:#FFF;text-decoration:underline;padding:0;margin:0;overflow:hidden}.csb-pro-layer:hover{opacity:1}.csb-pro-layer:hover .pro-info,.csb-pro-layer:hover .pro-info:hover,.csb-pro-layer:hover .pro-info:active,.csb-pro-layer:hover .pro-info:focus{line-height:48px;left:-10px;top:-10px;right:-5px;bottom:-10px;opacity:1}.csb-pro-layer .button{margin:0 5px 0 0;float:left}.csb-pro-layer .button .dashicons{line-height:26px;height:26px;float:left;margin-right:6px}#defaultsidebarspage p.submit{padding:0 0 10px;clear:both}#poststuff.defaultsdetailscontainer h2{border-bottom:0;margin-bottom:5px}#defaultsforposts,#defaultsforpages{padding:0 10px;background:#fcfcfc;overflow:hidden}.defaultsSelector{margin-bottom:30px}.cscolright{clear:right;float:right;margin:0;overflow:hidden;padding:0;width:49%}.cscolleft{margin:0;overflow:hidden;padding:0;width:49%}.widgets-php .widget-liquid-left{width:100%}.widgets-php .widget-liquid-right{padding:0 0 75px;margin:-10px -214% 0 0;width:210%;background:#e4e4e4;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.widgets-php .widget-liquid-right #widgets-right{margin:20px}.widgets-php .widget-liquid-right .overview{list-style:none;position:absolute;left:0;top:0;width:auto;right:0;padding-left:20px;border-left:1px solid #DDD}.widgets-php #wpcontent{position:relative}.widgets-php #wpcontent .wrap .cs-wrap{margin-right:68%;padding-top:1em;position:relative}@media screen and (max-width:480px){.widgets-php #wpcontent .wrap .cs-wrap{position:static;margin:0}}.widgets-php #wpcontent #screen-meta-links{position:relative;z-index:10}.widgets-php #wpcontent #screen-meta{position:relative;z-index:10}.widgets-php #widgets-left{margin-right:0!important}.widgets-php #footer{background:#fff;margin-right:0;padding-right:20px}.widgets-php .sidebars-column-1 .custom-sidebars-add-new{background-color:#fff;padding:15px}.widgets-php .sidebars-column-1 .custom-sidebars-add-new p{-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;border-radius:4px;border:3px dashed #ddd;color:#777;cursor:pointer;font-weight:700;margin:0;padding:90px 10px;text-align:center}.widgets-php .sidebars-column-1 .inner .custom-sidebars-box{-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;border-radius:4px;margin:55px 0 16px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront{background-color:#f9c200}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner{min-height:145px;margin-right:-16px;background:url(../img/devman.png) no-repeat 100% 50%;padding:50px 120px 45px 20px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner p{font-size:1.4em;color:#000;margin-top:0}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner p:last-of-type{margin-bottom:0}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner .button{background-color:#00a7e6;color:#fff;font-weight:700;height:auto;padding:15px 16px;text-transform:uppercase}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup{background-color:#fff}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner{background:url(../img/hand-with-heart.png) no-repeat 100% 100%;font-size:1.2em;min-height:227px;padding-bottom:10px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner h4,.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner p{margin:0;padding:0 120px 0 30px;font-size:1.1em}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner h4{color:#222;font-size:1.2em;padding-top:50px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner p{color:#c1272c;padding-top:16px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form{-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;border-radius:4px;background-color:#fafafa;display:flex;flex-wrap:nowrap;justify-content:space-between;margin:24px 30px 0;padding:0}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input{background-color:transparent;border:0;font-size:1em;margin:0;padding:10px 15px;text-align:center}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=submit]{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;-ms-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;background-color:#00a7e6;color:#fff;min-width:3em;text-transform:uppercase}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text]{color:#aaa;flex-grow:1}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text]:active{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}@media screen and (max-width:590px){.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form{background-color:transparent;display:block}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text]{background-color:#fafafa}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=submit]{-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;border-radius:4px;display:block;margin:10px 0 0 auto;width:auto}}#cs-options .cs-action{line-height:26px;margin-right:20px}#cs-options .cs-filter{float:right}.sidebar-form{margin:0 15px}.sidebar-form label{display:block}.sidebar-form .submit{text-align:right;margin:0;padding:1em 0}.sidebar-form .description{margin-top:5px;text-align:right}.sidebar_name,.sidebar_description{width:100%}div#widgets-right .sidebar-name>h3{padding:15px}div#widgets-right .widgets-sortables .sidebar-name>h3{padding:15px 7px}.widgets-holder-wrap.closed>div:nth-child(2){display:none}#defaultsidebarspage .hndle{cursor:pointer}#customsidebarspage #col-right{width:62%}.widgets_access .widget-liquid-right{position:static}#oldbrowsererror{display:none}#defaultsidebarspage .postbox{position:static}#defaultsidebarspage .inside{position:static}body.appearance_page_customsidebars .wrap h2{float:none}body.appearance_page_customsidebars #poststuff h2{margin-top:0}.widget.ui-draggable-dragging{z-index:10001!important}.csb-more-content{display:none}.csb-has-more .csb-more-content{display:block}#cs-widgets-extra{display:none}#cs-title-options{zoom:1;background:#E8E8E8;margin:-20px -20px 0 -20px;padding:10px 20px 20px;border-bottom:1px solid #DDD}.cs-title h3{font-weight:100}.cs-title h3 .cs-icon{margin-left:10px;color:#999}.replaceable{position:relative}.replaceable .replace-marker{position:absolute;left:0;top:0;bottom:0;width:5px;margin:0 5px 0 0;border-left:2px solid #05c944;z-index:10}.replaceable .replace-marker:hover:before{content:attr(data-label);background:#333;color:#EEE;font-size:13px;white-space:nowrap;padding:5px;position:absolute;top:7px;right:13px;line-height:20px}.replaceable .replace-marker:hover:after{content:'';position:absolute;top:16px;right:3px;border:6px solid transparent;border-left-color:#333}.cs-message{margin:.5em 0;padding:10px;position:absolute;left:0;right:0;box-shadow:0 1px 10px rgba(0,0,0,.2);z-index:100}.cs-message .close{position:absolute;top:.5em;right:.5em;opacity:.3;color:#000;cursor:pointer;text-decoration:none;font-size:14px;line-height:26px;width:26px;text-align:center;background:rgba(0,0,0,.1)}.cs-message .close:hover,.cs-message .close:focus,.cs-message .close:active{opacity:1}.cs-update{background:#ffffe0;border:1px solid #E6DB55}.cs-error{background:#FFEBE8;border:1px solid #C00}.cs-toolbar{color:#333;padding:0;background:#FCFCFC;border-top:1px solid #E5E5E5}.cs-toolbar:after{display:table;content:'';clear:both}.closed .cs-toolbar{display:none}.cs-toolbar .cs-tool{text-decoration:none;line-height:40px;height:40px;padding:0 10px;white-space:nowrap;background:#FFF;position:relative;overflow:hidden}.cs-toolbar .dashicons{line-height:40px}.cs-toolbar .cs-separator{border-left:1px solid #E5E5E5;width:1px;padding:0;margin:0;height:40px;overflow:hidden;display:inline-block;color:#ddd}.cs-custom-sidebar .cs-tool,.cs-custom-sidebar .cs-separator{float:right}.cs-theme-sidebar .cs-tool,.cs-theme-sidebar .cs-separator{float:left}.cs-toolbar .delete-sidebar{color:#A00}.cs-toolbar .delete-sidebar:hover,.cs-toolbar .delete-sidebar:focus,.cs-toolbar .delete-sidebar:active{color:red}.cs-toolbar .cs-tool.btn-replaceable{color:#555}.cs-toolbar .cs-tool.btn-replaceable:hover{color:#333!important}.replaceable .cs-toolbar .cs-tool.btn-replaceable{background:#edfff3;color:#333}.replace-tip-box{float:left}.replace-tip{width:200px}.csb .button{outline:0}.csb .button>.dashicons,.csb .button-primary>.dashicons,.csb .button-secondary>.dashicons{opacity:.75;line-height:26px;margin-right:5px;-webkit-transition:opacity .2s;-moz-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}.csb .button:hover>.dashicons,.csb .button-primary:hover>.dashicons,.csb .button-secondary:hover>.dashicons{opacity:1}.rtl div.widget-liquid-right{float:left;right:auto;left:0}.rtl.widgets-php #wpcontent .wrap .cs-wrap{margin-right:2px;margin-left:68%}.rtl.widgets-php .widget-liquid-right{margin:-10px 0 0 -214%}.rtl.widgets-php #widgets-left{margin-left:0!important}.rtl.widgets-php.folded #wpcontent,.rtl.widgets-php.folded #wpfooter{margin-left:325px;margin-right:52px}.rtl #cs-title-options h2{margin-right:5px}.rtl #cs-options .cs-filter{float:left}.rtl #cs-options .cs-action{margin-right:0;margin-left:20px}.rtl .sidebar-form .submit{text-align:left}.rtl #TB_ajaxWindowTitle{float:right}.rtl #TB_closeAjaxWindow{float:left}.csb-export-head{min-width:450px}.csb-export-head th{vertical-align:top;text-align:right;color:#679;width:150px}.csb-export-head tr:hover{background:#FAFAFA}.csb-export-head ul{margin:0}.csb-export-head .dashicons.hint{font-size:12px;line-height:22px}.csb-form{padding-left:15px}.csb-form h2,.csb-form h3,.csb-form .form-buttons,#poststuff .csb-form h2,#poststuff .csb-form h3,#poststuff .csb-form .form-buttons{padding-left:0;margin-left:-15px}.form-buttons{clear:both}.show-infos{position:relative;display:inline-block;margin:0 5px}h2 .show-infos{top:4px}.show-infos .export-infos{position:absolute;top:-5px;left:30px;font-size:13px;line-height:1.4em;font-weight:400;background:#FFF;box-shadow:0 1px 8px rgba(0,0,0,.2);border:3px solid #FAFAFA;padding:5px;z-index:10}.show-infos .export-infos:before,.show-infos .export-infos:after{content:'';position:absolute;left:-17px;top:5px;border:7px solid transparent;border-right-color:#FAFAFA;z-index:1}.show-infos .export-infos:after{left:-18px;top:5px;border-right-color:rgba(0,0,0,.15);z-index:0}.show-infos:hover .export-infos{display:block!important}.export-infos .section{font-weight:700;margin:10px 0 5px -2px;color:#666}.cs-half{float:left;width:49%;margin-right:1%}.cs-replaceable{margin-bottom:5px}.cs-replaceable>.details{display:none;margin:5px 0}.cs-replaceable.open>.details{display:block}.popup-content .message.no-sidebars{font-size:1.4em}@media screen and (max-width:782px){#wpbody-content .wp-list-table.fixed .column-cs_replacement{display:none}}#wpbody-content .wp-list-table .column-cs_replacement{width:10%}#wpbody-content .wp-list-table .column-cs_replacement dt{opacity:.8;color:#666}#wpbody-content .wp-list-table .column-cs_replacement dd{margin-left:10px}#wpbody-content .wp-list-table .inline-edit-row fieldset.cs-quickedit{border-top:1px solid #eee;margin-top:10px;padding-top:10px}#wpbody-content .wp-list-table .inline-edit-row fieldset.cs-quickedit label span.title{display:block;float:left;min-width:5em;white-space:nowrap;padding-right:10px;width:auto}#wpbody-content .wp-list-table .inline-edit-row-page .inline-edit-col-right{float:right}
|
{img → assets/img}/devman.png
RENAMED
|
File without changes
|
{img → assets/img}/frontpage-info.png
RENAMED
|
File without changes
|
{img → assets/img}/hand-with-heart.png
RENAMED
|
File without changes
|
{img → assets/img}/heart.png
RENAMED
|
File without changes
|
{img → assets/img}/stripes.png
RENAMED
|
File without changes
|
{js → assets/js}/cs-cloning.js
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.1.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
/*global jQuery:false */
|
| 1 |
+
/*! Custom Sidebars - v3.1.1
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
/*global jQuery:false */
|
{js → assets/js}/cs-cloning.min.js
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.1.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
|
| 1 |
+
/*! Custom Sidebars - v3.1.1
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
|
{js → assets/js}/cs-visibility.js
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.1.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
/*global jQuery:false */
|
| 1 |
+
/*! Custom Sidebars - v3.1.1
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
/*global jQuery:false */
|
{js → assets/js}/cs-visibility.min.js
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.1.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
|
| 1 |
+
/*! Custom Sidebars - v3.1.1
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
|
{js → assets/js}/cs.js
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.1.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
/*global window:false */
|
| 1 |
+
/*! Custom Sidebars - v3.1.1
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
/*global window:false */
|
{js → assets/js}/cs.min.js
RENAMED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.1.
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
|
| 1 |
+
/*! Custom Sidebars - v3.1.1
|
| 2 |
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
|
css/cs-scan.min.css
DELETED
|
@@ -1,5 +0,0 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.1.0
|
| 2 |
-
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
-
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
-
|
| 5 |
-
.custom-sidebars-wp-checkup{border-radius:4px;-ms-flex-align:center;align-items:center;background:#fff url(../img/heart.png) no-repeat 0 50%;border:0;display:-ms-flexbox;display:flex;min-height:100px;padding-left:135px;-ms-flex-pack:justify;justify-content:space-between}.custom-sidebars-wp-checkup form{white-space:nowrap}.custom-sidebars-wp-checkup form input{border:0;border-radius:4px}.custom-sidebars-wp-checkup form input[type=text]{background-color:#f2f2f2;padding:15px 14px}.custom-sidebars-wp-checkup form input[type=submit]{background-color:#17a8e3;color:#fff;padding:15px 35px;text-transform:uppercase;margin-left:10px}.custom-sidebars-wp-checkup p{font-size:1.2em}.custom-sidebars-wp-checkup p b{color:#840006}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/cs.min.css
DELETED
|
@@ -1,5 +0,0 @@
|
|
| 1 |
-
/*! Custom Sidebars - v3.1.0
|
| 2 |
-
* https://premium.wpmudev.org/project/custom-sidebars-pro/
|
| 3 |
-
* Copyright (c) 2017; * Licensed GPLv2+ */
|
| 4 |
-
|
| 5 |
-
.module-export .pro-layer{position:absolute;left:0;top:0;right:0;bottom:0;z-index:99999;background:rgba(255,255,255,.8);text-align:center;font-size:26px;font-weight:100;padding-top:120px;line-height:1.5}.module-export .pro-layer a{margin-top:20px;display:inline-block;background:#2EA2CC;color:#FAFAFA;text-decoration:none;padding:10px 20px;font-size:18px;font-weight:700}.module-export .pro-layer a:hover,.module-export .pro-layer a:focus,.module-export .pro-layer a:active{background:#1E8CBE;color:#FFF}.frm-location .pro-layer{padding:10px;text-align:center;font-size:26px;font-weight:100;line-height:1.5}.frm-location .pro-layer a{margin-top:20px;display:inline-block;background:#2EA2CC;color:#FAFAFA;text-decoration:none;padding:10px 20px;font-size:18px;font-weight:700}.frm-location .pro-layer a:hover,.frm-location .pro-layer a:focus,.frm-location .pro-layer a:active{background:#1E8CBE;color:#FFF}.csb-pro-layer{float:left;position:relative;opacity:.5;margin-right:10px}.csb-pro-layer .pro-info{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:rgba(96,96,96,.75);z-index:99999;text-align:center;text-decoration:none;line-height:28px;font-size:16px;font-weight:100;color:#FFF;text-decoration:underline;padding:0;margin:0;overflow:hidden}.csb-pro-layer:hover{opacity:1}.csb-pro-layer:hover .pro-info,.csb-pro-layer:hover .pro-info:hover,.csb-pro-layer:hover .pro-info:active,.csb-pro-layer:hover .pro-info:focus{line-height:48px;left:-10px;top:-10px;right:-5px;bottom:-10px;opacity:1}.csb-pro-layer .button{margin:0 5px 0 0;float:left}.csb-pro-layer .button .dashicons{line-height:26px;height:26px;float:left;margin-right:6px}#defaultsidebarspage p.submit{padding:0 0 10px;clear:both}#poststuff.defaultsdetailscontainer h2{border-bottom:0;margin-bottom:5px}#defaultsforposts,#defaultsforpages{padding:0 10px;background:#fcfcfc;overflow:hidden}.defaultsSelector{margin-bottom:30px}.cscolright{clear:right;float:right;margin:0;overflow:hidden;padding:0;width:49%}.cscolleft{margin:0;overflow:hidden;padding:0;width:49%}.widgets-php .widget-liquid-left{width:100%}.widgets-php .widget-liquid-right{padding:0 0 75px;margin:-10px -214% 0 0;width:210%;background:#e4e4e4;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.widgets-php .widget-liquid-right #widgets-right{margin:20px}.widgets-php .widget-liquid-right .overview{list-style:none;position:absolute;left:0;top:0;width:auto;right:0;padding-left:20px;border-left:1px solid #DDD}.widgets-php #wpcontent{position:relative}.widgets-php #wpcontent .wrap .cs-wrap{margin-right:68%;padding-top:1em;position:relative}.widgets-php #wpcontent #screen-meta-links{position:relative;z-index:10}.widgets-php #wpcontent #screen-meta{position:relative;z-index:10}.widgets-php #widgets-left{margin-right:0!important}.widgets-php #footer{background:#fff;margin-right:0;padding-right:20px}.widgets-php .sidebars-column-1 .custom-sidebars-add-new{background-color:#fff;padding:15px}.widgets-php .sidebars-column-1 .custom-sidebars-add-new p{border-radius:4px;border:3px dashed #ddd;color:#777;cursor:pointer;font-weight:700;margin:0;padding:90px 10px;text-align:center}.widgets-php .sidebars-column-1 .inner .custom-sidebars-box{border-radius:4px;margin:55px 0 16px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront{background-color:#f9c200}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner{min-height:145px;margin-right:-16px;background:url(../img/devman.png) no-repeat 100% 50%;padding:50px 120px 45px 20px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner p{font-size:1.4em;color:#000;margin-top:0}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner p:last-of-type{margin-bottom:0}.widgets-php .sidebars-column-1 .inner .custom-sidebars-upfront .cs-inner .button{background-color:#00a7e6;color:#fff;font-weight:700;height:auto;padding:15px 16px;text-transform:uppercase}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup{background-color:#fff}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner{background:url(../img/hand-with-heart.png) no-repeat 100% 100%;font-size:1.2em;min-height:227px;padding-bottom:10px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner h4,.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner p{margin:0;padding:0 120px 0 30px;font-size:1.1em}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner h4{color:#222;font-size:1.2em;padding-top:50px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner p{color:#c1272c;padding-top:16px}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form{border-radius:4px;background-color:#fafafa;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;margin:24px 30px 0;padding:0}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input{background-color:transparent;border:0;font-size:1em;margin:0;padding:10px 15px;text-align:center}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=submit]{border-radius:0 4px 4px 0;background-color:#00a7e6;color:#fff;min-width:3em;text-transform:uppercase}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text]{color:#aaa;-ms-flex-positive:1;flex-grow:1}.widgets-php .sidebars-column-1 .inner .custom-sidebars-checkup .cs-inner form input[type=text]:active{box-shadow:none}#cs-options .cs-action{line-height:26px;margin-right:20px}#cs-options .cs-filter{float:right}.sidebar-form{margin:0 15px}.sidebar-form label{display:block}.sidebar-form .submit{text-align:right;margin:0;padding:1em 0}.sidebar-form .description{margin-top:5px;text-align:right}.sidebar_name,.sidebar_description{width:100%}div#widgets-right .sidebar-name>h3{padding:15px}div#widgets-right .widgets-sortables .sidebar-name>h3{padding:15px 7px}.widgets-holder-wrap.closed>div:nth-child(2){display:none}#defaultsidebarspage .hndle{cursor:pointer}#customsidebarspage #col-right{width:62%}.widgets_access .widget-liquid-right{position:static}#oldbrowsererror{display:none}#defaultsidebarspage .postbox{position:static}#defaultsidebarspage .inside{position:static}body.appearance_page_customsidebars .wrap h2{float:none}body.appearance_page_customsidebars #poststuff h2{margin-top:0}.widget.ui-draggable-dragging{z-index:10001!important}.csb-more-content{display:none}.csb-has-more .csb-more-content{display:block}#cs-widgets-extra{display:none}#cs-title-options{zoom:1;background:#E8E8E8;margin:-20px -20px 0 -20px;padding:10px 20px 20px;border-bottom:1px solid #DDD}.cs-title h3{font-weight:100}.cs-title h3 .cs-icon{margin-left:10px;color:#999}.replaceable{position:relative}.replaceable .replace-marker{position:absolute;left:0;top:0;bottom:0;width:5px;margin:0 5px 0 0;border-left:2px solid #05c944;z-index:10}.replaceable .replace-marker:hover:before{content:attr(data-label);background:#333;color:#EEE;font-size:13px;white-space:nowrap;padding:5px;position:absolute;top:7px;right:13px;line-height:20px}.replaceable .replace-marker:hover:after{content:'';position:absolute;top:16px;right:3px;border:6px solid transparent;border-left-color:#333}.cs-message{margin:.5em 0;padding:10px;position:absolute;left:0;right:0;box-shadow:0 1px 10px rgba(0,0,0,.2);z-index:100}.cs-message .close{position:absolute;top:.5em;right:.5em;opacity:.3;color:#000;cursor:pointer;text-decoration:none;font-size:14px;line-height:26px;width:26px;text-align:center;background:rgba(0,0,0,.1)}.cs-message .close:hover,.cs-message .close:focus,.cs-message .close:active{opacity:1}.cs-update{background:#ffffe0;border:1px solid #E6DB55}.cs-error{background:#FFEBE8;border:1px solid #C00}.cs-toolbar{color:#333;padding:0;background:#FCFCFC;border-top:1px solid #E5E5E5}.cs-toolbar:after{display:table;content:'';clear:both}.closed .cs-toolbar{display:none}.cs-toolbar .cs-tool{text-decoration:none;line-height:40px;height:40px;padding:0 10px;white-space:nowrap;background:#FFF;position:relative;overflow:hidden}.cs-toolbar .dashicons{line-height:40px}.cs-toolbar .cs-separator{border-left:1px solid #E5E5E5;width:1px;padding:0;margin:0;height:40px;overflow:hidden;display:inline-block;color:#DDD}.cs-custom-sidebar .cs-tool,.cs-custom-sidebar .cs-separator{float:right}.cs-theme-sidebar .cs-tool,.cs-theme-sidebar .cs-separator{float:left}.cs-toolbar .delete-sidebar{color:#A00}.cs-toolbar .delete-sidebar:hover,.cs-toolbar .delete-sidebar:focus,.cs-toolbar .delete-sidebar:active{color:red}.cs-toolbar .cs-tool.btn-replaceable{color:#555;padding-left:32px}.cs-toolbar .cs-tool.btn-replaceable:hover{color:#333!important}.cs-toolbar .cs-tool.btn-replaceable .chk-replaceable{position:absolute;top:50%;left:10px;height:16px;margin-top:-8px}.replaceable .cs-toolbar .cs-tool.btn-replaceable{background:#edfff3;color:#333}.replace-tip-box{float:left}.replace-tip{width:200px}.csb .button{outline:0}.csb .button>.dashicons,.csb .button-primary>.dashicons,.csb .button-secondary>.dashicons{opacity:.75;line-height:26px;margin-right:5px;transition:opacity .2s}.csb .button:hover>.dashicons,.csb .button-primary:hover>.dashicons,.csb .button-secondary:hover>.dashicons{opacity:1}.rtl div.widget-liquid-right{float:left;right:auto;left:0}.rtl.widgets-php #wpcontent .wrap .cs-wrap{margin-right:2px;margin-left:68%}.rtl.widgets-php .widget-liquid-right{margin:-10px 0 0 -214%}.rtl.widgets-php #widgets-left{margin-left:0!important}.rtl.widgets-php.folded #wpcontent,.rtl.widgets-php.folded #wpfooter{margin-left:325px;margin-right:52px}.rtl #cs-title-options h2{margin-right:5px}.rtl #cs-options .cs-filter{float:left}.rtl #cs-options .cs-action{margin-right:0;margin-left:20px}.rtl .sidebar-form .submit{text-align:left}.rtl #TB_ajaxWindowTitle{float:right}.rtl #TB_closeAjaxWindow{float:left}.csb-export-head{min-width:450px}.csb-export-head th{vertical-align:top;text-align:right;color:#679;width:150px}.csb-export-head tr:hover{background:#FAFAFA}.csb-export-head ul{margin:0}.csb-export-head .dashicons.hint{font-size:12px;line-height:22px}.csb-form{padding-left:15px}.csb-form h2,.csb-form h3,.csb-form .form-buttons,#poststuff .csb-form h2,#poststuff .csb-form h3,#poststuff .csb-form .form-buttons{padding-left:0;margin-left:-15px}.form-buttons{clear:both}.show-infos{position:relative;display:inline-block;margin:0 5px}h2 .show-infos{top:4px}.show-infos .export-infos{position:absolute;top:-5px;left:30px;font-size:13px;line-height:1.4em;font-weight:400;background:#FFF;box-shadow:0 1px 8px rgba(0,0,0,.2);border:3px solid #FAFAFA;padding:5px;z-index:10}.show-infos .export-infos:before,.show-infos .export-infos:after{content:'';position:absolute;left:-17px;top:5px;border:7px solid transparent;border-right-color:#FAFAFA;z-index:1}.show-infos .export-infos:after{left:-18px;top:5px;border-right-color:rgba(0,0,0,.15);z-index:0}.show-infos:hover .export-infos{display:block!important}.export-infos .section{font-weight:700;margin:10px 0 5px -2px;color:#666}.cs-half{float:left;width:49%;margin-right:1%}.cs-replaceable{margin-bottom:5px}.cs-replaceable>.details{display:none;margin:5px 0}.cs-replaceable.open>.details{display:block}.popup-content .message.no-sidebars{font-size:1.4em}@media screen and (max-width:782px){#wpbody-content .wp-list-table.fixed .column-cs_replacement{display:none}}#wpbody-content .wp-list-table .column-cs_replacement{width:10%}#wpbody-content .wp-list-table .column-cs_replacement dt{opacity:.8;color:#666}#wpbody-content .wp-list-table .column-cs_replacement dd{margin-left:10px}#wpbody-content .wp-list-table .inline-edit-row fieldset.cs-quickedit{border-top:1px solid #eee;margin-top:10px;padding-top:10px}#wpbody-content .wp-list-table .inline-edit-row fieldset.cs-quickedit label span.title{display:block;float:left;min-width:5em;white-space:nowrap;padding-right:10px;width:auto}#wpbody-content .wp-list-table .inline-edit-row-page .inline-edit-col-right{float:right}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
customsidebars.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Plugin Name: Custom Sidebars
|
| 4 |
* Plugin URI: https://wordpress.org/plugins/custom-sidebars/
|
| 5 |
* Description: Allows you to create widgetized areas and custom sidebars. Replace whole sidebars or single widgets for specific posts and pages.
|
| 6 |
-
* Version: 3.1.
|
| 7 |
* Author: WPMU DEV
|
| 8 |
* Author URI: http://premium.wpmudev.org/
|
| 9 |
* Textdomain: custom-sidebars
|
|
@@ -47,9 +47,9 @@ function inc_sidebars_init() {
|
|
| 47 |
define( 'CSB_LANG_DIR', $plugin_dir_rel . '/lang/' );
|
| 48 |
define( 'CSB_VIEWS_DIR', $plugin_dir . '/views/' );
|
| 49 |
define( 'CSB_INC_DIR', $plugin_dir . '/inc/' );
|
| 50 |
-
define( 'CSB_JS_URL', $plugin_url . 'js/' );
|
| 51 |
-
define( 'CSB_CSS_URL', $plugin_url . 'css/' );
|
| 52 |
-
define( 'CSB_IMG_URL', $plugin_url . 'img/' );
|
| 53 |
|
| 54 |
// Include function library.
|
| 55 |
$modules[] = CSB_INC_DIR . 'external/wpmu-lib/core.php';
|
| 3 |
* Plugin Name: Custom Sidebars
|
| 4 |
* Plugin URI: https://wordpress.org/plugins/custom-sidebars/
|
| 5 |
* Description: Allows you to create widgetized areas and custom sidebars. Replace whole sidebars or single widgets for specific posts and pages.
|
| 6 |
+
* Version: 3.1.1
|
| 7 |
* Author: WPMU DEV
|
| 8 |
* Author URI: http://premium.wpmudev.org/
|
| 9 |
* Textdomain: custom-sidebars
|
| 47 |
define( 'CSB_LANG_DIR', $plugin_dir_rel . '/lang/' );
|
| 48 |
define( 'CSB_VIEWS_DIR', $plugin_dir . '/views/' );
|
| 49 |
define( 'CSB_INC_DIR', $plugin_dir . '/inc/' );
|
| 50 |
+
define( 'CSB_JS_URL', $plugin_url . 'assets/js/' );
|
| 51 |
+
define( 'CSB_CSS_URL', $plugin_url . 'assets/css/' );
|
| 52 |
+
define( 'CSB_IMG_URL', $plugin_url . 'assets/img/' );
|
| 53 |
|
| 54 |
// Include function library.
|
| 55 |
$modules[] = CSB_INC_DIR . 'external/wpmu-lib/core.php';
|
inc/class-custom-sidebars-editor.php
CHANGED
|
@@ -955,7 +955,7 @@ class CustomSidebarsEditor extends CustomSidebars {
|
|
| 955 |
* 'editpost' .. Saved from full Post-Editor screen.
|
| 956 |
* 'inline-save' .. Saved via the quick-edit form.
|
| 957 |
*/
|
| 958 |
-
if ( ( isset( $
|
| 959 |
return $post_id;
|
| 960 |
}
|
| 961 |
|
|
@@ -1318,7 +1318,7 @@ class CustomSidebarsEditor extends CustomSidebars {
|
|
| 1318 |
if ( ! $update ) {
|
| 1319 |
return;
|
| 1320 |
}
|
| 1321 |
-
|
| 1322 |
}
|
| 1323 |
|
| 1324 |
/**
|
| 955 |
* 'editpost' .. Saved from full Post-Editor screen.
|
| 956 |
* 'inline-save' .. Saved via the quick-edit form.
|
| 957 |
*/
|
| 958 |
+
if ( ( isset( $_REQUEST['action'] ) && 'inline-save' != $_REQUEST['action'] ) && 'editpost' != $action ) {
|
| 959 |
return $post_id;
|
| 960 |
}
|
| 961 |
|
| 1318 |
if ( ! $update ) {
|
| 1319 |
return;
|
| 1320 |
}
|
| 1321 |
+
self::set_post_meta( $post_id, $data );
|
| 1322 |
}
|
| 1323 |
|
| 1324 |
/**
|
inc/class-custom-sidebars-export.php
CHANGED
|
@@ -699,40 +699,39 @@ class CustomSidebarsExport extends CustomSidebars {
|
|
| 699 |
$def_sidebars = wp_get_sidebars_widgets();
|
| 700 |
$widget_list = array();
|
| 701 |
$orig_POST = $_POST;
|
| 702 |
-
|
| 703 |
-
|
| 704 |
-
|
| 705 |
-
|
| 706 |
-
|
| 707 |
-
|
| 708 |
-
|
| 709 |
-
|
| 710 |
-
|
| 711 |
-
|
| 712 |
-
|
| 713 |
-
|
| 714 |
-
$old_widgets
|
| 715 |
-
|
| 716 |
-
|
| 717 |
-
|
| 718 |
-
|
| 719 |
-
|
| 720 |
-
|
| 721 |
-
|
| 722 |
-
|
| 723 |
-
|
| 724 |
-
|
| 725 |
-
|
| 726 |
-
|
| 727 |
-
|
| 728 |
-
|
| 729 |
-
|
| 730 |
-
|
| 731 |
-
|
| 732 |
-
|
| 733 |
-
|
| 734 |
-
|
| 735 |
-
$widget_count += 1;
|
| 736 |
}
|
| 737 |
}
|
| 738 |
}
|
| 699 |
$def_sidebars = wp_get_sidebars_widgets();
|
| 700 |
$widget_list = array();
|
| 701 |
$orig_POST = $_POST;
|
| 702 |
+
/**
|
| 703 |
+
* First replace existing sidebars.
|
| 704 |
+
*/
|
| 705 |
+
if ( isset( $data['widgets'] ) && is_array( $data['widgets'] ) ) {
|
| 706 |
+
foreach ( $data['widgets'] as $sb_id => $sidebar ) {
|
| 707 |
+
// --- 1. Remove all widgets from the sidebar
|
| 708 |
+
// @see wp-admin/includes/ajax-actions.php : function wp_ajax_save_widget()
|
| 709 |
+
// Empty the sidebar, in case it contains widgets.
|
| 710 |
+
$old_widgets = @$def_sidebars[ $sb_id ];
|
| 711 |
+
$def_sidebars[ $sb_id ] = array();
|
| 712 |
+
wp_set_sidebars_widgets( $def_sidebars );
|
| 713 |
+
// Also remove the widget-instances from wp-option table.
|
| 714 |
+
if ( ! is_array( $old_widgets ) ) {
|
| 715 |
+
$old_widgets = array();
|
| 716 |
+
}
|
| 717 |
+
foreach ( $old_widgets as $widget_id ) {
|
| 718 |
+
$id_base = preg_replace( '/-[0-9]+$/', '', $widget_id );
|
| 719 |
+
$_POST = array(
|
| 720 |
+
'sidebar' => $sb_id,
|
| 721 |
+
'widget-' . $id_base => array(),
|
| 722 |
+
'the-widget-id' => $widget_id,
|
| 723 |
+
'delete_widget' => '1',
|
| 724 |
+
);
|
| 725 |
+
$this->_refresh_widget_settings( $id_base );
|
| 726 |
+
}
|
| 727 |
+
// --- 2. Import the new widgets to the sidebar
|
| 728 |
+
foreach ( $sidebar as $class => $widget ) {
|
| 729 |
+
$widget_base = $widget['id_base'];
|
| 730 |
+
$widget_name = $this->_add_new_widget( $widget_base, $widget['settings'] );
|
| 731 |
+
if ( ! empty( $widget_name ) ) {
|
| 732 |
+
$def_sidebars[ $sb_id ][] = $widget_name;
|
| 733 |
+
$widget_count += 1;
|
| 734 |
+
}
|
|
|
|
| 735 |
}
|
| 736 |
}
|
| 737 |
}
|
inc/class-custom-sidebars-visibility.php
CHANGED
|
@@ -438,7 +438,7 @@ class CustomSidebarsVisibility extends CustomSidebars {
|
|
| 438 |
<select name="<?php echo esc_attr( $block_name ); ?>[<?php echo esc_attr( $row_id ); ?>][]" data-select-ajax="<?php echo esc_url( $ajax_url ); ?>" multiple="multiple">
|
| 439 |
<?php if ( ! empty( $posts ) ) : ?>
|
| 440 |
<?php foreach ( $posts as $post ) : ?>
|
| 441 |
-
<option value="<?php echo $post->ID; ?>" selected="selected"><?php echo $post->post_title; ?></option>
|
| 442 |
<?php endforeach; ?>
|
| 443 |
<?php endif; ?>
|
| 444 |
</select>
|
| 438 |
<select name="<?php echo esc_attr( $block_name ); ?>[<?php echo esc_attr( $row_id ); ?>][]" data-select-ajax="<?php echo esc_url( $ajax_url ); ?>" multiple="multiple">
|
| 439 |
<?php if ( ! empty( $posts ) ) : ?>
|
| 440 |
<?php foreach ( $posts as $post ) : ?>
|
| 441 |
+
<option value="<?php echo esc_attr( $post->ID ); ?>" selected="selected"><?php echo esc_html( $post->post_title ); ?></option>
|
| 442 |
<?php endforeach; ?>
|
| 443 |
<?php endif; ?>
|
| 444 |
</select>
|
lang/custom-sidebars.pot
CHANGED
|
@@ -4,7 +4,7 @@ msgid ""
|
|
| 4 |
msgstr ""
|
| 5 |
"Project-Id-Version: Custom Sidebars Pro PLUGIN_VERSION\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/customsidebars\n"
|
| 7 |
-
"POT-Creation-Date: 2017-10-
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
|
@@ -148,7 +148,7 @@ msgid "Sidebars"
|
|
| 148 |
msgstr ""
|
| 149 |
|
| 150 |
#: inc/class-custom-sidebars-editor.php:1136 views/bulk-edit.php:23
|
| 151 |
-
#: views/import.php:
|
| 152 |
msgid "Custom Sidebars"
|
| 153 |
msgstr ""
|
| 154 |
|
|
@@ -206,7 +206,7 @@ msgstr ""
|
|
| 206 |
msgid "Plugin options were imported!"
|
| 207 |
msgstr ""
|
| 208 |
|
| 209 |
-
#: inc/class-custom-sidebars-export.php:
|
| 210 |
msgid "Imported %d widget(s)!"
|
| 211 |
msgstr ""
|
| 212 |
|
|
@@ -274,7 +274,7 @@ msgstr ""
|
|
| 274 |
msgid "Membership2"
|
| 275 |
msgstr ""
|
| 276 |
|
| 277 |
-
#: inc/class-custom-sidebars-visibility.php:245 views/import.php:
|
| 278 |
msgid "Special pages"
|
| 279 |
msgstr ""
|
| 280 |
|
|
@@ -349,7 +349,7 @@ msgid ""
|
|
| 349 |
"\t\t\t\t\t\tto disable accessibility mode and use the %1$s plugin!"
|
| 350 |
msgstr ""
|
| 351 |
|
| 352 |
-
#: inc/class-custom-sidebars.php:946 views/import.php:
|
| 353 |
msgid "Widgets"
|
| 354 |
msgstr ""
|
| 355 |
|
|
@@ -373,115 +373,119 @@ msgstr ""
|
|
| 373 |
msgid "(Not available for Blog-Page)"
|
| 374 |
msgstr ""
|
| 375 |
|
| 376 |
-
#: views/import.php:
|
| 377 |
msgid "Import"
|
| 378 |
msgstr ""
|
| 379 |
|
| 380 |
-
#: views/import.php:
|
| 381 |
msgid "Filename"
|
| 382 |
msgstr ""
|
| 383 |
|
| 384 |
-
#: views/import.php:
|
| 385 |
msgid "Exported on"
|
| 386 |
msgstr ""
|
| 387 |
|
| 388 |
-
#: views/import.php:
|
| 389 |
msgid "WordPress settings"
|
| 390 |
msgstr ""
|
| 391 |
|
| 392 |
-
#: views/import.php:
|
| 393 |
msgid "WordPress version"
|
| 394 |
msgstr ""
|
| 395 |
|
| 396 |
-
#: views/import.php:
|
| 397 |
msgid "Plugin version"
|
| 398 |
msgstr ""
|
| 399 |
|
| 400 |
-
#: views/import.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 401 |
msgid "Theme"
|
| 402 |
msgstr ""
|
| 403 |
|
| 404 |
-
#: views/import.php:
|
| 405 |
msgid "Mark the sidebars that you want to import."
|
| 406 |
msgstr ""
|
| 407 |
|
| 408 |
-
#: views/import.php:
|
| 409 |
msgid "Also import all widgets of the selected sidebars."
|
| 410 |
msgstr ""
|
| 411 |
|
| 412 |
-
#: views/import.php:
|
| 413 |
msgid "Name"
|
| 414 |
msgstr ""
|
| 415 |
|
| 416 |
-
#: views/import.php:
|
| 417 |
msgid "Description"
|
| 418 |
msgstr ""
|
| 419 |
|
| 420 |
-
#: views/import.php:
|
| 421 |
msgid "Note"
|
| 422 |
msgstr ""
|
| 423 |
|
| 424 |
-
#: views/import.php:
|
| 425 |
msgid "New sidebar will be created"
|
| 426 |
msgstr ""
|
| 427 |
|
| 428 |
-
#: views/import.php:
|
| 429 |
msgid "Existing sidebar will be replaced!"
|
| 430 |
msgstr ""
|
| 431 |
|
| 432 |
-
#: views/import.php:
|
| 433 |
msgid "(Theme sidebar)"
|
| 434 |
msgstr ""
|
| 435 |
|
| 436 |
-
#: views/import.php:
|
| 437 |
msgid "Configuration"
|
| 438 |
msgstr ""
|
| 439 |
|
| 440 |
-
#: views/import.php:
|
| 441 |
msgid "Replaceable sidebars"
|
| 442 |
msgstr ""
|
| 443 |
|
| 444 |
-
#: views/import.php:
|
| 445 |
msgid "Replaceable Sidebars"
|
| 446 |
msgstr ""
|
| 447 |
|
| 448 |
-
#: views/import.php:
|
| 449 |
msgid "By post type"
|
| 450 |
msgstr ""
|
| 451 |
|
| 452 |
-
#: views/import.php:
|
| 453 |
msgid "Post-type archives"
|
| 454 |
msgstr ""
|
| 455 |
|
| 456 |
-
#: views/import.php:
|
| 457 |
msgid "By category"
|
| 458 |
msgstr ""
|
| 459 |
|
| 460 |
-
#: views/import.php:
|
| 461 |
msgid "Category archives"
|
| 462 |
msgstr ""
|
| 463 |
|
| 464 |
-
#: views/import.php:
|
| 465 |
msgid "Main blog page"
|
| 466 |
msgstr ""
|
| 467 |
|
| 468 |
-
#: views/import.php:
|
| 469 |
msgid "Date archives"
|
| 470 |
msgstr ""
|
| 471 |
|
| 472 |
-
#: views/import.php:
|
| 473 |
msgid "Author archives"
|
| 474 |
msgstr ""
|
| 475 |
|
| 476 |
-
#: views/import.php:
|
| 477 |
msgid "Tag archives"
|
| 478 |
msgstr ""
|
| 479 |
|
| 480 |
-
#: views/import.php:
|
| 481 |
msgid "Search results page"
|
| 482 |
msgstr ""
|
| 483 |
|
| 484 |
-
#: views/import.php:
|
| 485 |
msgid "Replace the current plugin configuration with the imported configuration."
|
| 486 |
msgstr ""
|
| 487 |
|
| 4 |
msgstr ""
|
| 5 |
"Project-Id-Version: Custom Sidebars Pro PLUGIN_VERSION\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/customsidebars\n"
|
| 7 |
+
"POT-Creation-Date: 2017-10-25 14:32:54+00:00\n"
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
| 148 |
msgstr ""
|
| 149 |
|
| 150 |
#: inc/class-custom-sidebars-editor.php:1136 views/bulk-edit.php:23
|
| 151 |
+
#: views/import.php:130 views/widgets.php:47
|
| 152 |
msgid "Custom Sidebars"
|
| 153 |
msgstr ""
|
| 154 |
|
| 206 |
msgid "Plugin options were imported!"
|
| 207 |
msgstr ""
|
| 208 |
|
| 209 |
+
#: inc/class-custom-sidebars-export.php:742
|
| 210 |
msgid "Imported %d widget(s)!"
|
| 211 |
msgstr ""
|
| 212 |
|
| 274 |
msgid "Membership2"
|
| 275 |
msgstr ""
|
| 276 |
|
| 277 |
+
#: inc/class-custom-sidebars-visibility.php:245 views/import.php:366
|
| 278 |
msgid "Special pages"
|
| 279 |
msgstr ""
|
| 280 |
|
| 349 |
"\t\t\t\t\t\tto disable accessibility mode and use the %1$s plugin!"
|
| 350 |
msgstr ""
|
| 351 |
|
| 352 |
+
#: inc/class-custom-sidebars.php:946 views/import.php:147
|
| 353 |
msgid "Widgets"
|
| 354 |
msgstr ""
|
| 355 |
|
| 373 |
msgid "(Not available for Blog-Page)"
|
| 374 |
msgstr ""
|
| 375 |
|
| 376 |
+
#: views/import.php:67 views/widgets-export.php:34
|
| 377 |
msgid "Import"
|
| 378 |
msgstr ""
|
| 379 |
|
| 380 |
+
#: views/import.php:74
|
| 381 |
msgid "Filename"
|
| 382 |
msgstr ""
|
| 383 |
|
| 384 |
+
#: views/import.php:78
|
| 385 |
msgid "Exported on"
|
| 386 |
msgstr ""
|
| 387 |
|
| 388 |
+
#: views/import.php:84
|
| 389 |
msgid "WordPress settings"
|
| 390 |
msgstr ""
|
| 391 |
|
| 392 |
+
#: views/import.php:95
|
| 393 |
msgid "WordPress version"
|
| 394 |
msgstr ""
|
| 395 |
|
| 396 |
+
#: views/import.php:100
|
| 397 |
msgid "Plugin version"
|
| 398 |
msgstr ""
|
| 399 |
|
| 400 |
+
#: views/import.php:102
|
| 401 |
+
msgid "Unknown"
|
| 402 |
+
msgstr ""
|
| 403 |
+
|
| 404 |
+
#: views/import.php:105
|
| 405 |
msgid "Theme"
|
| 406 |
msgstr ""
|
| 407 |
|
| 408 |
+
#: views/import.php:132
|
| 409 |
msgid "Mark the sidebars that you want to import."
|
| 410 |
msgstr ""
|
| 411 |
|
| 412 |
+
#: views/import.php:137
|
| 413 |
msgid "Also import all widgets of the selected sidebars."
|
| 414 |
msgstr ""
|
| 415 |
|
| 416 |
+
#: views/import.php:144 views/widgets-editor.php:15
|
| 417 |
msgid "Name"
|
| 418 |
msgstr ""
|
| 419 |
|
| 420 |
+
#: views/import.php:145 views/widgets-editor.php:20
|
| 421 |
msgid "Description"
|
| 422 |
msgstr ""
|
| 423 |
|
| 424 |
+
#: views/import.php:146
|
| 425 |
msgid "Note"
|
| 426 |
msgstr ""
|
| 427 |
|
| 428 |
+
#: views/import.php:154
|
| 429 |
msgid "New sidebar will be created"
|
| 430 |
msgstr ""
|
| 431 |
|
| 432 |
+
#: views/import.php:156
|
| 433 |
msgid "Existing sidebar will be replaced!"
|
| 434 |
msgstr ""
|
| 435 |
|
| 436 |
+
#: views/import.php:224
|
| 437 |
msgid "(Theme sidebar)"
|
| 438 |
msgstr ""
|
| 439 |
|
| 440 |
+
#: views/import.php:252
|
| 441 |
msgid "Configuration"
|
| 442 |
msgstr ""
|
| 443 |
|
| 444 |
+
#: views/import.php:256
|
| 445 |
msgid "Replaceable sidebars"
|
| 446 |
msgstr ""
|
| 447 |
|
| 448 |
+
#: views/import.php:259
|
| 449 |
msgid "Replaceable Sidebars"
|
| 450 |
msgstr ""
|
| 451 |
|
| 452 |
+
#: views/import.php:278
|
| 453 |
msgid "By post type"
|
| 454 |
msgstr ""
|
| 455 |
|
| 456 |
+
#: views/import.php:307
|
| 457 |
msgid "Post-type archives"
|
| 458 |
msgstr ""
|
| 459 |
|
| 460 |
+
#: views/import.php:328
|
| 461 |
msgid "By category"
|
| 462 |
msgstr ""
|
| 463 |
|
| 464 |
+
#: views/import.php:348
|
| 465 |
msgid "Category archives"
|
| 466 |
msgstr ""
|
| 467 |
|
| 468 |
+
#: views/import.php:369
|
| 469 |
msgid "Main blog page"
|
| 470 |
msgstr ""
|
| 471 |
|
| 472 |
+
#: views/import.php:370
|
| 473 |
msgid "Date archives"
|
| 474 |
msgstr ""
|
| 475 |
|
| 476 |
+
#: views/import.php:371
|
| 477 |
msgid "Author archives"
|
| 478 |
msgstr ""
|
| 479 |
|
| 480 |
+
#: views/import.php:372
|
| 481 |
msgid "Tag archives"
|
| 482 |
msgstr ""
|
| 483 |
|
| 484 |
+
#: views/import.php:373
|
| 485 |
msgid "Search results page"
|
| 486 |
msgstr ""
|
| 487 |
|
| 488 |
+
#: views/import.php:383
|
| 489 |
msgid "Replace the current plugin configuration with the imported configuration."
|
| 490 |
msgstr ""
|
| 491 |
|
readme.txt
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
=== Custom Sidebars - Dynamic Widget Area Manager ===
|
| 2 |
Contributors: WPMUDEV, marquex, WPMUDEV-Support2, WPMUDEV-Support1, WPMUDEV-Support6, WPMUDEV-Support4, iworks
|
| 3 |
Tags: sidebar, widget, footer, custom, flexible layout, dynamic widgets, manage sidebars, replace widgets, custom widget area
|
| 4 |
-
Requires at least:
|
| 5 |
-
Tested up to: 4.
|
| 6 |
-
Stable tag: 3.1.
|
| 7 |
|
| 8 |
Flexible sidebars for custom widget configurations on every page, post and custom post type on your site.
|
| 9 |
|
|
@@ -27,6 +27,9 @@ Custom Sidebars allows you to display custom widget configurations on any page,
|
|
| 27 |
★★★★★ <br>
|
| 28 |
"This plugin does exactly what it says. It's light, integrates well into WordPress and gives you tons of possibilities." - <a href="https://profiles.wordpress.org/darknova11">DarkNova</a>
|
| 29 |
|
|
|
|
|
|
|
|
|
|
| 30 |
Every part of Custom Sidebars integrates seamlessly with the Widgets menu for simplicity and control. No confusing settings pages or added menu items, just simple core integration.
|
| 31 |
|
| 32 |
<blockquote><h4>A Simple Flexible Sidebar Manager</h4>
|
|
@@ -120,6 +123,12 @@ If you are running a earlier version of WordPress download Custom Sidebars 0.8.2
|
|
| 120 |
|
| 121 |
== Changelog ==
|
| 122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
= 3.1.0 =
|
| 124 |
* Added a quick and a bulk edit to custom post types.
|
| 125 |
* Added nonce check for set location, import & export actions to avoid CSRF vulnerability.
|
| 1 |
=== Custom Sidebars - Dynamic Widget Area Manager ===
|
| 2 |
Contributors: WPMUDEV, marquex, WPMUDEV-Support2, WPMUDEV-Support1, WPMUDEV-Support6, WPMUDEV-Support4, iworks
|
| 3 |
Tags: sidebar, widget, footer, custom, flexible layout, dynamic widgets, manage sidebars, replace widgets, custom widget area
|
| 4 |
+
Requires at least: 4.6
|
| 5 |
+
Tested up to: 4.9.2
|
| 6 |
+
Stable tag: 3.1.1
|
| 7 |
|
| 8 |
Flexible sidebars for custom widget configurations on every page, post and custom post type on your site.
|
| 9 |
|
| 27 |
★★★★★ <br>
|
| 28 |
"This plugin does exactly what it says. It's light, integrates well into WordPress and gives you tons of possibilities." - <a href="https://profiles.wordpress.org/darknova11">DarkNova</a>
|
| 29 |
|
| 30 |
+
★★★★★ <br>
|
| 31 |
+
"I really needed a way to put certain widgets on certain pages or groups of pages (categories, archives, etc.) This plugin does just that in an easy elegant way. I highly recommend it!" - <a href="https://wordpress.org/support/users/rjjacob/">rjjacob</a>
|
| 32 |
+
|
| 33 |
Every part of Custom Sidebars integrates seamlessly with the Widgets menu for simplicity and control. No confusing settings pages or added menu items, just simple core integration.
|
| 34 |
|
| 35 |
<blockquote><h4>A Simple Flexible Sidebar Manager</h4>
|
| 123 |
|
| 124 |
== Changelog ==
|
| 125 |
|
| 126 |
+
= 3.1.1 =
|
| 127 |
+
* Improved assets directories.
|
| 128 |
+
* Improved widgets on very small screens.
|
| 129 |
+
* Fixed bulk edit problem with resetting sidebars.
|
| 130 |
+
* Fixed few notices on import screen.
|
| 131 |
+
|
| 132 |
= 3.1.0 =
|
| 133 |
* Added a quick and a bulk edit to custom post types.
|
| 134 |
* Added nonce check for set location, import & export actions to avoid CSRF vulnerability.
|
views/import.php
CHANGED
|
@@ -56,6 +56,13 @@ function list_sidebar_replacement( $label, $list ) {
|
|
| 56 |
* Show basic infos about the WordPress configuration at time of
|
| 57 |
* the export.
|
| 58 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
?>
|
| 60 |
<h2 class="no-pad-top"><?php _e( 'Import', 'custom-sidebars' ); ?></h2>
|
| 61 |
<div class="show-infos">
|
|
@@ -65,7 +72,7 @@ function list_sidebar_replacement( $label, $list ) {
|
|
| 65 |
<tbody>
|
| 66 |
<tr>
|
| 67 |
<th><?php _e( 'Filename', 'custom-sidebars' ); ?></th>
|
| 68 |
-
<td colspan="2"><?php echo esc_html(
|
| 69 |
</tr>
|
| 70 |
<tr>
|
| 71 |
<th><?php _e( 'Exported on', 'custom-sidebars' ); ?></th>
|
|
@@ -92,7 +99,7 @@ function list_sidebar_replacement( $label, $list ) {
|
|
| 92 |
<tr>
|
| 93 |
<th><?php _e( 'Plugin version', 'custom-sidebars' ); ?></th>
|
| 94 |
<td><?php echo esc_html( $import['meta']['csb_version'] ); ?></td>
|
| 95 |
-
<td><?php echo esc_html(
|
| 96 |
</tr>
|
| 97 |
<tr>
|
| 98 |
<th><?php _e( 'Theme', 'custom-sidebars' ); ?></th>
|
|
@@ -102,7 +109,7 @@ function list_sidebar_replacement( $label, $list ) {
|
|
| 102 |
</tbody>
|
| 103 |
</table>
|
| 104 |
</div>
|
| 105 |
-
|
| 106 |
|
| 107 |
<?php if ( ! empty( $import['meta']['description'] ) ) : ?>
|
| 108 |
<pre><?php echo esc_html( stripslashes( $import['meta']['description'] ) ); ?></pre>
|
|
@@ -148,20 +155,25 @@ foreach ( $import['sidebars'] as $sidebar ) {
|
|
| 148 |
if ( in_array( $sidebar['id'], $current_keys ) ) {
|
| 149 |
$note = __( 'Existing sidebar will be replaced!', 'custom-sidebars' );
|
| 150 |
}
|
| 151 |
-
$import_sidebar =
|
| 152 |
-
if (
|
| 153 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
}
|
| 155 |
$id = sprintf( 'import_sb_id_%s', $sidebar['id'] );
|
| 156 |
?>
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
<?php
|
| 166 |
if ( count( $import_sidebar ) ) {
|
| 167 |
echo '<ul>';
|
|
@@ -173,8 +185,8 @@ if ( count( $import_sidebar ) ) {
|
|
| 173 |
echo '-';
|
| 174 |
}
|
| 175 |
?>
|
| 176 |
-
|
| 177 |
-
|
| 178 |
<?php
|
| 179 |
}
|
| 180 |
|
|
@@ -187,7 +199,14 @@ if ( count( $import_sidebar ) ) {
|
|
| 187 |
foreach ( $theme_sidebars as $sidebar ) {
|
| 188 |
if ( isset( $import['widgets'][ $sidebar['id'] ] ) ) {
|
| 189 |
$alternate = ('' == $alternate ? 'alternate' : '');
|
| 190 |
-
$import_sidebar =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 191 |
if ( ! is_array( $import_sidebar ) ) {
|
| 192 |
$import_sidebar = array();
|
| 193 |
}
|
|
@@ -245,51 +264,91 @@ if ( count( $import_sidebar ) ) {
|
|
| 245 |
</td>
|
| 246 |
</tr>
|
| 247 |
</table>
|
| 248 |
-
|
| 249 |
-
<?php /* single-posttype */ ?>
|
| 250 |
-
<div class="section"><?php _e( 'By post type', 'custom-sidebars' ); ?></div>
|
| 251 |
-
<table cellspacing="1" cellpadding="4" class="csb-export-head">
|
| 252 |
<?php
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 258 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 259 |
?>
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
<?php /* archive-posttype */ ?>
|
| 263 |
-
<div class="section"><?php _e( 'Post-type archives', 'custom-sidebars' ); ?></div>
|
| 264 |
-
<table cellspacing="1" cellpadding="4" class="csb-export-head">
|
| 265 |
<?php
|
| 266 |
-
$list =
|
| 267 |
foreach ( $list as $key => $values ) {
|
| 268 |
$type = get_post_type_object( $key );
|
| 269 |
if ( ! count( $values ) ) { continue; }
|
| 270 |
list_sidebar_replacement( $type->labels->name, $values );
|
| 271 |
}
|
| 272 |
-
|
| 273 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 274 |
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
<?php
|
| 279 |
-
$list =
|
| 280 |
foreach ( $list as $key => $values ) {
|
| 281 |
$cat = get_category( $key );
|
| 282 |
if ( ! count( $values ) ) { continue; }
|
| 283 |
list_sidebar_replacement( $cat->name, $values );
|
| 284 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 285 |
?>
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
<?php /* archive-category */ ?>
|
| 289 |
-
<div class="section"><?php _e( 'Category archives', 'custom-sidebars' ); ?></div>
|
| 290 |
-
<table cellspacing="1" cellpadding="4" class="csb-export-head">
|
| 291 |
<?php
|
| 292 |
-
$list =
|
| 293 |
foreach ( $list as $key => $values ) {
|
| 294 |
$cat = get_category( $key );
|
| 295 |
if ( ! is_a( $cat, 'WP_Term' ) ) {
|
|
@@ -299,10 +358,10 @@ foreach ( $list as $key => $values ) {
|
|
| 299 |
continue;
|
| 300 |
}
|
| 301 |
list_sidebar_replacement( $cat->name, $values );
|
|
|
|
|
|
|
| 302 |
}
|
| 303 |
?>
|
| 304 |
-
</table>
|
| 305 |
-
|
| 306 |
<?php /* special pages */ ?>
|
| 307 |
<div class="section"><?php _e( 'Special pages', 'custom-sidebars' ); ?></div>
|
| 308 |
<table cellspacing="1" cellpadding="4" class="csb-export-head">
|
| 56 |
* Show basic infos about the WordPress configuration at time of
|
| 57 |
* the export.
|
| 58 |
*/
|
| 59 |
+
$filename = '';
|
| 60 |
+
if (
|
| 61 |
+
isset( $import['meta'] )
|
| 62 |
+
&& isset( $import['meta']['filename'] )
|
| 63 |
+
) {
|
| 64 |
+
$filename = $import['meta']['filename'];
|
| 65 |
+
}
|
| 66 |
?>
|
| 67 |
<h2 class="no-pad-top"><?php _e( 'Import', 'custom-sidebars' ); ?></h2>
|
| 68 |
<div class="show-infos">
|
| 72 |
<tbody>
|
| 73 |
<tr>
|
| 74 |
<th><?php _e( 'Filename', 'custom-sidebars' ); ?></th>
|
| 75 |
+
<td colspan="2"><?php echo esc_html( $filename ); ?></td>
|
| 76 |
</tr>
|
| 77 |
<tr>
|
| 78 |
<th><?php _e( 'Exported on', 'custom-sidebars' ); ?></th>
|
| 99 |
<tr>
|
| 100 |
<th><?php _e( 'Plugin version', 'custom-sidebars' ); ?></th>
|
| 101 |
<td><?php echo esc_html( $import['meta']['csb_version'] ); ?></td>
|
| 102 |
+
<td><?php echo esc_html( isset( $csb_info['Version'] )? $csb_info['Version'] : __( 'Unknown', 'custom-sidebars' ) ); ?></td>
|
| 103 |
</tr>
|
| 104 |
<tr>
|
| 105 |
<th><?php _e( 'Theme', 'custom-sidebars' ); ?></th>
|
| 109 |
</tbody>
|
| 110 |
</table>
|
| 111 |
</div>
|
| 112 |
+
</div>
|
| 113 |
|
| 114 |
<?php if ( ! empty( $import['meta']['description'] ) ) : ?>
|
| 115 |
<pre><?php echo esc_html( stripslashes( $import['meta']['description'] ) ); ?></pre>
|
| 155 |
if ( in_array( $sidebar['id'], $current_keys ) ) {
|
| 156 |
$note = __( 'Existing sidebar will be replaced!', 'custom-sidebars' );
|
| 157 |
}
|
| 158 |
+
$import_sidebar = array();
|
| 159 |
+
if (
|
| 160 |
+
isset( $sidebar['id'] )
|
| 161 |
+
&& isset( $import['widgets'] )
|
| 162 |
+
&& isset( $import['widgets'][ $sidebar['id'] ] )
|
| 163 |
+
&& is_array( $import['widgets'][ $sidebar['id'] ] )
|
| 164 |
+
) {
|
| 165 |
+
$import_sidebar = $import['widgets'][ $sidebar['id'] ];
|
| 166 |
}
|
| 167 |
$id = sprintf( 'import_sb_id_%s', $sidebar['id'] );
|
| 168 |
?>
|
| 169 |
+
<tr class="<?php echo esc_attr( $alternate ); ?>">
|
| 170 |
+
<th scope="row" class="check-column">
|
| 171 |
+
<input type="checkbox" name="import_sb_<?php echo esc_attr( $sidebar['id'] ); ?>" id="<?php echo esc_attr( $id ); ?>"/>
|
| 172 |
+
</th>
|
| 173 |
+
<td class="name column-name"><label for="<?php echo esc_attr( $id ); ?>"><?php echo esc_html( $sidebar['name'] ); ?></label></td>
|
| 174 |
+
<td class="description column-description"><?php echo esc_html( $sidebar['description'] ); ?></td>
|
| 175 |
+
<td class="note column-note"><?php echo esc_html( $note ); ?></td>
|
| 176 |
+
<td class="widgets column-widgets" style="display:none">
|
| 177 |
<?php
|
| 178 |
if ( count( $import_sidebar ) ) {
|
| 179 |
echo '<ul>';
|
| 185 |
echo '-';
|
| 186 |
}
|
| 187 |
?>
|
| 188 |
+
</td>
|
| 189 |
+
</tr>
|
| 190 |
<?php
|
| 191 |
}
|
| 192 |
|
| 199 |
foreach ( $theme_sidebars as $sidebar ) {
|
| 200 |
if ( isset( $import['widgets'][ $sidebar['id'] ] ) ) {
|
| 201 |
$alternate = ('' == $alternate ? 'alternate' : '');
|
| 202 |
+
$import_sidebar = array();
|
| 203 |
+
if (
|
| 204 |
+
isset( $sidebar['id'] )
|
| 205 |
+
&& isset( $import['widgets'] )
|
| 206 |
+
&& isset( $import['widgets'][ $sidebar['id'] ] )
|
| 207 |
+
) {
|
| 208 |
+
$import_sidebar = $import['widgets'][ $sidebar['id'] ];
|
| 209 |
+
}
|
| 210 |
if ( ! is_array( $import_sidebar ) ) {
|
| 211 |
$import_sidebar = array();
|
| 212 |
}
|
| 264 |
</td>
|
| 265 |
</tr>
|
| 266 |
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 267 |
<?php
|
| 268 |
+
/**
|
| 269 |
+
* single-posttype
|
| 270 |
+
*/
|
| 271 |
+
if (
|
| 272 |
+
isset( $import['options'] )
|
| 273 |
+
&& isset( $import['options']['post_type_single'] )
|
| 274 |
+
&& is_array( $import['options']['post_type_single'] )
|
| 275 |
+
) {
|
| 276 |
+
printf(
|
| 277 |
+
'<div class="section">%s/div>',
|
| 278 |
+
esc_html__( 'By post type', 'custom-sidebars' )
|
| 279 |
+
);
|
| 280 |
+
echo '<table cellspacing="1" cellpadding="4" class="csb-export-head">';
|
| 281 |
+
$list = $import['options']['post_type_single'];
|
| 282 |
+
$list['foo'] = array();
|
| 283 |
+
foreach ( $list as $key => $values ) {
|
| 284 |
+
if ( ! count( $values ) ) {
|
| 285 |
+
continue;
|
| 286 |
+
}
|
| 287 |
+
/**
|
| 288 |
+
* check post type exists
|
| 289 |
+
*/
|
| 290 |
+
$type = get_post_type_object( $key );
|
| 291 |
+
if ( ! is_a( $type, 'WP_Post_Type' ) ) {
|
| 292 |
+
continue;
|
| 293 |
+
}
|
| 294 |
+
list_sidebar_replacement( $type->labels->name, $values );
|
| 295 |
+
}
|
| 296 |
+
echo '</table>';
|
| 297 |
}
|
| 298 |
+
/**
|
| 299 |
+
* archive-posttype
|
| 300 |
+
*/
|
| 301 |
+
if (
|
| 302 |
+
isset( $import['options'] )
|
| 303 |
+
&& isset( $import['options']['post_type_archive'] )
|
| 304 |
+
&& is_array( $import['options']['post_type_archive'] )
|
| 305 |
+
) {
|
| 306 |
?>
|
| 307 |
+
<div class="section"><?php _e( 'Post-type archives', 'custom-sidebars' ); ?></div>
|
| 308 |
+
<table cellspacing="1" cellpadding="4" class="csb-export-head">
|
|
|
|
|
|
|
|
|
|
| 309 |
<?php
|
| 310 |
+
$list = $import['options']['post_type_archive'];
|
| 311 |
foreach ( $list as $key => $values ) {
|
| 312 |
$type = get_post_type_object( $key );
|
| 313 |
if ( ! count( $values ) ) { continue; }
|
| 314 |
list_sidebar_replacement( $type->labels->name, $values );
|
| 315 |
}
|
| 316 |
+
echo '</table>';
|
| 317 |
+
}
|
| 318 |
+
/*
|
| 319 |
+
* single-category
|
| 320 |
+
*/
|
| 321 |
+
if (
|
| 322 |
+
isset( $import['options'] )
|
| 323 |
+
&& isset( $import['options']['category_single'] )
|
| 324 |
+
&& is_array( $import['options']['category_single'] )
|
| 325 |
+
) {
|
| 326 |
|
| 327 |
+
?>
|
| 328 |
+
<div class="section"><?php _e( 'By category', 'custom-sidebars' ); ?></div>
|
| 329 |
+
<table cellspacing="1" cellpadding="4" class="csb-export-head">
|
| 330 |
<?php
|
| 331 |
+
$list = $import['options']['category_single'];
|
| 332 |
foreach ( $list as $key => $values ) {
|
| 333 |
$cat = get_category( $key );
|
| 334 |
if ( ! count( $values ) ) { continue; }
|
| 335 |
list_sidebar_replacement( $cat->name, $values );
|
| 336 |
}
|
| 337 |
+
echo '</table>';
|
| 338 |
+
}
|
| 339 |
+
/**
|
| 340 |
+
* archive-category
|
| 341 |
+
*/
|
| 342 |
+
if (
|
| 343 |
+
isset( $import['options'] )
|
| 344 |
+
&& isset( $import['options']['category_archive'] )
|
| 345 |
+
&& is_array( $import['options']['category_archive'] )
|
| 346 |
+
) {
|
| 347 |
?>
|
| 348 |
+
<div class="section"><?php _e( 'Category archives', 'custom-sidebars' ); ?></div>
|
| 349 |
+
<table cellspacing="1" cellpadding="4" class="csb-export-head">
|
|
|
|
|
|
|
|
|
|
| 350 |
<?php
|
| 351 |
+
$list = $import['options']['category_archive'];
|
| 352 |
foreach ( $list as $key => $values ) {
|
| 353 |
$cat = get_category( $key );
|
| 354 |
if ( ! is_a( $cat, 'WP_Term' ) ) {
|
| 358 |
continue;
|
| 359 |
}
|
| 360 |
list_sidebar_replacement( $cat->name, $values );
|
| 361 |
+
}
|
| 362 |
+
echo '</table>';
|
| 363 |
}
|
| 364 |
?>
|
|
|
|
|
|
|
| 365 |
<?php /* special pages */ ?>
|
| 366 |
<div class="section"><?php _e( 'Special pages', 'custom-sidebars' ); ?></div>
|
| 367 |
<table cellspacing="1" cellpadding="4" class="csb-export-head">
|
