Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 2.3.3 |
Comparing to | |
See all releases |
Code changes from version 2.3.2 to 2.3.3
- _scss/style.scss +1 -1
- css/style.css +1 -1
- css/style_in_bs.css +1 -1
- plugins/child_page_index.php +56 -54
- plugins/other_widget/widget-3pr-area.php +67 -76
- plugins/other_widget/widget-archives.php +5 -5
- plugins/other_widget/widget-new-posts.php +4 -14
- plugins/other_widget/widget-page.php +4 -4
- plugins/other_widget/widget-pr-blocks.php +116 -119
- plugins/other_widget/widget-profile.php +33 -41
- plugins/other_widget/widget-taxonomies.php +2 -2
- plugins/sns/function_fbPagePlugin.php +4 -5
- readme.txt +1 -1
- vkExUnit.php +1 -1
- vkExUnit_admin.php +2 -2
_scss/style.scss
CHANGED
@@ -360,7 +360,7 @@ html { font-size: inherit; } /* reset bootstrap */
|
|
360 |
line-height: 1.4em;
|
361 |
}
|
362 |
}
|
363 |
-
@media screen and (max-width:
|
364 |
.widget.pr_blocks{
|
365 |
display: block;
|
366 |
.prArea{
|
360 |
line-height: 1.4em;
|
361 |
}
|
362 |
}
|
363 |
+
@media screen and (max-width:767px){
|
364 |
.widget.pr_blocks{
|
365 |
display: block;
|
366 |
.prArea{
|
css/style.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.media{border-bottom:1px solid #e5e5e5;padding:2em 0;margin-top:0}.media:first-child{border-top:1px solid #e5e5e5}.media .postList_thumbnail{width:160px;margin-bottom:0.5em;padding-right:30px;display:block;overflow:hidden;float:left}.media .postList_thumbnail a{position:relative;display:block;overflow:hidden}.media .postList_thumbnail img{width:100%;height:auto}.media .postList_thumbnail .postList_cateLabel{position:absolute;bottom:0;left:0}.media .media-body .media-heading{font-size:1.8em;line-height:1.3em;margin-top:0;margin-bottom:0.5em;font-weight:normal}.media .media-body .media-heading a{color:#464646}.media .media-body .media-heading a:hover{text-decoration:none}.media .media-body p{margin-bottom:0}.media .media-body a.media-body_excerpt{color:#464646}@media (max-width: 767px){.media .postList_thumbnail{padding-right:20px}.media .media-body .media-heading{font-size:1.2em;line-height:1.3em;margin-bottom:0.5em}}@media (max-width: 500px){.media .postList_thumbnail{width:100px}}.leadTxt,p.leadTxt{font-size:2em;line-height:150%;padding:0}dl.veu_qaItem{display:block;overflow:hidden;border-bottom:1px dotted #ccc;padding:0px 0px 20px;margin:0px 0px 20px;width:100%;position:relative}dl.veu_qaItem dt,dl.veu_qaItem dd{border:none;padding-left:35px}dl.veu_qaItem dt:before,dl.veu_qaItem dd:before{position:absolute;left:0;font-size:24px;line-height:105%}dl.veu_qaItem dt{margin-bottom:15px;font-size:18px}dl.veu_qaItem dt:before{font-family:"areal";content:"Q ";color:#e50000}dl.veu_qaItem dd{margin-bottom:0px}dl.veu_qaItem dd:before{content:"A ";color:#337ab7;font-family:""}.flowBox{display:block;overflow:hidden}.flowBox:after{font-family:FontAwesome;content:"\f0d7";font-size:50px;margin:0 auto 15px;position:relative;left:48%;line-height:120%;color:#ccc}.flowBox:last-child{padding-bottom:0px;margin-bottom:30px}.flowBox:last-child:after{content:"";font-size:0}.flowBox dl{display:block;overflow:hidden;padding:20px 25px;border:3px solid #e5e5e5;margin:0}.flowBox dl dt,.flowBox dl dd{padding-left:0;border:none}.flowBox dl dt{border-bottom:1px dotted #ccc;margin-bottom:10px;font-size:1.2em}.flowBox dl dd{margin-bottom:0px}.flowBox dl dd h4{margin:0px;padding:0px}.flowBox dl dd p{margin-bottom:10px}.flowBox dl dd ul{margin-bottom:0px}.dummyImage{padding:20px;display:block;vertical-align:middle;text-align:center;background-color:#f5f5f5;border:1px solid #ccc;margin-bottom:15px}.floatLeft{float:left;margin-right:20px}.floatRight{float:right;margin-left:20px}html{font-size:inherit}.link-list li{padding:0.5em}.widget .subSection-title{font-size:18px}.autoEyeCatchBox{display:block;overflow:hidden;margin-bottom:2em}.sitemap .sectionBox{padding-top:0}.sitemap .sitemap-col{padding-bottom:2em}.fb-like-box{margin:0 auto;border:4px solid #efefef;background-color:#f9f9f9;text-align:center}.twitter-timeline iframe{margin-right:auto;margin-left:auto}.vkContentAddSection{display:block;clear:both;overflow:hidden;padding-top:20px}.socialSet ul{margin:0px;padding:0}.socialSet ul li{position:relative;display:block;float:left;overflow:visible;margin-right:10px;padding:0px;background:none}.socialSet ul li.sb_icon a{display:block;overflow:hidden;padding:3px 5px 0px;border:1px solid #ccc;border-radius:3px;background-color:#fff;color:#333;text-decoration:none;line-height:100%}.socialSet ul li.sb_icon a .sns_txt{position:relative;top:-2px;font-size:11px}.socialSet ul li iframe{border:none}.socialSet ul li a .icon_sns{margin-right:5px;font-size:100%}.socialSet ul li.sb_icon.sb_facebook .icon_sns{color:#425dab}.socialSet ul li.sb_icon.sb_hatena .icon_sns{color:#2c6ebd}.socialSet ul li.sb_icon.sb_twitter .icon_sns{color:#00abec}.socialSet ul li.sb_icon.sb_google .icon_sns{color:#dd4b39}.socialSet ul li.sb_icon.sb_line .icon_sns{color:#6ebd30}.socialSet ul li.sb_pocket{margin-left:5px}.relatedPosts h2{margin-bottom:10px}.followSet{display:block;overflow:hidden;margin-top:20px;padding:15px;border:1px solid #f5f5f5;background-color:#efefef}.followSet h3.followSet_title{padding:6px 10px 4px;border:none;background-color:#333;color:#fff;font-size:18px}.followSet h3.followSet_title:after{border:none}.follow_btn{float:left;margin-right:20px}@font-face{font-weight:normal;font-style:normal;font-family:'vk_sns';src:url("../plugins/sns/icons/fonts/vk_sns.eot?-bq20cj");src:url("../plugins/sns/icons/fonts/vk_sns.eot?#iefix-bq20cj") format("embedded-opentype"),url("../plugins/sns/icons/fonts/vk_sns.woff?-bq20cj") format("woff"),url("../plugins/sns/icons/fonts/vk_sns.ttf?-bq20cj") format("truetype"),url("../plugins/sns/icons/fonts/vk_sns.svg?-bq20cj#vk_sns") format("svg")}[class^="vk_icon_w_r_sns_"],[class*=" vk_icon_w_r_sns_"]{text-transform:none;font-weight:normal;font-style:normal;font-variant:normal;font-family:'vk_sns';line-height:1;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vk_icon_w_r_sns_twitter:before{content:"\e600"}.vk_icon_w_r_sns_line:before{content:"\e601"}.vk_icon_w_r_sns_hatena:before{content:"\e602"}.vk_icon_w_r_sns_google:before{content:"\e603"}.vk_icon_w_r_sns_fb:before{content:"\e604"}.vkExUnit_entry-meta_items.published:before{font-family:FontAwesome;content:"\f073";margin-right:5px}.site-profile{overflow:hidden}.profile_media{display:block;margin:0.8em auto;max-width:100%}.media_round{border-radius:50%}.media_left .profile_media{margin-left:0}.media_float{float:left;padding-right:10px}.media_float .profile_media{margin:0.8em 0 0}.media_float+.profile_text{padding-top:0.8em}.profile_text{margin-bottom:0.5em;font-size:14px}.sns_btns{margin:0;padding:0;width:100%}.sns_btns li{float:left;margin-right:0.45em;list-style:none;text-align:center}.sns_btns a{display:block;display:table;width:45px;height:45px;border-radius:23px;color:#fff;text-decoration:none;font-size:20px}.sns_btns a:hover{color:#fff;text-decoration:none;opacity:0.8}.sns_btns .fa{display:table-cell;vertical-align:middle;text-align:center}.sns_btns .facebook_btn a{background:#3b5998}.sns_btns .twitter_btn a{background:#55acee}.sns_btns .mail_btn a{background:#2F915F}.sns_btns .youtube_btn a{background:#C81D1C}.sns_btns .rss_btn a{background:#f26522}.sns_btns .instagram_btn a{background:#3f729b}.sns_btns .linkedin_btn a{background:#0077b5}.prBox .subSection-title{font-size:18px}.prBox .media_pr{margin-top:0.8em;margin-bottom:0.8em}.prBox .media_pc{display:block}.prBox .media_sp{display:none}.prBox .summary{margin-bottom:0.5em;font-size:14px;line-height:1.4em}.prBox .linkurl a{text-decoration:none}@media screen and (max-width: 992px){.prBox .media_pc{display:none}.prBox .media_sp{display:block}.prBox .linkurl{margin-bottom:1.5em}}.widget.pr_blocks{display:table;width:100%;table-layout:fixed}.widget.pr_blocks .prArea{display:table-cell;padding:0 1em}.widget.pr_blocks .prArea:first-child{padding-left:0}.widget.pr_blocks .prArea:last-child{padding-right:0}.widget.pr_blocks a{color:#333}.widget.pr_blocks a:hover{color:#333;text-decoration:none}.widget.pr_blocks a .summary:hover{text-decoration:underline}.widget.pr_blocks .circle_icon{display:table;margin:0 auto;width:80px;height:80px;border-radius:50%}.widget.pr_blocks .circle_icon .font_icon{display:table-cell;color:#fff;vertical-align:middle;text-align:center;font-size:40px}.widget.pr_blocks .prBox_title{margin-top:1.5em;margin-bottom:1em;text-align:center;font-size:18px}.widget.pr_blocks .media_pr{display:table;margin:0 auto}.widget.pr_blocks .pr_image{display:table-cell;overflow:hidden;width:120px;height:120px;border-radius:50%;vertical-align:middle;text-align:center}.widget.pr_blocks .summary{margin-bottom:0.5em;text-align:center;font-size:14px;line-height:1.4em}@media screen and (max-width: 992px){.widget.pr_blocks{display:block}.widget.pr_blocks .prArea{display:block;margin-bottom:3em}.widget.pr_blocks .prArea:first-child{padding-left:1em}.widget.pr_blocks .prArea:last-child{padding-right:1em}}.widget_pageContent h1{margin-bottom:20px}.childPage_list{margin-top:2.5em;margin-bottom:1em}.childPage_list a:hover{text-decoration:none}.childPage_list_box{display:block;margin-bottom:1em}.childPage_list_box_inner{display:block;overflow:hidden;position:relative;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff;padding:0 20px}.childPage_list_box_inner .childPage_list_title{margin-top:20px;font-size:16px;line-height:1.4;color:#464646}.childPage_list_box_inner .wp-post-image{float:left;margin-right:1em;width:30%;border:solid 1px #ddd}.childPage_list_box_inner .childPage_list_body{overflow:hidden;color:#333;font-size:14px;margin-bottom:5px}.childPage_list_box_inner .childPage_list_body:hover{text-decoration:underline}.childPage_list_box_inner p{line-height:1.5em}.childPage_list_box_inner .childPage_list_text{overflow:hidden;margin-bottom:0}.childPage_list_box_inner .childPage_list_more{float:right;margin-bottom:20px}@media (max-width: 767px){.childPage_list_box_inner .wp-post-image{width:25%}}.sitemap-col{margin-top:2.5em}.sitemap-col .link-list{margin-top:0;margin-bottom:0}.sitemap-col .page_item{padding:0}.sitemap-col .children{margin-bottom:2em}.sitemap-col .cat-item{padding:0}.veu_cta{display:block;overflow:hidden;background-color:#efefef;margin-top:20px;margin-bottom:20px}.veu_cta h1.veu_cta_title{display:block;overflow:hidden;background-color:#333;font-size:22px;color:#fff;padding:12px 20px 10px;line-height:1.2em}.veu_cta .veu_cta_body{display:block;overflow:hidden;padding:1.5em 2em 2em;line-height:170%}.veu_cta .veu_cta_body_image{margin-bottom:1.5em}.veu_cta .veu_cta_body_image img{max-width:250px}.veu_cta .veu_cta_body_image_center{display:block;overflow:hidden;text-align:center}.veu_cta .veu_cta_body_image_center img{display:block;margin:0 auto 15px;max-width:100%}.veu_cta .veu_cta_body_txt{display:block;overflow:hidden}.veu_cta .veu_cta_body_link{clear:both;margin-top:1.5em}@media (max-width: 767px){.veu_cta .veu_cta_body_image img{display:block;margin:0 auto 1.5em;max-width:100%}}@media (min-width: 768px){.veu_cta .veu_cta_body_image_right{float:right;margin-left:30px}.veu_cta .veu_cta_body_image_left{float:left;margin-right:30px}}.veu_contact{display:block;overflow:hidden;margin-bottom:1em;padding:25px 24px 21px;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff;background-color:#f9f9f9}.veu_contact_txt_catch,.veu_contact_txt_tel,.veu_contact_txt_time{display:block;overflow:hidden}.veu_contact_txt_catch,.veu_contact_txt_time{line-height:128.6%;font-size:14px}.veu_contact_txt_tel{font-size:28px;line-height:110%;padding-top:4px}.veu_contact_bt_txt:before{font-family:FontAwesome;content:"\f003";margin-right:7px}.veu_contact_bt_txt:after{font-family:FontAwesome;content:"\f18e";margin-left:7px}.veu_contact_bt_subTxt{display:block;overflow:hidden;font-size:14px}@media (max-width: 767px){.veu_contact_txt{text-align:center}.veu_contact .veu_contact_bt{display:block}}@media (min-width: 768px){p.veu_contact_txt{margin-bottom:0}.veu_contact_txt{float:left}.veu_contact .veu_contact_bt{float:right}}.veu_insertAds{margin-top:1em;margin-bottom:1.5em}@media (max-width: 971px){.veu_insertAds{margin-bottom:0.5em}.veu_insertAds .col-md-6{margin-bottom:1em}}
|
1 |
+
.media{border-bottom:1px solid #e5e5e5;padding:2em 0;margin-top:0}.media:first-child{border-top:1px solid #e5e5e5}.media .postList_thumbnail{width:160px;margin-bottom:0.5em;padding-right:30px;display:block;overflow:hidden;float:left}.media .postList_thumbnail a{position:relative;display:block;overflow:hidden}.media .postList_thumbnail img{width:100%;height:auto}.media .postList_thumbnail .postList_cateLabel{position:absolute;bottom:0;left:0}.media .media-body .media-heading{font-size:1.8em;line-height:1.3em;margin-top:0;margin-bottom:0.5em;font-weight:normal}.media .media-body .media-heading a{color:#464646}.media .media-body .media-heading a:hover{text-decoration:none}.media .media-body p{margin-bottom:0}.media .media-body a.media-body_excerpt{color:#464646}@media (max-width: 767px){.media .postList_thumbnail{padding-right:20px}.media .media-body .media-heading{font-size:1.2em;line-height:1.3em;margin-bottom:0.5em}}@media (max-width: 500px){.media .postList_thumbnail{width:100px}}.leadTxt,p.leadTxt{font-size:2em;line-height:150%;padding:0}dl.veu_qaItem{display:block;overflow:hidden;border-bottom:1px dotted #ccc;padding:0px 0px 20px;margin:0px 0px 20px;width:100%;position:relative}dl.veu_qaItem dt,dl.veu_qaItem dd{border:none;padding-left:35px}dl.veu_qaItem dt:before,dl.veu_qaItem dd:before{position:absolute;left:0;font-size:24px;line-height:105%}dl.veu_qaItem dt{margin-bottom:15px;font-size:18px}dl.veu_qaItem dt:before{font-family:"areal";content:"Q ";color:#e50000}dl.veu_qaItem dd{margin-bottom:0px}dl.veu_qaItem dd:before{content:"A ";color:#337ab7;font-family:""}.flowBox{display:block;overflow:hidden}.flowBox:after{font-family:FontAwesome;content:"\f0d7";font-size:50px;margin:0 auto 15px;position:relative;left:48%;line-height:120%;color:#ccc}.flowBox:last-child{padding-bottom:0px;margin-bottom:30px}.flowBox:last-child:after{content:"";font-size:0}.flowBox dl{display:block;overflow:hidden;padding:20px 25px;border:3px solid #e5e5e5;margin:0}.flowBox dl dt,.flowBox dl dd{padding-left:0;border:none}.flowBox dl dt{border-bottom:1px dotted #ccc;margin-bottom:10px;font-size:1.2em}.flowBox dl dd{margin-bottom:0px}.flowBox dl dd h4{margin:0px;padding:0px}.flowBox dl dd p{margin-bottom:10px}.flowBox dl dd ul{margin-bottom:0px}.dummyImage{padding:20px;display:block;vertical-align:middle;text-align:center;background-color:#f5f5f5;border:1px solid #ccc;margin-bottom:15px}.floatLeft{float:left;margin-right:20px}.floatRight{float:right;margin-left:20px}html{font-size:inherit}.link-list li{padding:0.5em}.widget .subSection-title{font-size:18px}.autoEyeCatchBox{display:block;overflow:hidden;margin-bottom:2em}.sitemap .sectionBox{padding-top:0}.sitemap .sitemap-col{padding-bottom:2em}.fb-like-box{margin:0 auto;border:4px solid #efefef;background-color:#f9f9f9;text-align:center}.twitter-timeline iframe{margin-right:auto;margin-left:auto}.vkContentAddSection{display:block;clear:both;overflow:hidden;padding-top:20px}.socialSet ul{margin:0px;padding:0}.socialSet ul li{position:relative;display:block;float:left;overflow:visible;margin-right:10px;padding:0px;background:none}.socialSet ul li.sb_icon a{display:block;overflow:hidden;padding:3px 5px 0px;border:1px solid #ccc;border-radius:3px;background-color:#fff;color:#333;text-decoration:none;line-height:100%}.socialSet ul li.sb_icon a .sns_txt{position:relative;top:-2px;font-size:11px}.socialSet ul li iframe{border:none}.socialSet ul li a .icon_sns{margin-right:5px;font-size:100%}.socialSet ul li.sb_icon.sb_facebook .icon_sns{color:#425dab}.socialSet ul li.sb_icon.sb_hatena .icon_sns{color:#2c6ebd}.socialSet ul li.sb_icon.sb_twitter .icon_sns{color:#00abec}.socialSet ul li.sb_icon.sb_google .icon_sns{color:#dd4b39}.socialSet ul li.sb_icon.sb_line .icon_sns{color:#6ebd30}.socialSet ul li.sb_pocket{margin-left:5px}.relatedPosts h2{margin-bottom:10px}.followSet{display:block;overflow:hidden;margin-top:20px;padding:15px;border:1px solid #f5f5f5;background-color:#efefef}.followSet h3.followSet_title{padding:6px 10px 4px;border:none;background-color:#333;color:#fff;font-size:18px}.followSet h3.followSet_title:after{border:none}.follow_btn{float:left;margin-right:20px}@font-face{font-weight:normal;font-style:normal;font-family:'vk_sns';src:url("../plugins/sns/icons/fonts/vk_sns.eot?-bq20cj");src:url("../plugins/sns/icons/fonts/vk_sns.eot?#iefix-bq20cj") format("embedded-opentype"),url("../plugins/sns/icons/fonts/vk_sns.woff?-bq20cj") format("woff"),url("../plugins/sns/icons/fonts/vk_sns.ttf?-bq20cj") format("truetype"),url("../plugins/sns/icons/fonts/vk_sns.svg?-bq20cj#vk_sns") format("svg")}[class^="vk_icon_w_r_sns_"],[class*=" vk_icon_w_r_sns_"]{text-transform:none;font-weight:normal;font-style:normal;font-variant:normal;font-family:'vk_sns';line-height:1;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vk_icon_w_r_sns_twitter:before{content:"\e600"}.vk_icon_w_r_sns_line:before{content:"\e601"}.vk_icon_w_r_sns_hatena:before{content:"\e602"}.vk_icon_w_r_sns_google:before{content:"\e603"}.vk_icon_w_r_sns_fb:before{content:"\e604"}.vkExUnit_entry-meta_items.published:before{font-family:FontAwesome;content:"\f073";margin-right:5px}.site-profile{overflow:hidden}.profile_media{display:block;margin:0.8em auto;max-width:100%}.media_round{border-radius:50%}.media_left .profile_media{margin-left:0}.media_float{float:left;padding-right:10px}.media_float .profile_media{margin:0.8em 0 0}.media_float+.profile_text{padding-top:0.8em}.profile_text{margin-bottom:0.5em;font-size:14px}.sns_btns{margin:0;padding:0;width:100%}.sns_btns li{float:left;margin-right:0.45em;list-style:none;text-align:center}.sns_btns a{display:block;display:table;width:45px;height:45px;border-radius:23px;color:#fff;text-decoration:none;font-size:20px}.sns_btns a:hover{color:#fff;text-decoration:none;opacity:0.8}.sns_btns .fa{display:table-cell;vertical-align:middle;text-align:center}.sns_btns .facebook_btn a{background:#3b5998}.sns_btns .twitter_btn a{background:#55acee}.sns_btns .mail_btn a{background:#2F915F}.sns_btns .youtube_btn a{background:#C81D1C}.sns_btns .rss_btn a{background:#f26522}.sns_btns .instagram_btn a{background:#3f729b}.sns_btns .linkedin_btn a{background:#0077b5}.prBox .subSection-title{font-size:18px}.prBox .media_pr{margin-top:0.8em;margin-bottom:0.8em}.prBox .media_pc{display:block}.prBox .media_sp{display:none}.prBox .summary{margin-bottom:0.5em;font-size:14px;line-height:1.4em}.prBox .linkurl a{text-decoration:none}@media screen and (max-width: 992px){.prBox .media_pc{display:none}.prBox .media_sp{display:block}.prBox .linkurl{margin-bottom:1.5em}}.widget.pr_blocks{display:table;width:100%;table-layout:fixed}.widget.pr_blocks .prArea{display:table-cell;padding:0 1em}.widget.pr_blocks .prArea:first-child{padding-left:0}.widget.pr_blocks .prArea:last-child{padding-right:0}.widget.pr_blocks a{color:#333}.widget.pr_blocks a:hover{color:#333;text-decoration:none}.widget.pr_blocks a .summary:hover{text-decoration:underline}.widget.pr_blocks .circle_icon{display:table;margin:0 auto;width:80px;height:80px;border-radius:50%}.widget.pr_blocks .circle_icon .font_icon{display:table-cell;color:#fff;vertical-align:middle;text-align:center;font-size:40px}.widget.pr_blocks .prBox_title{margin-top:1.5em;margin-bottom:1em;text-align:center;font-size:18px}.widget.pr_blocks .media_pr{display:table;margin:0 auto}.widget.pr_blocks .pr_image{display:table-cell;overflow:hidden;width:120px;height:120px;border-radius:50%;vertical-align:middle;text-align:center}.widget.pr_blocks .summary{margin-bottom:0.5em;text-align:center;font-size:14px;line-height:1.4em}@media screen and (max-width: 767px){.widget.pr_blocks{display:block}.widget.pr_blocks .prArea{display:block;margin-bottom:3em}.widget.pr_blocks .prArea:first-child{padding-left:1em}.widget.pr_blocks .prArea:last-child{padding-right:1em}}.widget_pageContent h1{margin-bottom:20px}.childPage_list{margin-top:2.5em;margin-bottom:1em}.childPage_list a:hover{text-decoration:none}.childPage_list_box{display:block;margin-bottom:1em}.childPage_list_box_inner{display:block;overflow:hidden;position:relative;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff;padding:0 20px}.childPage_list_box_inner .childPage_list_title{margin-top:20px;font-size:16px;line-height:1.4;color:#464646}.childPage_list_box_inner .wp-post-image{float:left;margin-right:1em;width:30%;border:solid 1px #ddd}.childPage_list_box_inner .childPage_list_body{overflow:hidden;color:#333;font-size:14px;margin-bottom:5px}.childPage_list_box_inner .childPage_list_body:hover{text-decoration:underline}.childPage_list_box_inner p{line-height:1.5em}.childPage_list_box_inner .childPage_list_text{overflow:hidden;margin-bottom:0}.childPage_list_box_inner .childPage_list_more{float:right;margin-bottom:20px}@media (max-width: 767px){.childPage_list_box_inner .wp-post-image{width:25%}}.sitemap-col{margin-top:2.5em}.sitemap-col .link-list{margin-top:0;margin-bottom:0}.sitemap-col .page_item{padding:0}.sitemap-col .children{margin-bottom:2em}.sitemap-col .cat-item{padding:0}.veu_cta{display:block;overflow:hidden;background-color:#efefef;margin-top:20px;margin-bottom:20px}.veu_cta h1.veu_cta_title{display:block;overflow:hidden;background-color:#333;font-size:22px;color:#fff;padding:12px 20px 10px;line-height:1.2em}.veu_cta .veu_cta_body{display:block;overflow:hidden;padding:1.5em 2em 2em;line-height:170%}.veu_cta .veu_cta_body_image{margin-bottom:1.5em}.veu_cta .veu_cta_body_image img{max-width:250px}.veu_cta .veu_cta_body_image_center{display:block;overflow:hidden;text-align:center}.veu_cta .veu_cta_body_image_center img{display:block;margin:0 auto 15px;max-width:100%}.veu_cta .veu_cta_body_txt{display:block;overflow:hidden}.veu_cta .veu_cta_body_link{clear:both;margin-top:1.5em}@media (max-width: 767px){.veu_cta .veu_cta_body_image img{display:block;margin:0 auto 1.5em;max-width:100%}}@media (min-width: 768px){.veu_cta .veu_cta_body_image_right{float:right;margin-left:30px}.veu_cta .veu_cta_body_image_left{float:left;margin-right:30px}}.veu_contact{display:block;overflow:hidden;margin-bottom:1em;padding:25px 24px 21px;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff;background-color:#f9f9f9}.veu_contact_txt_catch,.veu_contact_txt_tel,.veu_contact_txt_time{display:block;overflow:hidden}.veu_contact_txt_catch,.veu_contact_txt_time{line-height:128.6%;font-size:14px}.veu_contact_txt_tel{font-size:28px;line-height:110%;padding-top:4px}.veu_contact_bt_txt:before{font-family:FontAwesome;content:"\f003";margin-right:7px}.veu_contact_bt_txt:after{font-family:FontAwesome;content:"\f18e";margin-left:7px}.veu_contact_bt_subTxt{display:block;overflow:hidden;font-size:14px}@media (max-width: 767px){.veu_contact_txt{text-align:center}.veu_contact .veu_contact_bt{display:block}}@media (min-width: 768px){p.veu_contact_txt{margin-bottom:0}.veu_contact_txt{float:left}.veu_contact .veu_contact_bt{float:right}}.veu_insertAds{margin-top:1em;margin-bottom:1.5em}@media (max-width: 971px){.veu_insertAds{margin-bottom:0.5em}.veu_insertAds .col-md-6{margin-bottom:1em}}
|
css/style_in_bs.css
CHANGED
@@ -9,4 +9,4 @@
|
|
9 |
* Bootstrap v3.3.5 (http://getbootstrap.com)
|
10 |
* Copyright 2011-2015 Twitter, Inc.
|
11 |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
12 |
-
*//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:hover,a:focus{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role="button"]{cursor:pointer}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width: 768px){.container{width:750px}}@media (min-width: 992px){.container{width:970px}}@media (min-width: 1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width: 768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width: 992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width: 1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn.active.focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#333;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:focus,.btn-default.focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active:hover,.btn-default.active:hover,.open>.dropdown-toggle.btn-default:hover,.btn-default:active:focus,.btn-default.active:focus,.open>.dropdown-toggle.btn-default:focus,.btn-default:active.focus,.btn-default.active.focus,.open>.dropdown-toggle.btn-default.focus{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled.focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default.focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary:focus,.btn-primary.focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus,.btn-primary:active.focus,.btn-primary.active.focus,.open>.dropdown-toggle.btn-primary.focus{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled.focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary.focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:focus,.btn-success.focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active:hover,.btn-success.active:hover,.open>.dropdown-toggle.btn-success:hover,.btn-success:active:focus,.btn-success.active:focus,.open>.dropdown-toggle.btn-success:focus,.btn-success:active.focus,.btn-success.active.focus,.open>.dropdown-toggle.btn-success.focus{color:#fff;background-color:#398439;border-color:#255625}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled.focus,.btn-success[disabled].focus,fieldset[disabled] .btn-success.focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:focus,.btn-info.focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active:hover,.btn-info.active:hover,.open>.dropdown-toggle.btn-info:hover,.btn-info:active:focus,.btn-info.active:focus,.open>.dropdown-toggle.btn-info:focus,.btn-info:active.focus,.btn-info.active.focus,.open>.dropdown-toggle.btn-info.focus{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled.focus,.btn-info[disabled].focus,fieldset[disabled] .btn-info.focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:focus,.btn-warning.focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active:hover,.btn-warning.active:hover,.open>.dropdown-toggle.btn-warning:hover,.btn-warning:active:focus,.btn-warning.active:focus,.open>.dropdown-toggle.btn-warning:focus,.btn-warning:active.focus,.btn-warning.active.focus,.open>.dropdown-toggle.btn-warning.focus{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled.focus,.btn-warning[disabled].focus,fieldset[disabled] .btn-warning.focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:focus,.btn-danger.focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active:hover,.btn-danger.active:hover,.open>.dropdown-toggle.btn-danger:hover,.btn-danger:active:focus,.btn-danger.active:focus,.open>.dropdown-toggle.btn-danger:focus,.btn-danger:active.focus,.btn-danger.active.focus,.open>.dropdown-toggle.btn-danger.focus{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled.focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger.focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#337ab7;font-weight:normal;border-radius:0}.btn-link,.btn-link:active,.btn-link.active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#777;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-left,.media-right,.media-body{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important}.affix{position:fixed}.media{border-bottom:1px solid #e5e5e5;padding:2em 0;margin-top:0}.media:first-child{border-top:1px solid #e5e5e5}.media .postList_thumbnail{width:160px;margin-bottom:0.5em;padding-right:30px;display:block;overflow:hidden;float:left}.media .postList_thumbnail a{position:relative;display:block;overflow:hidden}.media .postList_thumbnail img{width:100%;height:auto}.media .postList_thumbnail .postList_cateLabel{position:absolute;bottom:0;left:0}.media .media-body .media-heading{font-size:1.8em;line-height:1.3em;margin-top:0;margin-bottom:0.5em;font-weight:normal}.media .media-body .media-heading a{color:#464646}.media .media-body .media-heading a:hover{text-decoration:none}.media .media-body p{margin-bottom:0}.media .media-body a.media-body_excerpt{color:#464646}@media (max-width: 767px){.media .postList_thumbnail{padding-right:20px}.media .media-body .media-heading{font-size:1.2em;line-height:1.3em;margin-bottom:0.5em}}@media (max-width: 500px){.media .postList_thumbnail{width:100px}}.leadTxt,p.leadTxt{font-size:2em;line-height:150%;padding:0}dl.veu_qaItem{display:block;overflow:hidden;border-bottom:1px dotted #ccc;padding:0px 0px 20px;margin:0px 0px 20px;width:100%;position:relative}dl.veu_qaItem dt,dl.veu_qaItem dd{border:none;padding-left:35px}dl.veu_qaItem dt:before,dl.veu_qaItem dd:before{position:absolute;left:0;font-size:24px;line-height:105%}dl.veu_qaItem dt{margin-bottom:15px;font-size:18px}dl.veu_qaItem dt:before{font-family:"areal";content:"Q ";color:#e50000}dl.veu_qaItem dd{margin-bottom:0px}dl.veu_qaItem dd:before{content:"A ";color:#337ab7;font-family:""}.flowBox{display:block;overflow:hidden}.flowBox:after{font-family:FontAwesome;content:"\f0d7";font-size:50px;margin:0 auto 15px;position:relative;left:48%;line-height:120%;color:#ccc}.flowBox:last-child{padding-bottom:0px;margin-bottom:30px}.flowBox:last-child:after{content:"";font-size:0}.flowBox dl{display:block;overflow:hidden;padding:20px 25px;border:3px solid #e5e5e5;margin:0}.flowBox dl dt,.flowBox dl dd{padding-left:0;border:none}.flowBox dl dt{border-bottom:1px dotted #ccc;margin-bottom:10px;font-size:1.2em}.flowBox dl dd{margin-bottom:0px}.flowBox dl dd h4{margin:0px;padding:0px}.flowBox dl dd p{margin-bottom:10px}.flowBox dl dd ul{margin-bottom:0px}.dummyImage{padding:20px;display:block;vertical-align:middle;text-align:center;background-color:#f5f5f5;border:1px solid #ccc;margin-bottom:15px}.floatLeft{float:left;margin-right:20px}.floatRight{float:right;margin-left:20px}html{font-size:inherit}.link-list li{padding:0.5em}.widget .subSection-title{font-size:18px}.autoEyeCatchBox{display:block;overflow:hidden;margin-bottom:2em}.sitemap .sectionBox{padding-top:0}.sitemap .sitemap-col{padding-bottom:2em}.fb-like-box{margin:0 auto;border:4px solid #efefef;background-color:#f9f9f9;text-align:center}.twitter-timeline iframe{margin-right:auto;margin-left:auto}.vkContentAddSection{display:block;clear:both;overflow:hidden;padding-top:20px}.socialSet ul{margin:0px;padding:0}.socialSet ul li{position:relative;display:block;float:left;overflow:visible;margin-right:10px;padding:0px;background:none}.socialSet ul li.sb_icon a{display:block;overflow:hidden;padding:3px 5px 0px;border:1px solid #ccc;border-radius:3px;background-color:#fff;color:#333;text-decoration:none;line-height:100%}.socialSet ul li.sb_icon a .sns_txt{position:relative;top:-2px;font-size:11px}.socialSet ul li iframe{border:none}.socialSet ul li a .icon_sns{margin-right:5px;font-size:100%}.socialSet ul li.sb_icon.sb_facebook .icon_sns{color:#425dab}.socialSet ul li.sb_icon.sb_hatena .icon_sns{color:#2c6ebd}.socialSet ul li.sb_icon.sb_twitter .icon_sns{color:#00abec}.socialSet ul li.sb_icon.sb_google .icon_sns{color:#dd4b39}.socialSet ul li.sb_icon.sb_line .icon_sns{color:#6ebd30}.socialSet ul li.sb_pocket{margin-left:5px}.relatedPosts h2{margin-bottom:10px}.followSet{display:block;overflow:hidden;margin-top:20px;padding:15px;border:1px solid #f5f5f5;background-color:#efefef}.followSet h3.followSet_title{padding:6px 10px 4px;border:none;background-color:#333;color:#fff;font-size:18px}.followSet h3.followSet_title:after{border:none}.follow_btn{float:left;margin-right:20px}@font-face{font-weight:normal;font-style:normal;font-family:'vk_sns';src:url("../plugins/sns/icons/fonts/vk_sns.eot?-bq20cj");src:url("../plugins/sns/icons/fonts/vk_sns.eot?#iefix-bq20cj") format("embedded-opentype"),url("../plugins/sns/icons/fonts/vk_sns.woff?-bq20cj") format("woff"),url("../plugins/sns/icons/fonts/vk_sns.ttf?-bq20cj") format("truetype"),url("../plugins/sns/icons/fonts/vk_sns.svg?-bq20cj#vk_sns") format("svg")}[class^="vk_icon_w_r_sns_"],[class*=" vk_icon_w_r_sns_"]{text-transform:none;font-weight:normal;font-style:normal;font-variant:normal;font-family:'vk_sns';line-height:1;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vk_icon_w_r_sns_twitter:before{content:"\e600"}.vk_icon_w_r_sns_line:before{content:"\e601"}.vk_icon_w_r_sns_hatena:before{content:"\e602"}.vk_icon_w_r_sns_google:before{content:"\e603"}.vk_icon_w_r_sns_fb:before{content:"\e604"}.vkExUnit_entry-meta_items.published:before{font-family:FontAwesome;content:"\f073";margin-right:5px}.site-profile{overflow:hidden}.profile_media{display:block;margin:0.8em auto;max-width:100%}.media_round{border-radius:50%}.media_left .profile_media{margin-left:0}.media_float{float:left;padding-right:10px}.media_float .profile_media{margin:0.8em 0 0}.media_float+.profile_text{padding-top:0.8em}.profile_text{margin-bottom:0.5em;font-size:14px}.sns_btns{margin:0;padding:0;width:100%}.sns_btns li{float:left;margin-right:0.45em;list-style:none;text-align:center}.sns_btns a{display:block;display:table;width:45px;height:45px;border-radius:23px;color:#fff;text-decoration:none;font-size:20px}.sns_btns a:hover{color:#fff;text-decoration:none;opacity:0.8}.sns_btns .fa{display:table-cell;vertical-align:middle;text-align:center}.sns_btns .facebook_btn a{background:#3b5998}.sns_btns .twitter_btn a{background:#55acee}.sns_btns .mail_btn a{background:#2F915F}.sns_btns .youtube_btn a{background:#C81D1C}.sns_btns .rss_btn a{background:#f26522}.sns_btns .instagram_btn a{background:#3f729b}.sns_btns .linkedin_btn a{background:#0077b5}.prBox .subSection-title{font-size:18px}.prBox .media_pr{margin-top:0.8em;margin-bottom:0.8em}.prBox .media_pc{display:block}.prBox .media_sp{display:none}.prBox .summary{margin-bottom:0.5em;font-size:14px;line-height:1.4em}.prBox .linkurl a{text-decoration:none}@media screen and (max-width: 992px){.prBox .media_pc{display:none}.prBox .media_sp{display:block}.prBox .linkurl{margin-bottom:1.5em}}.widget.pr_blocks{display:table;width:100%;table-layout:fixed}.widget.pr_blocks .prArea{display:table-cell;padding:0 1em}.widget.pr_blocks .prArea:first-child{padding-left:0}.widget.pr_blocks .prArea:last-child{padding-right:0}.widget.pr_blocks a{color:#333}.widget.pr_blocks a:hover{color:#333;text-decoration:none}.widget.pr_blocks a .summary:hover{text-decoration:underline}.widget.pr_blocks .circle_icon{display:table;margin:0 auto;width:80px;height:80px;border-radius:50%}.widget.pr_blocks .circle_icon .font_icon{display:table-cell;color:#fff;vertical-align:middle;text-align:center;font-size:40px}.widget.pr_blocks .prBox_title{margin-top:1.5em;margin-bottom:1em;text-align:center;font-size:18px}.widget.pr_blocks .media_pr{display:table;margin:0 auto}.widget.pr_blocks .pr_image{display:table-cell;overflow:hidden;width:120px;height:120px;border-radius:50%;vertical-align:middle;text-align:center}.widget.pr_blocks .summary{margin-bottom:0.5em;text-align:center;font-size:14px;line-height:1.4em}@media screen and (max-width: 992px){.widget.pr_blocks{display:block}.widget.pr_blocks .prArea{display:block;margin-bottom:3em}.widget.pr_blocks .prArea:first-child{padding-left:1em}.widget.pr_blocks .prArea:last-child{padding-right:1em}}.widget_pageContent h1{margin-bottom:20px}.childPage_list{margin-top:2.5em;margin-bottom:1em}.childPage_list a:hover{text-decoration:none}.childPage_list_box{display:block;margin-bottom:1em}.childPage_list_box_inner{display:block;overflow:hidden;position:relative;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff;padding:0 20px}.childPage_list_box_inner .childPage_list_title{margin-top:20px;font-size:16px;line-height:1.4;color:#464646}.childPage_list_box_inner .wp-post-image{float:left;margin-right:1em;width:30%;border:solid 1px #ddd}.childPage_list_box_inner .childPage_list_body{overflow:hidden;color:#333;font-size:14px;margin-bottom:5px}.childPage_list_box_inner .childPage_list_body:hover{text-decoration:underline}.childPage_list_box_inner p{line-height:1.5em}.childPage_list_box_inner .childPage_list_text{overflow:hidden;margin-bottom:0}.childPage_list_box_inner .childPage_list_more{float:right;margin-bottom:20px}@media (max-width: 767px){.childPage_list_box_inner .wp-post-image{width:25%}}.sitemap-col{margin-top:2.5em}.sitemap-col .link-list{margin-top:0;margin-bottom:0}.sitemap-col .page_item{padding:0}.sitemap-col .children{margin-bottom:2em}.sitemap-col .cat-item{padding:0}.veu_cta{display:block;overflow:hidden;background-color:#efefef;margin-top:20px;margin-bottom:20px}.veu_cta h1.veu_cta_title{display:block;overflow:hidden;background-color:#333;font-size:22px;color:#fff;padding:12px 20px 10px;line-height:1.2em}.veu_cta .veu_cta_body{display:block;overflow:hidden;padding:1.5em 2em 2em;line-height:170%}.veu_cta .veu_cta_body_image{margin-bottom:1.5em}.veu_cta .veu_cta_body_image img{max-width:250px}.veu_cta .veu_cta_body_image_center{display:block;overflow:hidden;text-align:center}.veu_cta .veu_cta_body_image_center img{display:block;margin:0 auto 15px;max-width:100%}.veu_cta .veu_cta_body_txt{display:block;overflow:hidden}.veu_cta .veu_cta_body_link{clear:both;margin-top:1.5em}@media (max-width: 767px){.veu_cta .veu_cta_body_image img{display:block;margin:0 auto 1.5em;max-width:100%}}@media (min-width: 768px){.veu_cta .veu_cta_body_image_right{float:right;margin-left:30px}.veu_cta .veu_cta_body_image_left{float:left;margin-right:30px}}.veu_contact{display:block;overflow:hidden;margin-bottom:1em;padding:25px 24px 21px;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff;background-color:#f9f9f9}.veu_contact_txt_catch,.veu_contact_txt_tel,.veu_contact_txt_time{display:block;overflow:hidden}.veu_contact_txt_catch,.veu_contact_txt_time{line-height:128.6%;font-size:14px}.veu_contact_txt_tel{font-size:28px;line-height:110%;padding-top:4px}.veu_contact_bt_txt:before{font-family:FontAwesome;content:"\f003";margin-right:7px}.veu_contact_bt_txt:after{font-family:FontAwesome;content:"\f18e";margin-left:7px}.veu_contact_bt_subTxt{display:block;overflow:hidden;font-size:14px}@media (max-width: 767px){.veu_contact_txt{text-align:center}.veu_contact .veu_contact_bt{display:block}}@media (min-width: 768px){p.veu_contact_txt{margin-bottom:0}.veu_contact_txt{float:left}.veu_contact .veu_contact_bt{float:right}}.veu_insertAds{margin-top:1em;margin-bottom:1.5em}@media (max-width: 971px){.veu_insertAds{margin-bottom:0.5em}.veu_insertAds .col-md-6{margin-bottom:1em}}
|
9 |
* Bootstrap v3.3.5 (http://getbootstrap.com)
|
10 |
* Copyright 2011-2015 Twitter, Inc.
|
11 |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
12 |
+
*//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:hover,a:focus{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role="button"]{cursor:pointer}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width: 768px){.container{width:750px}}@media (min-width: 992px){.container{width:970px}}@media (min-width: 1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width: 768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width: 992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width: 1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.btn{display:inline-block;margin-bottom:0;font-weight:normal;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn.active.focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus,.btn.focus{color:#333;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:focus,.btn-default.focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active:hover,.btn-default.active:hover,.open>.dropdown-toggle.btn-default:hover,.btn-default:active:focus,.btn-default.active:focus,.open>.dropdown-toggle.btn-default:focus,.btn-default:active.focus,.btn-default.active.focus,.open>.dropdown-toggle.btn-default.focus{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default:active,.btn-default.active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled.focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default.focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary:focus,.btn-primary.focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus,.btn-primary:active.focus,.btn-primary.active.focus,.open>.dropdown-toggle.btn-primary.focus{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled.focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary.focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:focus,.btn-success.focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active:hover,.btn-success.active:hover,.open>.dropdown-toggle.btn-success:hover,.btn-success:active:focus,.btn-success.active:focus,.open>.dropdown-toggle.btn-success:focus,.btn-success:active.focus,.btn-success.active.focus,.open>.dropdown-toggle.btn-success.focus{color:#fff;background-color:#398439;border-color:#255625}.btn-success:active,.btn-success.active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled.focus,.btn-success[disabled].focus,fieldset[disabled] .btn-success.focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:focus,.btn-info.focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active:hover,.btn-info.active:hover,.open>.dropdown-toggle.btn-info:hover,.btn-info:active:focus,.btn-info.active:focus,.open>.dropdown-toggle.btn-info:focus,.btn-info:active.focus,.btn-info.active.focus,.open>.dropdown-toggle.btn-info.focus{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info:active,.btn-info.active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled.focus,.btn-info[disabled].focus,fieldset[disabled] .btn-info.focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:focus,.btn-warning.focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active:hover,.btn-warning.active:hover,.open>.dropdown-toggle.btn-warning:hover,.btn-warning:active:focus,.btn-warning.active:focus,.open>.dropdown-toggle.btn-warning:focus,.btn-warning:active.focus,.btn-warning.active.focus,.open>.dropdown-toggle.btn-warning.focus{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning:active,.btn-warning.active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled.focus,.btn-warning[disabled].focus,fieldset[disabled] .btn-warning.focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:focus,.btn-danger.focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active:hover,.btn-danger.active:hover,.open>.dropdown-toggle.btn-danger:hover,.btn-danger:active:focus,.btn-danger.active:focus,.open>.dropdown-toggle.btn-danger:focus,.btn-danger:active.focus,.btn-danger.active.focus,.open>.dropdown-toggle.btn-danger.focus{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger:active,.btn-danger.active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled.focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger.focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#337ab7;font-weight:normal;border-radius:0}.btn-link,.btn-link:active,.btn-link.active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#777;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-left,.media-right,.media-body{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none !important}.affix{position:fixed}.media{border-bottom:1px solid #e5e5e5;padding:2em 0;margin-top:0}.media:first-child{border-top:1px solid #e5e5e5}.media .postList_thumbnail{width:160px;margin-bottom:0.5em;padding-right:30px;display:block;overflow:hidden;float:left}.media .postList_thumbnail a{position:relative;display:block;overflow:hidden}.media .postList_thumbnail img{width:100%;height:auto}.media .postList_thumbnail .postList_cateLabel{position:absolute;bottom:0;left:0}.media .media-body .media-heading{font-size:1.8em;line-height:1.3em;margin-top:0;margin-bottom:0.5em;font-weight:normal}.media .media-body .media-heading a{color:#464646}.media .media-body .media-heading a:hover{text-decoration:none}.media .media-body p{margin-bottom:0}.media .media-body a.media-body_excerpt{color:#464646}@media (max-width: 767px){.media .postList_thumbnail{padding-right:20px}.media .media-body .media-heading{font-size:1.2em;line-height:1.3em;margin-bottom:0.5em}}@media (max-width: 500px){.media .postList_thumbnail{width:100px}}.leadTxt,p.leadTxt{font-size:2em;line-height:150%;padding:0}dl.veu_qaItem{display:block;overflow:hidden;border-bottom:1px dotted #ccc;padding:0px 0px 20px;margin:0px 0px 20px;width:100%;position:relative}dl.veu_qaItem dt,dl.veu_qaItem dd{border:none;padding-left:35px}dl.veu_qaItem dt:before,dl.veu_qaItem dd:before{position:absolute;left:0;font-size:24px;line-height:105%}dl.veu_qaItem dt{margin-bottom:15px;font-size:18px}dl.veu_qaItem dt:before{font-family:"areal";content:"Q ";color:#e50000}dl.veu_qaItem dd{margin-bottom:0px}dl.veu_qaItem dd:before{content:"A ";color:#337ab7;font-family:""}.flowBox{display:block;overflow:hidden}.flowBox:after{font-family:FontAwesome;content:"\f0d7";font-size:50px;margin:0 auto 15px;position:relative;left:48%;line-height:120%;color:#ccc}.flowBox:last-child{padding-bottom:0px;margin-bottom:30px}.flowBox:last-child:after{content:"";font-size:0}.flowBox dl{display:block;overflow:hidden;padding:20px 25px;border:3px solid #e5e5e5;margin:0}.flowBox dl dt,.flowBox dl dd{padding-left:0;border:none}.flowBox dl dt{border-bottom:1px dotted #ccc;margin-bottom:10px;font-size:1.2em}.flowBox dl dd{margin-bottom:0px}.flowBox dl dd h4{margin:0px;padding:0px}.flowBox dl dd p{margin-bottom:10px}.flowBox dl dd ul{margin-bottom:0px}.dummyImage{padding:20px;display:block;vertical-align:middle;text-align:center;background-color:#f5f5f5;border:1px solid #ccc;margin-bottom:15px}.floatLeft{float:left;margin-right:20px}.floatRight{float:right;margin-left:20px}html{font-size:inherit}.link-list li{padding:0.5em}.widget .subSection-title{font-size:18px}.autoEyeCatchBox{display:block;overflow:hidden;margin-bottom:2em}.sitemap .sectionBox{padding-top:0}.sitemap .sitemap-col{padding-bottom:2em}.fb-like-box{margin:0 auto;border:4px solid #efefef;background-color:#f9f9f9;text-align:center}.twitter-timeline iframe{margin-right:auto;margin-left:auto}.vkContentAddSection{display:block;clear:both;overflow:hidden;padding-top:20px}.socialSet ul{margin:0px;padding:0}.socialSet ul li{position:relative;display:block;float:left;overflow:visible;margin-right:10px;padding:0px;background:none}.socialSet ul li.sb_icon a{display:block;overflow:hidden;padding:3px 5px 0px;border:1px solid #ccc;border-radius:3px;background-color:#fff;color:#333;text-decoration:none;line-height:100%}.socialSet ul li.sb_icon a .sns_txt{position:relative;top:-2px;font-size:11px}.socialSet ul li iframe{border:none}.socialSet ul li a .icon_sns{margin-right:5px;font-size:100%}.socialSet ul li.sb_icon.sb_facebook .icon_sns{color:#425dab}.socialSet ul li.sb_icon.sb_hatena .icon_sns{color:#2c6ebd}.socialSet ul li.sb_icon.sb_twitter .icon_sns{color:#00abec}.socialSet ul li.sb_icon.sb_google .icon_sns{color:#dd4b39}.socialSet ul li.sb_icon.sb_line .icon_sns{color:#6ebd30}.socialSet ul li.sb_pocket{margin-left:5px}.relatedPosts h2{margin-bottom:10px}.followSet{display:block;overflow:hidden;margin-top:20px;padding:15px;border:1px solid #f5f5f5;background-color:#efefef}.followSet h3.followSet_title{padding:6px 10px 4px;border:none;background-color:#333;color:#fff;font-size:18px}.followSet h3.followSet_title:after{border:none}.follow_btn{float:left;margin-right:20px}@font-face{font-weight:normal;font-style:normal;font-family:'vk_sns';src:url("../plugins/sns/icons/fonts/vk_sns.eot?-bq20cj");src:url("../plugins/sns/icons/fonts/vk_sns.eot?#iefix-bq20cj") format("embedded-opentype"),url("../plugins/sns/icons/fonts/vk_sns.woff?-bq20cj") format("woff"),url("../plugins/sns/icons/fonts/vk_sns.ttf?-bq20cj") format("truetype"),url("../plugins/sns/icons/fonts/vk_sns.svg?-bq20cj#vk_sns") format("svg")}[class^="vk_icon_w_r_sns_"],[class*=" vk_icon_w_r_sns_"]{text-transform:none;font-weight:normal;font-style:normal;font-variant:normal;font-family:'vk_sns';line-height:1;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vk_icon_w_r_sns_twitter:before{content:"\e600"}.vk_icon_w_r_sns_line:before{content:"\e601"}.vk_icon_w_r_sns_hatena:before{content:"\e602"}.vk_icon_w_r_sns_google:before{content:"\e603"}.vk_icon_w_r_sns_fb:before{content:"\e604"}.vkExUnit_entry-meta_items.published:before{font-family:FontAwesome;content:"\f073";margin-right:5px}.site-profile{overflow:hidden}.profile_media{display:block;margin:0.8em auto;max-width:100%}.media_round{border-radius:50%}.media_left .profile_media{margin-left:0}.media_float{float:left;padding-right:10px}.media_float .profile_media{margin:0.8em 0 0}.media_float+.profile_text{padding-top:0.8em}.profile_text{margin-bottom:0.5em;font-size:14px}.sns_btns{margin:0;padding:0;width:100%}.sns_btns li{float:left;margin-right:0.45em;list-style:none;text-align:center}.sns_btns a{display:block;display:table;width:45px;height:45px;border-radius:23px;color:#fff;text-decoration:none;font-size:20px}.sns_btns a:hover{color:#fff;text-decoration:none;opacity:0.8}.sns_btns .fa{display:table-cell;vertical-align:middle;text-align:center}.sns_btns .facebook_btn a{background:#3b5998}.sns_btns .twitter_btn a{background:#55acee}.sns_btns .mail_btn a{background:#2F915F}.sns_btns .youtube_btn a{background:#C81D1C}.sns_btns .rss_btn a{background:#f26522}.sns_btns .instagram_btn a{background:#3f729b}.sns_btns .linkedin_btn a{background:#0077b5}.prBox .subSection-title{font-size:18px}.prBox .media_pr{margin-top:0.8em;margin-bottom:0.8em}.prBox .media_pc{display:block}.prBox .media_sp{display:none}.prBox .summary{margin-bottom:0.5em;font-size:14px;line-height:1.4em}.prBox .linkurl a{text-decoration:none}@media screen and (max-width: 992px){.prBox .media_pc{display:none}.prBox .media_sp{display:block}.prBox .linkurl{margin-bottom:1.5em}}.widget.pr_blocks{display:table;width:100%;table-layout:fixed}.widget.pr_blocks .prArea{display:table-cell;padding:0 1em}.widget.pr_blocks .prArea:first-child{padding-left:0}.widget.pr_blocks .prArea:last-child{padding-right:0}.widget.pr_blocks a{color:#333}.widget.pr_blocks a:hover{color:#333;text-decoration:none}.widget.pr_blocks a .summary:hover{text-decoration:underline}.widget.pr_blocks .circle_icon{display:table;margin:0 auto;width:80px;height:80px;border-radius:50%}.widget.pr_blocks .circle_icon .font_icon{display:table-cell;color:#fff;vertical-align:middle;text-align:center;font-size:40px}.widget.pr_blocks .prBox_title{margin-top:1.5em;margin-bottom:1em;text-align:center;font-size:18px}.widget.pr_blocks .media_pr{display:table;margin:0 auto}.widget.pr_blocks .pr_image{display:table-cell;overflow:hidden;width:120px;height:120px;border-radius:50%;vertical-align:middle;text-align:center}.widget.pr_blocks .summary{margin-bottom:0.5em;text-align:center;font-size:14px;line-height:1.4em}@media screen and (max-width: 767px){.widget.pr_blocks{display:block}.widget.pr_blocks .prArea{display:block;margin-bottom:3em}.widget.pr_blocks .prArea:first-child{padding-left:1em}.widget.pr_blocks .prArea:last-child{padding-right:1em}}.widget_pageContent h1{margin-bottom:20px}.childPage_list{margin-top:2.5em;margin-bottom:1em}.childPage_list a:hover{text-decoration:none}.childPage_list_box{display:block;margin-bottom:1em}.childPage_list_box_inner{display:block;overflow:hidden;position:relative;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff;padding:0 20px}.childPage_list_box_inner .childPage_list_title{margin-top:20px;font-size:16px;line-height:1.4;color:#464646}.childPage_list_box_inner .wp-post-image{float:left;margin-right:1em;width:30%;border:solid 1px #ddd}.childPage_list_box_inner .childPage_list_body{overflow:hidden;color:#333;font-size:14px;margin-bottom:5px}.childPage_list_box_inner .childPage_list_body:hover{text-decoration:underline}.childPage_list_box_inner p{line-height:1.5em}.childPage_list_box_inner .childPage_list_text{overflow:hidden;margin-bottom:0}.childPage_list_box_inner .childPage_list_more{float:right;margin-bottom:20px}@media (max-width: 767px){.childPage_list_box_inner .wp-post-image{width:25%}}.sitemap-col{margin-top:2.5em}.sitemap-col .link-list{margin-top:0;margin-bottom:0}.sitemap-col .page_item{padding:0}.sitemap-col .children{margin-bottom:2em}.sitemap-col .cat-item{padding:0}.veu_cta{display:block;overflow:hidden;background-color:#efefef;margin-top:20px;margin-bottom:20px}.veu_cta h1.veu_cta_title{display:block;overflow:hidden;background-color:#333;font-size:22px;color:#fff;padding:12px 20px 10px;line-height:1.2em}.veu_cta .veu_cta_body{display:block;overflow:hidden;padding:1.5em 2em 2em;line-height:170%}.veu_cta .veu_cta_body_image{margin-bottom:1.5em}.veu_cta .veu_cta_body_image img{max-width:250px}.veu_cta .veu_cta_body_image_center{display:block;overflow:hidden;text-align:center}.veu_cta .veu_cta_body_image_center img{display:block;margin:0 auto 15px;max-width:100%}.veu_cta .veu_cta_body_txt{display:block;overflow:hidden}.veu_cta .veu_cta_body_link{clear:both;margin-top:1.5em}@media (max-width: 767px){.veu_cta .veu_cta_body_image img{display:block;margin:0 auto 1.5em;max-width:100%}}@media (min-width: 768px){.veu_cta .veu_cta_body_image_right{float:right;margin-left:30px}.veu_cta .veu_cta_body_image_left{float:left;margin-right:30px}}.veu_contact{display:block;overflow:hidden;margin-bottom:1em;padding:25px 24px 21px;border:3px solid #efefef;box-shadow:inset 0px 0px 0px 1px #fff;background-color:#f9f9f9}.veu_contact_txt_catch,.veu_contact_txt_tel,.veu_contact_txt_time{display:block;overflow:hidden}.veu_contact_txt_catch,.veu_contact_txt_time{line-height:128.6%;font-size:14px}.veu_contact_txt_tel{font-size:28px;line-height:110%;padding-top:4px}.veu_contact_bt_txt:before{font-family:FontAwesome;content:"\f003";margin-right:7px}.veu_contact_bt_txt:after{font-family:FontAwesome;content:"\f18e";margin-left:7px}.veu_contact_bt_subTxt{display:block;overflow:hidden;font-size:14px}@media (max-width: 767px){.veu_contact_txt{text-align:center}.veu_contact .veu_contact_bt{display:block}}@media (min-width: 768px){p.veu_contact_txt{margin-bottom:0}.veu_contact_txt{float:left}.veu_contact .veu_contact_bt{float:right}}.veu_insertAds{margin-top:1em;margin-bottom:1.5em}@media (max-width: 971px){.veu_insertAds{margin-bottom:0.5em}.veu_insertAds .col-md-6{margin-bottom:1em}}
|
plugins/child_page_index.php
CHANGED
@@ -1,68 +1,70 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
|
4 |
/*-------------------------------------------*/
|
5 |
/* Child page index
|
6 |
/*-------------------------------------------*/
|
7 |
-
add_filter('the_content', 'vkExUnit_show_childPageIndex', 7);
|
8 |
|
9 |
-
|
10 |
-
|
|
|
11 |
global $post;
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
57 |
}
|
58 |
|
59 |
|
|
|
60 |
add_filter('vkExUnit_customField_Page_activation', 'vkExUnit_childPageIndex_activate_meta_box', 10, 1);
|
61 |
function vkExUnit_childPageIndex_activate_meta_box( $flag ){
|
62 |
return true;
|
63 |
}
|
64 |
|
65 |
|
|
|
66 |
add_action('vkExUnit_customField_Page_box', 'vkExUnit_childPageIndex_meta_box');
|
67 |
function vkExUnit_childPageIndex_meta_box(){
|
68 |
global $post;
|
@@ -85,20 +87,20 @@ function vkExUnit_childPageIndex_meta_box(){
|
|
85 |
add_action('save_post', 'vkExUnit_save_custom_field_postdata');
|
86 |
function vkExUnit_save_custom_field_postdata( $post_id ) {
|
87 |
$childPageIndex = isset($_POST['_nonce_vkExUnit__custom_field_childPageIndex']) ? htmlspecialchars($_POST['_nonce_vkExUnit__custom_field_childPageIndex']) : null;
|
88 |
-
|
89 |
if( !wp_verify_nonce( $childPageIndex, plugin_basename(__FILE__) )){
|
90 |
return $post_id;
|
91 |
}
|
92 |
-
|
93 |
if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE )
|
94 |
return $post_id;
|
95 |
-
|
96 |
$data = isset($_POST['vkExUnit_childPageIndex']) ? htmlspecialchars($_POST['vkExUnit_childPageIndex']) : null;
|
97 |
-
|
98 |
if('page' == $data){
|
99 |
if(!current_user_can('edit_page', $post_id)) return $post_id;
|
100 |
}
|
101 |
-
|
102 |
if ( "" == get_post_meta( $post_id, 'vkExUnit_childPageIndex' )) {
|
103 |
add_post_meta( $post_id, 'vkExUnit_childPageIndex', $data, true ) ;
|
104 |
} else if ( $data != get_post_meta( $post_id, 'vkExUnit_childPageIndex' )) {
|
1 |
<?php
|
|
|
2 |
|
3 |
/*-------------------------------------------*/
|
4 |
/* Child page index
|
5 |
/*-------------------------------------------*/
|
|
|
6 |
|
7 |
+
|
8 |
+
add_shortcode('vkExUnit_childs', 'vkExUnit_childPageIndex_shortcode');
|
9 |
+
function vkExUnit_childPageIndex_shortcode(){
|
10 |
global $post;
|
11 |
+
if( !is_page() || !get_post_meta( $post->ID, 'vkExUnit_childPageIndex', true ) ) return;
|
12 |
+
|
13 |
+
$parentId = $post->ID;
|
14 |
+
$args = array(
|
15 |
+
'post_type' => 'page',
|
16 |
+
'posts_per_page' => -1,
|
17 |
+
'order' => 'asc',
|
18 |
+
'orderby' => 'menu_order',
|
19 |
+
'post_parent' => $parentId,
|
20 |
+
);
|
21 |
+
$childrens = new WP_Query($args);
|
22 |
+
|
23 |
+
if( !$childrens->have_posts() ) return;
|
24 |
+
|
25 |
+
$childPageList_html = PHP_EOL.'<div class="row childPage_list">'.PHP_EOL;
|
26 |
+
while ( $childrens->have_posts() ) : $childrens->the_post();
|
27 |
+
|
28 |
+
// Set Excerpt
|
29 |
+
$postExcerpt = $post->post_excerpt;
|
30 |
+
if ( !$postExcerpt) {
|
31 |
+
$postExcerpt = esc_html(mb_substr( strip_tags($post->post_content), 0, 120 )); // kill tags and trim 120 chara
|
32 |
+
}
|
33 |
+
|
34 |
+
// Page Item build
|
35 |
+
$childPageList_html .= '<a href="'.esc_url(get_permalink()).'" class="col-sm-6 childPage_list_box"><div class="childPage_list_box_inner">';
|
36 |
+
$childPageList_html .= '<h3 class="childPage_list_title">'.esc_html(get_the_title()).'</h3>';
|
37 |
+
$childPageList_html .= '<div class="childPage_list_body">'.get_the_post_thumbnail( $post->ID, 'large' );
|
38 |
+
$childPageList_html .= '<p class="childPage_list_text">'.esc_html($postExcerpt).'</p></div>';
|
39 |
+
$childPageList_html .= '<span class="childPage_list_more btn btn-primary btn-xs">'.__('Read more', 'vkExUnit').'</span>';
|
40 |
+
$childPageList_html .= '</div></a>'.PHP_EOL;
|
41 |
+
|
42 |
+
endwhile;
|
43 |
+
$childPageList_html .= PHP_EOL.'</div><!-- [ /.childPage_list ] -->'.PHP_EOL;
|
44 |
+
|
45 |
+
return $childPageList_html;
|
46 |
+
}
|
47 |
+
|
48 |
+
|
49 |
+
add_filter('the_content', 'vkExUnit_childPageIndex_contentHook', 7, 1);
|
50 |
+
function vkExUnit_childPageIndex_contentHook( $content ){
|
51 |
+
global $post;
|
52 |
+
if( !is_page() || !get_post_meta( $post->ID, 'vkExUnit_childPageIndex',true ) ) return $content;
|
53 |
+
|
54 |
+
$content .= '[vkExUnit_childs]';
|
55 |
+
|
56 |
+
return $content;
|
57 |
}
|
58 |
|
59 |
|
60 |
+
|
61 |
add_filter('vkExUnit_customField_Page_activation', 'vkExUnit_childPageIndex_activate_meta_box', 10, 1);
|
62 |
function vkExUnit_childPageIndex_activate_meta_box( $flag ){
|
63 |
return true;
|
64 |
}
|
65 |
|
66 |
|
67 |
+
|
68 |
add_action('vkExUnit_customField_Page_box', 'vkExUnit_childPageIndex_meta_box');
|
69 |
function vkExUnit_childPageIndex_meta_box(){
|
70 |
global $post;
|
87 |
add_action('save_post', 'vkExUnit_save_custom_field_postdata');
|
88 |
function vkExUnit_save_custom_field_postdata( $post_id ) {
|
89 |
$childPageIndex = isset($_POST['_nonce_vkExUnit__custom_field_childPageIndex']) ? htmlspecialchars($_POST['_nonce_vkExUnit__custom_field_childPageIndex']) : null;
|
90 |
+
|
91 |
if( !wp_verify_nonce( $childPageIndex, plugin_basename(__FILE__) )){
|
92 |
return $post_id;
|
93 |
}
|
94 |
+
|
95 |
if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE )
|
96 |
return $post_id;
|
97 |
+
|
98 |
$data = isset($_POST['vkExUnit_childPageIndex']) ? htmlspecialchars($_POST['vkExUnit_childPageIndex']) : null;
|
99 |
+
|
100 |
if('page' == $data){
|
101 |
if(!current_user_can('edit_page', $post_id)) return $post_id;
|
102 |
}
|
103 |
+
|
104 |
if ( "" == get_post_meta( $post_id, 'vkExUnit_childPageIndex' )) {
|
105 |
add_post_meta( $post_id, 'vkExUnit_childPageIndex', $data, true ) ;
|
106 |
} else if ( $data != get_post_meta( $post_id, 'vkExUnit_childPageIndex' )) {
|
plugins/other_widget/widget-3pr-area.php
CHANGED
@@ -24,7 +24,6 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
24 |
'media_3pr_alt_sp_1' => '',
|
25 |
'summary_1' => '',
|
26 |
'linkurl_1' => '',
|
27 |
-
|
28 |
'label_2' => __( '3PR area2 title', 'vkExUnit' ),
|
29 |
'media_3pr_image_2' => '',
|
30 |
'media_3pr_alt_2' => '',
|
@@ -32,7 +31,6 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
32 |
'media_3pr_alt_sp_2' => '',
|
33 |
'summary_2' => '',
|
34 |
'linkurl_2' => '',
|
35 |
-
|
36 |
'label_3' => __( '3PR area3 title', 'vkExUnit' ),
|
37 |
'media_3pr_image_3' => '',
|
38 |
'media_3pr_alt_3' => '',
|
@@ -43,7 +41,6 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
43 |
);
|
44 |
$instance = wp_parse_args((array) $instance, $defaults);
|
45 |
?>
|
46 |
-
|
47 |
<?php // 3PR area 1 =========================================================== ?>
|
48 |
<?php // 3PR area 1 タイトル ?>
|
49 |
<h5 class="pr_subTitle"><?php _e( '3PR area1 setting', 'vkExUnit' ); ?></h5>
|
@@ -51,15 +48,12 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
51 |
<label for="<?php echo $this->get_field_id('label_1'); ?>"><?php _e( 'Title:', 'vkExUnit' ); ?></label><br/>
|
52 |
<input type="text" id="<?php echo $this->get_field_id('label_1'); ?>-title" class="pr-input" name="<?php echo $this->get_field_name('label_1'); ?>" value="<?php echo $instance['label_1']; ?>" />
|
53 |
</p>
|
54 |
-
|
55 |
<?php // 3PR area 1 メディアアップローダー PC ?>
|
56 |
<p>
|
57 |
<label for="<?php echo $this->get_field_id('media_3pr_image_1'); ?>"><?php _e( 'Select image for PC:', 'vkExUnit' ); ?></label><br/>
|
58 |
-
|
59 |
<input type="hidden" class="media_image_3pr_pc <?php echo $this->get_field_id('media_3pr_image_1'); ?>" id="<?php echo $this->get_field_id('media_3pr_image_1'); ?>-image" name="<?php echo $this->get_field_name('media_3pr_image_1'); ?>" value="<?php echo esc_attr($instance['media_3pr_image_1']); ?>" />
|
60 |
-
|
61 |
<input type="hidden" class="media_alt_3pr_pc" id="<?php echo $this->get_field_id('media_3pr_alt_1'); ?>-alt" name="<?php echo $this->get_field_name('media_3pr_alt_1'); ?>" value="<?php echo esc_attr($instance['media_3pr_alt_1']); ?>" />
|
62 |
-
|
63 |
<input type="button" class="media_select select_3pr" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3pr(event.target);" />
|
64 |
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3pr(event.target);" />
|
65 |
</p>
|
@@ -72,11 +66,11 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
72 |
<?php // 3PR area 1 メディアアップローダー sp image ?>
|
73 |
<p>
|
74 |
<label for="<?php echo $this->get_field_id('media_3pr_image_sp_1'); ?>"><?php _e( 'Select image for Mobile:', 'vkExUnit' ); ?></label><br/>
|
75 |
-
|
76 |
<input type="hidden" class="media_image_3pr_sp" id="<?php echo $this->get_field_id('media_3pr_image_sp_1'); ?>_image" name="<?php echo $this->get_field_name('media_3pr_image_sp_1'); ?>" value="<?php echo esc_attr($instance['media_3pr_image_sp_1']); ?>" />
|
77 |
-
|
78 |
<input type="hidden" class="media_alt_3pr_sp" id="<?php echo $this->get_field_id('media_3pr_alt_sp_1'); ?>-alt" name="<?php echo $this->get_field_name('media_3pr_alt_sp_1'); ?>" value="<?php echo esc_attr($instance['media_3pr_alt_sp_1']); ?>" />
|
79 |
-
|
80 |
<input type="button" class="media_select" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3prSP(event.target);" />
|
81 |
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3prSP(event.target);" />
|
82 |
</p>
|
@@ -85,18 +79,18 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
85 |
<img class="media_image image_3pr_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_1']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_1']); ?>" />
|
86 |
<?php endif; ?>
|
87 |
</div>
|
88 |
-
|
89 |
<?php // 概要テキスト ?>
|
90 |
<p><label for="<?php echo $this->get_field_id('summary_1'); ?>"><?php _e( 'Summary Text:', 'vkExUnit' ); ?></label><br/>
|
91 |
</p>
|
92 |
-
|
93 |
<textarea rows="4" cols="40" id="<?php echo $this->get_field_id('summary_1'); ?>_text" class="pr_input textarea" name="<?php echo $this->get_field_name('summary_1'); ?>"><?php echo $instance['summary_1']; ?></textarea>
|
94 |
-
|
95 |
<?php // リンク先_URL ?>
|
96 |
<p><label for="<?php echo $this->get_field_id('linkurl_1'); ?>"><?php _e( 'Link URL:', 'vkExUnit' ); ?></label><br/>
|
97 |
<input type="text" id="<?php echo $this->get_field_id('linkurl_1'); ?>_title" class="pr_input" name="<?php echo $this->get_field_name('linkurl_1'); ?>" value="<?php echo $instance['linkurl_1']; ?>" />
|
98 |
</p>
|
99 |
-
|
100 |
<hr /><?php // 3PR area 2 =================================================?>
|
101 |
<?php // 3PR area 2 タイトル ?>
|
102 |
<h5 class="pr_subTitle"><?php _e( '3PR area2 setting', 'vkExUnit' ); ?></h5>
|
@@ -104,33 +98,33 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
104 |
<label for="<?php echo $this->get_field_id('label_2'); ?>"><?php _e( 'Title:', 'vkExUnit' ); ?></label><br/>
|
105 |
<input type="text" id="<?php echo $this->get_field_id('label_2'); ?>_title" class="pr_input" name="<?php echo $this->get_field_name('label_2'); ?>" value="<?php echo $instance['label_2']; ?>" />
|
106 |
</p>
|
107 |
-
|
108 |
<?php // 3PR area 1 メディアアップローダー PC ?>
|
109 |
<p>
|
110 |
<label for="<?php echo $this->get_field_id('media_3pr_image_2'); ?>"><?php _e( 'Select image for PC:', 'vkExUnit' ); ?></label><br/>
|
111 |
-
|
112 |
<input type="hidden" class="media_image_3pr_pc <?php echo $this->get_field_id('media_3pr_image_2'); ?>" id="<?php echo $this->get_field_id('media_3pr_image_2'); ?>_image" name="<?php echo $this->get_field_name('media_3pr_image_2'); ?>" value="<?php echo esc_attr($instance['media_3pr_image_2']); ?>" />
|
113 |
-
|
114 |
<input type="hidden" class="media_alt_3pr_pc" id="<?php echo $this->get_field_id('media_3pr_alt_2'); ?>_alt" name="<?php echo $this->get_field_name('media_3pr_alt_2'); ?>" value="<?php echo esc_attr($instance['media_3pr_alt_2']); ?>" />
|
115 |
-
|
116 |
<input type="button" class="media_select select_3pr" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3pr(event.target);" />
|
117 |
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3pr(event.target);" />
|
118 |
</p>
|
119 |
-
|
120 |
<div class="media image_3pr">
|
121 |
<?php if(!empty($instance['media_3pr_image_2'])): ?>
|
122 |
<img class="media_image image_3pr" src="<?php echo esc_url($instance['media_3pr_image_2']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_2']); ?>" />
|
123 |
<?php endif; ?>
|
124 |
</div>
|
125 |
-
|
126 |
<?php // 3PR area 2 メディアアップローダー sp ?>
|
127 |
<p>
|
128 |
<label for="<?php echo $this->get_field_id('media_3pr_image_sp_2'); ?>"><?php _e( 'Select image for Mobile:', 'vkExUnit' ); ?></label><br/>
|
129 |
-
|
130 |
<input type="hidden" class="media_image_3pr_sp" id="<?php echo $this->get_field_id('media_3pr_image_sp_2'); ?>_image" name="<?php echo $this->get_field_name('media_3pr_image_sp_2'); ?>" value="<?php echo esc_attr($instance['media_3pr_image_sp_2']); ?>" />
|
131 |
-
|
132 |
<input type="hidden" class="media_alt_3pr_sp" id="<?php echo $this->get_field_id('media_3pr_alt_sp_2'); ?>_alt" name="<?php echo $this->get_field_name('media_3pr_alt_sp_2'); ?>" value="<?php echo esc_attr($instance['media_3pr_alt_sp_2']); ?>" />
|
133 |
-
|
134 |
<input type="button" class="media_select" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3prSP(event.target);" />
|
135 |
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3prSP(event.target);" />
|
136 |
</p>
|
@@ -139,16 +133,15 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
139 |
<img class="media_image image_3pr_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_2']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_2']); ?>" />
|
140 |
<?php endif; ?>
|
141 |
</div>
|
142 |
-
|
143 |
<?php //概要テキスト ?>
|
144 |
<p><label for="<?php echo $this->get_field_id('summary_2'); ?>"><?php _e( 'Summary Text:', 'vkExUnit' ); ?></label></p>
|
145 |
<textarea rows="4" cols="40" id="<?php echo $this->get_field_id('summary_2'); ?>_text" class="pr_input textarea" name="<?php echo $this->get_field_name('summary_2'); ?>"><?php echo $instance['summary_2']; ?></textarea>
|
146 |
-
|
147 |
<?php //リンク先_URL ?>
|
148 |
<p><label for="<?php echo $this->get_field_id('linkurl_2'); ?>"><?php _e( 'Link URL:', 'vkExUnit' ); ?></label><br/>
|
149 |
<input type="text" id="<?php echo $this->get_field_id('linkurl_2'); ?>_title" class="pr_input" name="<?php echo $this->get_field_name('linkurl_2'); ?>" value="<?php echo $instance['linkurl_2']; ?>" />
|
150 |
</p>
|
151 |
-
|
152 |
<hr /><?php // 3PR area 3 =================================================?>
|
153 |
<?php // 3PR area 3 タイトル ?>
|
154 |
<h5 class="pr_subTitle"><?php _e( '3PR area3 setting', 'vkExUnit' ); ?></h5>
|
@@ -156,15 +149,15 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
156 |
<label for="<?php echo $this->get_field_id('label_3'); ?>"><?php _e( 'Title:', 'vkExUnit' ); ?></label><br/>
|
157 |
<input type="text" id="<?php echo $this->get_field_id('label_3'); ?>_title" class="pr_input" name="<?php echo $this->get_field_name('label_3'); ?>" value="<?php echo $instance['label_3']; ?>" />
|
158 |
</p>
|
159 |
-
|
160 |
<?php // 3PR area 1 メディアアップローダー PC ?>
|
161 |
<p>
|
162 |
<label for="<?php echo $this->get_field_id('media_3pr_image_3'); ?>"><?php _e( 'Select image for PC:', 'vkExUnit' ); ?></label><br/>
|
163 |
-
|
164 |
<input type="hidden" class="media_image_3pr_pc <?php echo $this->get_field_id('media_3pr_image_3'); ?>" id="<?php echo $this->get_field_id('media_3pr_image_3'); ?>_image" name="<?php echo $this->get_field_name('media_3pr_image_3'); ?>" value="<?php echo esc_attr($instance['media_3pr_image_3']); ?>" />
|
165 |
-
|
166 |
<input type="hidden" class="media_alt_3pr_pc" id="<?php echo $this->get_field_id('media_3pr_alt_3'); ?>-alt" name="<?php echo $this->get_field_name('media_3pr_alt_3'); ?>" value="<?php echo esc_attr($instance['media_3pr_alt_3']); ?>" />
|
167 |
-
|
168 |
<input type="button" class="media_select select_3pr" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3pr(event.target);" />
|
169 |
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3pr(event.target);" />
|
170 |
</p>
|
@@ -173,41 +166,40 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
173 |
<img class="media_image image_3pr" src="<?php echo esc_url($instance['media_3pr_image_3']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_3']); ?>" />
|
174 |
<?php endif; ?>
|
175 |
</div>
|
176 |
-
|
177 |
<?php // 3PR area 2 メディアアップローダー sp ?>
|
178 |
<p>
|
179 |
<label for="<?php echo $this->get_field_id('media_3pr_image_sp_3'); ?>"><?php _e( 'Select image for Mobile:', 'vkExUnit' ); ?></label><br/>
|
180 |
-
|
181 |
<input type="hidden" class="media_image_3pr_sp" id="<?php echo $this->get_field_id('media_3pr_image_sp_3'); ?>_image" name="<?php echo $this->get_field_name('media_3pr_image_sp_3'); ?>" value="<?php echo esc_attr($instance['media_3pr_image_sp_3']); ?>" />
|
182 |
-
|
183 |
<input type="hidden" class="media_alt_3pr_sp" id="<?php echo $this->get_field_id('media_3pr_alt_sp_3'); ?>_alt" name="<?php echo $this->get_field_name('media_3pr_alt_sp_3'); ?>" value="<?php echo esc_attr($instance['media_3pr_alt_sp_3']); ?>" />
|
184 |
-
|
185 |
<input type="button" class="media_select" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3prSP(event.target);" />
|
186 |
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3prSP(event.target);" />
|
187 |
</p>
|
188 |
-
|
189 |
<div class="media image_3pr_sp">
|
190 |
<?php if(!empty($instance['media_3pr_image_sp_3'])): ?>
|
191 |
<img class="media_image image_3pr_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_3']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_3']); ?>" />
|
192 |
<?php endif; ?>
|
193 |
</div>
|
194 |
-
|
195 |
<?php //概要テキスト ?>
|
196 |
<p><label for="<?php echo $this->get_field_id('summary_3'); ?>"><?php _e( 'Summary Text:', 'vkExUnit' ); ?></label>
|
197 |
</p>
|
198 |
<textarea rows="4" cols="40" id="<?php echo $this->get_field_id('summary_3'); ?>_text" class="pr_input textarea" name="<?php echo $this->get_field_name('summary_3'); ?>"><?php echo $instance['summary_3']; ?></textarea>
|
199 |
-
|
200 |
<?php //リンク先_URL ?>
|
201 |
<p><label for="<?php echo $this->get_field_id('linkurl_3'); ?>"><?php _e( 'Link URL:', 'vkExUnit' ); ?></label><br/>
|
202 |
<input type="text" id="<?php echo $this->get_field_id('linkurl_3'); ?>_title" class="pr_input" name="<?php echo $this->get_field_name('linkurl_3'); ?>" value="<?php echo $instance['linkurl_3']; ?>" />
|
203 |
</p>
|
|
|
|
|
|
|
204 |
|
205 |
-
<?php }
|
206 |
-
|
207 |
function update ($new_instance, $old_instance) {
|
208 |
|
209 |
$instance = $old_instance;
|
210 |
-
|
211 |
$instance['label_1'] = $new_instance['label_1'];
|
212 |
$instance['media_3pr_image_1'] = $new_instance['media_3pr_image_1'];
|
213 |
$instance['media_3pr_alt_1'] = $new_instance['media_3pr_alt_1'];
|
@@ -215,7 +207,7 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
215 |
$instance['media_3pr_alt_sp_1'] = $new_instance['media_3pr_alt_sp_1'];
|
216 |
$instance['summary_1'] = $new_instance['summary_1'];
|
217 |
$instance['linkurl_1'] = $new_instance['linkurl_1'];
|
218 |
-
|
219 |
$instance['label_2'] = $new_instance['label_2'];
|
220 |
$instance['media_3pr_image_2'] = $new_instance['media_3pr_image_2'];
|
221 |
$instance['media_3pr_alt_2'] = $new_instance['media_3pr_alt_2'];
|
@@ -223,7 +215,7 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
223 |
$instance['media_3pr_alt_sp_2'] = $new_instance['media_3pr_alt_sp_2'];
|
224 |
$instance['summary_2'] = $new_instance['summary_2'];
|
225 |
$instance['linkurl_2'] = $new_instance['linkurl_2'];
|
226 |
-
|
227 |
$instance['label_3'] = $new_instance['label_3'];
|
228 |
$instance['media_3pr_image_3'] = $new_instance['media_3pr_image_3'];
|
229 |
$instance['media_3pr_alt_3'] = $new_instance['media_3pr_alt_3'];
|
@@ -231,13 +223,14 @@ class WP_Widget_vkExUnit_3PR_area extends WP_Widget {
|
|
231 |
$instance['media_3pr_alt_sp_3'] = $new_instance['media_3pr_alt_sp_3'];
|
232 |
$instance['summary_3'] = $new_instance['summary_3'];
|
233 |
$instance['linkurl_3'] = $new_instance['linkurl_3'];
|
234 |
-
|
235 |
return $instance;
|
236 |
-
}
|
237 |
-
|
|
|
238 |
function widget($args, $instance) {
|
239 |
-
echo PHP_EOL.'<div class="widget prBox row">'.PHP_EOL;
|
240 |
-
if( isset($instance['label_1']) && $instance['label_1'] ): ?>
|
241 |
<div class="prArea col-md-4">
|
242 |
<?php
|
243 |
echo '<h1 class="subSection-title">';
|
@@ -249,36 +242,36 @@ if ( isset($instance['label_1']) && $instance['label_1'] ) {
|
|
249 |
echo '</h1>'.PHP_EOL; ?>
|
250 |
<?php if( isset($instance['media_3pr_image_1'], $instance['media_3pr_image_sp_1']) ): ?>
|
251 |
<div class="media_pr">
|
252 |
-
<?php if( !empty($instance['linkurl_1']) ): ?>
|
253 |
<a href="<?php echo esc_url($instance['linkurl_1']); ?>" >
|
254 |
<?php if( !empty($instance['media_3pr_image_1']) ): ?>
|
255 |
<img <?php if( !empty($instance['media_3pr_image_sp_1']) ){ echo 'class="media_pc"'; } ?> src="<?php echo esc_url($instance['media_3pr_image_1']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_1']); ?>" />
|
256 |
-
<?php endif;
|
257 |
if( !empty($instance['media_3pr_image_sp_1']) ): ?>
|
258 |
<img class="media_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_1']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_1']); ?>" />
|
259 |
<?php endif; ?>
|
260 |
</a>
|
261 |
-
<?php else:
|
262 |
if( !empty($instance['media_3pr_image_1']) ): ?>
|
263 |
<img <?php if( !empty($instance['media_3pr_image_sp_1']) ){ echo 'class="media_pc"'; } ?> src="<?php echo esc_url($instance['media_3pr_image_1']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_1']); ?>" />
|
264 |
-
<?php endif; ?>
|
265 |
<?php if( !empty($instance['media_3pr_image_sp_1']) ): ?>
|
266 |
<img class="media_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_1']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_1']); ?>" />
|
267 |
<?php endif;
|
268 |
endif; ?>
|
269 |
</div>
|
270 |
-
<!--//.media_pr -->
|
271 |
-
<?php endif;
|
272 |
if( !empty($instance['summary_1']) ){
|
273 |
echo '<p class="summary">'.nl2br(esc_attr($instance['summary_1'])).'</p>'.PHP_EOL;
|
274 |
-
}
|
275 |
if( !empty($instance['linkurl_1']) ){
|
276 |
echo '<p class="linkurl"><a href="'.esc_attr($instance['linkurl_1']).'" class="btn btn-default btn-sm">'.__('Read more', 'vkExUnit' ).'</a></p>';
|
277 |
-
} ?>
|
278 |
</div>
|
279 |
<!-- // div.prArea1 -->
|
280 |
<?php endif; ?>
|
281 |
-
|
282 |
<?php if( isset($instance['label_2']) && $instance['label_2'] ): ?>
|
283 |
<div class="prArea col-md-4">
|
284 |
<?php
|
@@ -288,36 +281,36 @@ if( !empty($instance['linkurl_1']) ){
|
|
288 |
} else {
|
289 |
_e("3PR area", 'vkExUnit' );
|
290 |
}
|
291 |
-
echo '</h1>'.PHP_EOL;
|
292 |
if( isset($instance['media_3pr_image_2'], $instance['media_3pr_image_sp_2']) ): ?>
|
293 |
<div class="media_pr">
|
294 |
-
<?php if( !empty($instance['linkurl_2']) ): ?>
|
295 |
<a href="<?php echo esc_url($instance['linkurl_2']); ?>" >
|
296 |
<?php if( !empty($instance['media_3pr_image_2']) ): ?>
|
297 |
<img <?php if( !empty($instance['media_3pr_image_sp_2']) ){ echo 'class="media_pc"'; } ?> src="<?php echo esc_url($instance['media_3pr_image_2']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_2']); ?>" />
|
298 |
-
<?php endif;
|
299 |
if( !empty($instance['media_3pr_image_sp_2']) ): ?>
|
300 |
<img class="media_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_2']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_2']); ?>" />
|
301 |
<?php endif; ?>
|
302 |
</a>
|
303 |
-
<?php else:
|
304 |
if( !empty($instance['media_3pr_image_2']) ): ?>
|
305 |
<img <?php if( !empty($instance['media_3pr_image_sp_2']) ){ echo 'class="media_pc"'; } ?> src="<?php echo esc_url($instance['media_3pr_image_2']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_2']); ?>" />
|
306 |
-
<?php endif;
|
307 |
if( !empty($instance['media_3pr_image_sp_2']) ): ?>
|
308 |
<img class="media_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_2']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_2']); ?>" />
|
309 |
-
<?php endif;
|
310 |
endif; ?>
|
311 |
</div>
|
312 |
-
<!--//.media_pr -->
|
313 |
-
<?php endif;
|
314 |
if( !empty($instance['summary_2']) ){
|
315 |
echo '<p class="summary">'.nl2br(esc_attr($instance['summary_2'])).'</p>'.PHP_EOL;
|
316 |
-
}
|
317 |
if( !empty($instance['linkurl_2']) ){
|
318 |
echo '<p class="linkurl"><a href="'.esc_attr($instance['linkurl_2']).'" class="btn btn-default btn-sm">'.__('Read more', 'vkExUnit' ).'</a></p>';
|
319 |
-
}
|
320 |
-
?>
|
321 |
</div>
|
322 |
<!-- // div.prArea2 -->
|
323 |
<?php endif; ?>
|
@@ -331,14 +324,14 @@ echo '<h1 class="subSection-title">';
|
|
331 |
} else {
|
332 |
_e("3PR area", 'vkExUnit' );
|
333 |
}
|
334 |
-
echo '</h1>'.PHP_EOL;
|
335 |
if( isset($instance['media_3pr_image_3'], $instance['media_3pr_image_sp_3']) ): ?>
|
336 |
<div class="media_pr">
|
337 |
-
<?php if( !empty($instance['linkurl_3']) ): // has link ?>
|
338 |
<a href="<?php echo esc_url($instance['linkurl_3']); ?>" >
|
339 |
<?php if( !empty($instance['media_3pr_image_3']) ): ?>
|
340 |
<img <?php if( !empty($instance['media_3pr_image_sp_3']) ){ echo 'class="media_pc"'; } ?> src="<?php echo esc_url($instance['media_3pr_image_3']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_3']); ?>" />
|
341 |
-
<?php endif;
|
342 |
if( !empty($instance['media_3pr_image_sp_3']) ): ?>
|
343 |
<img class="media_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_3']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_3']); ?>" />
|
344 |
<?php endif; ?>
|
@@ -349,14 +342,14 @@ if( isset($instance['media_3pr_image_3'], $instance['media_3pr_image_sp_3']) ):
|
|
349 |
<?php endif;
|
350 |
if( !empty($instance['media_3pr_image_sp_3']) ): ?>
|
351 |
<img class="media_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_3']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_3']); ?>" />
|
352 |
-
<?php endif;
|
353 |
endif; ?>
|
354 |
</div>
|
355 |
-
<!--//.media_pr -->
|
356 |
<?php endif;
|
357 |
if( !empty($instance['summary_3']) ){
|
358 |
echo '<p class="summary">'.nl2br(esc_attr($instance['summary_3'])).'</p>'.PHP_EOL;
|
359 |
-
}
|
360 |
if( !empty($instance['linkurl_3']) ){
|
361 |
echo '<p class="linkurl"><a href="'.esc_attr($instance['linkurl_3']).'" class="btn btn-default btn-sm">'.__('Read more', 'vkExUnit' ).'</a></p>';
|
362 |
} ?>
|
@@ -365,15 +358,13 @@ if( !empty($instance['linkurl_3']) ){
|
|
365 |
<?php endif; ?>
|
366 |
</div>
|
367 |
<?php }
|
368 |
-
}
|
369 |
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_vkExUnit_3PR_area");'));
|
370 |
|
371 |
// メディアアップローダーjs
|
372 |
function my_admin_scripts_3pr() {
|
373 |
-
|
374 |
wp_enqueue_media();
|
375 |
wp_register_script( 'mediauploader-3pr', plugin_dir_url( __FILE__ ) . 'js/widget-3pr-uploader.js', array( 'jquery' ), false, true );
|
376 |
-
|
377 |
wp_enqueue_script( 'mediauploader-3pr' );
|
378 |
}
|
379 |
add_action( 'admin_print_scripts', 'my_admin_scripts_3pr' );
|
24 |
'media_3pr_alt_sp_1' => '',
|
25 |
'summary_1' => '',
|
26 |
'linkurl_1' => '',
|
|
|
27 |
'label_2' => __( '3PR area2 title', 'vkExUnit' ),
|
28 |
'media_3pr_image_2' => '',
|
29 |
'media_3pr_alt_2' => '',
|
31 |
'media_3pr_alt_sp_2' => '',
|
32 |
'summary_2' => '',
|
33 |
'linkurl_2' => '',
|
|
|
34 |
'label_3' => __( '3PR area3 title', 'vkExUnit' ),
|
35 |
'media_3pr_image_3' => '',
|
36 |
'media_3pr_alt_3' => '',
|
41 |
);
|
42 |
$instance = wp_parse_args((array) $instance, $defaults);
|
43 |
?>
|
|
|
44 |
<?php // 3PR area 1 =========================================================== ?>
|
45 |
<?php // 3PR area 1 タイトル ?>
|
46 |
<h5 class="pr_subTitle"><?php _e( '3PR area1 setting', 'vkExUnit' ); ?></h5>
|
48 |
<label for="<?php echo $this->get_field_id('label_1'); ?>"><?php _e( 'Title:', 'vkExUnit' ); ?></label><br/>
|
49 |
<input type="text" id="<?php echo $this->get_field_id('label_1'); ?>-title" class="pr-input" name="<?php echo $this->get_field_name('label_1'); ?>" value="<?php echo $instance['label_1']; ?>" />
|
50 |
</p>
|
51 |
+
|
52 |
<?php // 3PR area 1 メディアアップローダー PC ?>
|
53 |
<p>
|
54 |
<label for="<?php echo $this->get_field_id('media_3pr_image_1'); ?>"><?php _e( 'Select image for PC:', 'vkExUnit' ); ?></label><br/>
|
|
|
55 |
<input type="hidden" class="media_image_3pr_pc <?php echo $this->get_field_id('media_3pr_image_1'); ?>" id="<?php echo $this->get_field_id('media_3pr_image_1'); ?>-image" name="<?php echo $this->get_field_name('media_3pr_image_1'); ?>" value="<?php echo esc_attr($instance['media_3pr_image_1']); ?>" />
|
|
|
56 |
<input type="hidden" class="media_alt_3pr_pc" id="<?php echo $this->get_field_id('media_3pr_alt_1'); ?>-alt" name="<?php echo $this->get_field_name('media_3pr_alt_1'); ?>" value="<?php echo esc_attr($instance['media_3pr_alt_1']); ?>" />
|
|
|
57 |
<input type="button" class="media_select select_3pr" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3pr(event.target);" />
|
58 |
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3pr(event.target);" />
|
59 |
</p>
|
66 |
<?php // 3PR area 1 メディアアップローダー sp image ?>
|
67 |
<p>
|
68 |
<label for="<?php echo $this->get_field_id('media_3pr_image_sp_1'); ?>"><?php _e( 'Select image for Mobile:', 'vkExUnit' ); ?></label><br/>
|
69 |
+
|
70 |
<input type="hidden" class="media_image_3pr_sp" id="<?php echo $this->get_field_id('media_3pr_image_sp_1'); ?>_image" name="<?php echo $this->get_field_name('media_3pr_image_sp_1'); ?>" value="<?php echo esc_attr($instance['media_3pr_image_sp_1']); ?>" />
|
71 |
+
|
72 |
<input type="hidden" class="media_alt_3pr_sp" id="<?php echo $this->get_field_id('media_3pr_alt_sp_1'); ?>-alt" name="<?php echo $this->get_field_name('media_3pr_alt_sp_1'); ?>" value="<?php echo esc_attr($instance['media_3pr_alt_sp_1']); ?>" />
|
73 |
+
|
74 |
<input type="button" class="media_select" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3prSP(event.target);" />
|
75 |
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3prSP(event.target);" />
|
76 |
</p>
|
79 |
<img class="media_image image_3pr_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_1']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_1']); ?>" />
|
80 |
<?php endif; ?>
|
81 |
</div>
|
82 |
+
|
83 |
<?php // 概要テキスト ?>
|
84 |
<p><label for="<?php echo $this->get_field_id('summary_1'); ?>"><?php _e( 'Summary Text:', 'vkExUnit' ); ?></label><br/>
|
85 |
</p>
|
86 |
+
|
87 |
<textarea rows="4" cols="40" id="<?php echo $this->get_field_id('summary_1'); ?>_text" class="pr_input textarea" name="<?php echo $this->get_field_name('summary_1'); ?>"><?php echo $instance['summary_1']; ?></textarea>
|
88 |
+
|
89 |
<?php // リンク先_URL ?>
|
90 |
<p><label for="<?php echo $this->get_field_id('linkurl_1'); ?>"><?php _e( 'Link URL:', 'vkExUnit' ); ?></label><br/>
|
91 |
<input type="text" id="<?php echo $this->get_field_id('linkurl_1'); ?>_title" class="pr_input" name="<?php echo $this->get_field_name('linkurl_1'); ?>" value="<?php echo $instance['linkurl_1']; ?>" />
|
92 |
</p>
|
93 |
+
|
94 |
<hr /><?php // 3PR area 2 =================================================?>
|
95 |
<?php // 3PR area 2 タイトル ?>
|
96 |
<h5 class="pr_subTitle"><?php _e( '3PR area2 setting', 'vkExUnit' ); ?></h5>
|
98 |
<label for="<?php echo $this->get_field_id('label_2'); ?>"><?php _e( 'Title:', 'vkExUnit' ); ?></label><br/>
|
99 |
<input type="text" id="<?php echo $this->get_field_id('label_2'); ?>_title" class="pr_input" name="<?php echo $this->get_field_name('label_2'); ?>" value="<?php echo $instance['label_2']; ?>" />
|
100 |
</p>
|
101 |
+
|
102 |
<?php // 3PR area 1 メディアアップローダー PC ?>
|
103 |
<p>
|
104 |
<label for="<?php echo $this->get_field_id('media_3pr_image_2'); ?>"><?php _e( 'Select image for PC:', 'vkExUnit' ); ?></label><br/>
|
105 |
+
|
106 |
<input type="hidden" class="media_image_3pr_pc <?php echo $this->get_field_id('media_3pr_image_2'); ?>" id="<?php echo $this->get_field_id('media_3pr_image_2'); ?>_image" name="<?php echo $this->get_field_name('media_3pr_image_2'); ?>" value="<?php echo esc_attr($instance['media_3pr_image_2']); ?>" />
|
107 |
+
|
108 |
<input type="hidden" class="media_alt_3pr_pc" id="<?php echo $this->get_field_id('media_3pr_alt_2'); ?>_alt" name="<?php echo $this->get_field_name('media_3pr_alt_2'); ?>" value="<?php echo esc_attr($instance['media_3pr_alt_2']); ?>" />
|
109 |
+
|
110 |
<input type="button" class="media_select select_3pr" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3pr(event.target);" />
|
111 |
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3pr(event.target);" />
|
112 |
</p>
|
113 |
+
|
114 |
<div class="media image_3pr">
|
115 |
<?php if(!empty($instance['media_3pr_image_2'])): ?>
|
116 |
<img class="media_image image_3pr" src="<?php echo esc_url($instance['media_3pr_image_2']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_2']); ?>" />
|
117 |
<?php endif; ?>
|
118 |
</div>
|
119 |
+
|
120 |
<?php // 3PR area 2 メディアアップローダー sp ?>
|
121 |
<p>
|
122 |
<label for="<?php echo $this->get_field_id('media_3pr_image_sp_2'); ?>"><?php _e( 'Select image for Mobile:', 'vkExUnit' ); ?></label><br/>
|
123 |
+
|
124 |
<input type="hidden" class="media_image_3pr_sp" id="<?php echo $this->get_field_id('media_3pr_image_sp_2'); ?>_image" name="<?php echo $this->get_field_name('media_3pr_image_sp_2'); ?>" value="<?php echo esc_attr($instance['media_3pr_image_sp_2']); ?>" />
|
125 |
+
|
126 |
<input type="hidden" class="media_alt_3pr_sp" id="<?php echo $this->get_field_id('media_3pr_alt_sp_2'); ?>_alt" name="<?php echo $this->get_field_name('media_3pr_alt_sp_2'); ?>" value="<?php echo esc_attr($instance['media_3pr_alt_sp_2']); ?>" />
|
127 |
+
|
128 |
<input type="button" class="media_select" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3prSP(event.target);" />
|
129 |
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3prSP(event.target);" />
|
130 |
</p>
|
133 |
<img class="media_image image_3pr_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_2']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_2']); ?>" />
|
134 |
<?php endif; ?>
|
135 |
</div>
|
136 |
+
|
137 |
<?php //概要テキスト ?>
|
138 |
<p><label for="<?php echo $this->get_field_id('summary_2'); ?>"><?php _e( 'Summary Text:', 'vkExUnit' ); ?></label></p>
|
139 |
<textarea rows="4" cols="40" id="<?php echo $this->get_field_id('summary_2'); ?>_text" class="pr_input textarea" name="<?php echo $this->get_field_name('summary_2'); ?>"><?php echo $instance['summary_2']; ?></textarea>
|
140 |
+
|
141 |
<?php //リンク先_URL ?>
|
142 |
<p><label for="<?php echo $this->get_field_id('linkurl_2'); ?>"><?php _e( 'Link URL:', 'vkExUnit' ); ?></label><br/>
|
143 |
<input type="text" id="<?php echo $this->get_field_id('linkurl_2'); ?>_title" class="pr_input" name="<?php echo $this->get_field_name('linkurl_2'); ?>" value="<?php echo $instance['linkurl_2']; ?>" />
|
144 |
</p>
|
|
|
145 |
<hr /><?php // 3PR area 3 =================================================?>
|
146 |
<?php // 3PR area 3 タイトル ?>
|
147 |
<h5 class="pr_subTitle"><?php _e( '3PR area3 setting', 'vkExUnit' ); ?></h5>
|
149 |
<label for="<?php echo $this->get_field_id('label_3'); ?>"><?php _e( 'Title:', 'vkExUnit' ); ?></label><br/>
|
150 |
<input type="text" id="<?php echo $this->get_field_id('label_3'); ?>_title" class="pr_input" name="<?php echo $this->get_field_name('label_3'); ?>" value="<?php echo $instance['label_3']; ?>" />
|
151 |
</p>
|
152 |
+
|
153 |
<?php // 3PR area 1 メディアアップローダー PC ?>
|
154 |
<p>
|
155 |
<label for="<?php echo $this->get_field_id('media_3pr_image_3'); ?>"><?php _e( 'Select image for PC:', 'vkExUnit' ); ?></label><br/>
|
156 |
+
|
157 |
<input type="hidden" class="media_image_3pr_pc <?php echo $this->get_field_id('media_3pr_image_3'); ?>" id="<?php echo $this->get_field_id('media_3pr_image_3'); ?>_image" name="<?php echo $this->get_field_name('media_3pr_image_3'); ?>" value="<?php echo esc_attr($instance['media_3pr_image_3']); ?>" />
|
158 |
+
|
159 |
<input type="hidden" class="media_alt_3pr_pc" id="<?php echo $this->get_field_id('media_3pr_alt_3'); ?>-alt" name="<?php echo $this->get_field_name('media_3pr_alt_3'); ?>" value="<?php echo esc_attr($instance['media_3pr_alt_3']); ?>" />
|
160 |
+
|
161 |
<input type="button" class="media_select select_3pr" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3pr(event.target);" />
|
162 |
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3pr(event.target);" />
|
163 |
</p>
|
166 |
<img class="media_image image_3pr" src="<?php echo esc_url($instance['media_3pr_image_3']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_3']); ?>" />
|
167 |
<?php endif; ?>
|
168 |
</div>
|
169 |
+
|
170 |
<?php // 3PR area 2 メディアアップローダー sp ?>
|
171 |
<p>
|
172 |
<label for="<?php echo $this->get_field_id('media_3pr_image_sp_3'); ?>"><?php _e( 'Select image for Mobile:', 'vkExUnit' ); ?></label><br/>
|
173 |
+
|
174 |
<input type="hidden" class="media_image_3pr_sp" id="<?php echo $this->get_field_id('media_3pr_image_sp_3'); ?>_image" name="<?php echo $this->get_field_name('media_3pr_image_sp_3'); ?>" value="<?php echo esc_attr($instance['media_3pr_image_sp_3']); ?>" />
|
175 |
+
|
176 |
<input type="hidden" class="media_alt_3pr_sp" id="<?php echo $this->get_field_id('media_3pr_alt_sp_3'); ?>_alt" name="<?php echo $this->get_field_name('media_3pr_alt_sp_3'); ?>" value="<?php echo esc_attr($instance['media_3pr_alt_sp_3']); ?>" />
|
177 |
+
|
178 |
<input type="button" class="media_select" value="<?php _e( 'Select image', 'vkExUnit' ); ?>" onclick="clickSelect3prSP(event.target);" />
|
179 |
<input type="button" class="media_clear" value="<?php _e( 'Clear image', 'vkExUnit' ); ?>" onclick="clickClear3prSP(event.target);" />
|
180 |
</p>
|
181 |
+
|
182 |
<div class="media image_3pr_sp">
|
183 |
<?php if(!empty($instance['media_3pr_image_sp_3'])): ?>
|
184 |
<img class="media_image image_3pr_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_3']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_3']); ?>" />
|
185 |
<?php endif; ?>
|
186 |
</div>
|
|
|
187 |
<?php //概要テキスト ?>
|
188 |
<p><label for="<?php echo $this->get_field_id('summary_3'); ?>"><?php _e( 'Summary Text:', 'vkExUnit' ); ?></label>
|
189 |
</p>
|
190 |
<textarea rows="4" cols="40" id="<?php echo $this->get_field_id('summary_3'); ?>_text" class="pr_input textarea" name="<?php echo $this->get_field_name('summary_3'); ?>"><?php echo $instance['summary_3']; ?></textarea>
|
|
|
191 |
<?php //リンク先_URL ?>
|
192 |
<p><label for="<?php echo $this->get_field_id('linkurl_3'); ?>"><?php _e( 'Link URL:', 'vkExUnit' ); ?></label><br/>
|
193 |
<input type="text" id="<?php echo $this->get_field_id('linkurl_3'); ?>_title" class="pr_input" name="<?php echo $this->get_field_name('linkurl_3'); ?>" value="<?php echo $instance['linkurl_3']; ?>" />
|
194 |
</p>
|
195 |
+
<?php
|
196 |
+
}
|
197 |
+
|
198 |
|
|
|
|
|
199 |
function update ($new_instance, $old_instance) {
|
200 |
|
201 |
$instance = $old_instance;
|
202 |
+
|
203 |
$instance['label_1'] = $new_instance['label_1'];
|
204 |
$instance['media_3pr_image_1'] = $new_instance['media_3pr_image_1'];
|
205 |
$instance['media_3pr_alt_1'] = $new_instance['media_3pr_alt_1'];
|
207 |
$instance['media_3pr_alt_sp_1'] = $new_instance['media_3pr_alt_sp_1'];
|
208 |
$instance['summary_1'] = $new_instance['summary_1'];
|
209 |
$instance['linkurl_1'] = $new_instance['linkurl_1'];
|
210 |
+
|
211 |
$instance['label_2'] = $new_instance['label_2'];
|
212 |
$instance['media_3pr_image_2'] = $new_instance['media_3pr_image_2'];
|
213 |
$instance['media_3pr_alt_2'] = $new_instance['media_3pr_alt_2'];
|
215 |
$instance['media_3pr_alt_sp_2'] = $new_instance['media_3pr_alt_sp_2'];
|
216 |
$instance['summary_2'] = $new_instance['summary_2'];
|
217 |
$instance['linkurl_2'] = $new_instance['linkurl_2'];
|
218 |
+
|
219 |
$instance['label_3'] = $new_instance['label_3'];
|
220 |
$instance['media_3pr_image_3'] = $new_instance['media_3pr_image_3'];
|
221 |
$instance['media_3pr_alt_3'] = $new_instance['media_3pr_alt_3'];
|
223 |
$instance['media_3pr_alt_sp_3'] = $new_instance['media_3pr_alt_sp_3'];
|
224 |
$instance['summary_3'] = $new_instance['summary_3'];
|
225 |
$instance['linkurl_3'] = $new_instance['linkurl_3'];
|
226 |
+
|
227 |
return $instance;
|
228 |
+
}
|
229 |
+
|
230 |
+
|
231 |
function widget($args, $instance) {
|
232 |
+
echo PHP_EOL.'<div class="widget prBox row">'.PHP_EOL;
|
233 |
+
if( isset($instance['label_1']) && $instance['label_1'] ): ?>
|
234 |
<div class="prArea col-md-4">
|
235 |
<?php
|
236 |
echo '<h1 class="subSection-title">';
|
242 |
echo '</h1>'.PHP_EOL; ?>
|
243 |
<?php if( isset($instance['media_3pr_image_1'], $instance['media_3pr_image_sp_1']) ): ?>
|
244 |
<div class="media_pr">
|
245 |
+
<?php if( !empty($instance['linkurl_1']) ): ?>
|
246 |
<a href="<?php echo esc_url($instance['linkurl_1']); ?>" >
|
247 |
<?php if( !empty($instance['media_3pr_image_1']) ): ?>
|
248 |
<img <?php if( !empty($instance['media_3pr_image_sp_1']) ){ echo 'class="media_pc"'; } ?> src="<?php echo esc_url($instance['media_3pr_image_1']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_1']); ?>" />
|
249 |
+
<?php endif;
|
250 |
if( !empty($instance['media_3pr_image_sp_1']) ): ?>
|
251 |
<img class="media_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_1']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_1']); ?>" />
|
252 |
<?php endif; ?>
|
253 |
</a>
|
254 |
+
<?php else:
|
255 |
if( !empty($instance['media_3pr_image_1']) ): ?>
|
256 |
<img <?php if( !empty($instance['media_3pr_image_sp_1']) ){ echo 'class="media_pc"'; } ?> src="<?php echo esc_url($instance['media_3pr_image_1']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_1']); ?>" />
|
257 |
+
<?php endif; ?>
|
258 |
<?php if( !empty($instance['media_3pr_image_sp_1']) ): ?>
|
259 |
<img class="media_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_1']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_1']); ?>" />
|
260 |
<?php endif;
|
261 |
endif; ?>
|
262 |
</div>
|
263 |
+
<!--//.media_pr -->
|
264 |
+
<?php endif;
|
265 |
if( !empty($instance['summary_1']) ){
|
266 |
echo '<p class="summary">'.nl2br(esc_attr($instance['summary_1'])).'</p>'.PHP_EOL;
|
267 |
+
}
|
268 |
if( !empty($instance['linkurl_1']) ){
|
269 |
echo '<p class="linkurl"><a href="'.esc_attr($instance['linkurl_1']).'" class="btn btn-default btn-sm">'.__('Read more', 'vkExUnit' ).'</a></p>';
|
270 |
+
} ?>
|
271 |
</div>
|
272 |
<!-- // div.prArea1 -->
|
273 |
<?php endif; ?>
|
274 |
+
|
275 |
<?php if( isset($instance['label_2']) && $instance['label_2'] ): ?>
|
276 |
<div class="prArea col-md-4">
|
277 |
<?php
|
281 |
} else {
|
282 |
_e("3PR area", 'vkExUnit' );
|
283 |
}
|
284 |
+
echo '</h1>'.PHP_EOL;
|
285 |
if( isset($instance['media_3pr_image_2'], $instance['media_3pr_image_sp_2']) ): ?>
|
286 |
<div class="media_pr">
|
287 |
+
<?php if( !empty($instance['linkurl_2']) ): ?>
|
288 |
<a href="<?php echo esc_url($instance['linkurl_2']); ?>" >
|
289 |
<?php if( !empty($instance['media_3pr_image_2']) ): ?>
|
290 |
<img <?php if( !empty($instance['media_3pr_image_sp_2']) ){ echo 'class="media_pc"'; } ?> src="<?php echo esc_url($instance['media_3pr_image_2']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_2']); ?>" />
|
291 |
+
<?php endif;
|
292 |
if( !empty($instance['media_3pr_image_sp_2']) ): ?>
|
293 |
<img class="media_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_2']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_2']); ?>" />
|
294 |
<?php endif; ?>
|
295 |
</a>
|
296 |
+
<?php else:
|
297 |
if( !empty($instance['media_3pr_image_2']) ): ?>
|
298 |
<img <?php if( !empty($instance['media_3pr_image_sp_2']) ){ echo 'class="media_pc"'; } ?> src="<?php echo esc_url($instance['media_3pr_image_2']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_2']); ?>" />
|
299 |
+
<?php endif;
|
300 |
if( !empty($instance['media_3pr_image_sp_2']) ): ?>
|
301 |
<img class="media_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_2']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_2']); ?>" />
|
302 |
+
<?php endif;
|
303 |
endif; ?>
|
304 |
</div>
|
305 |
+
<!--//.media_pr -->
|
306 |
+
<?php endif;
|
307 |
if( !empty($instance['summary_2']) ){
|
308 |
echo '<p class="summary">'.nl2br(esc_attr($instance['summary_2'])).'</p>'.PHP_EOL;
|
309 |
+
}
|
310 |
if( !empty($instance['linkurl_2']) ){
|
311 |
echo '<p class="linkurl"><a href="'.esc_attr($instance['linkurl_2']).'" class="btn btn-default btn-sm">'.__('Read more', 'vkExUnit' ).'</a></p>';
|
312 |
+
}
|
313 |
+
?>
|
314 |
</div>
|
315 |
<!-- // div.prArea2 -->
|
316 |
<?php endif; ?>
|
324 |
} else {
|
325 |
_e("3PR area", 'vkExUnit' );
|
326 |
}
|
327 |
+
echo '</h1>'.PHP_EOL;
|
328 |
if( isset($instance['media_3pr_image_3'], $instance['media_3pr_image_sp_3']) ): ?>
|
329 |
<div class="media_pr">
|
330 |
+
<?php if( !empty($instance['linkurl_3']) ): // has link ?>
|
331 |
<a href="<?php echo esc_url($instance['linkurl_3']); ?>" >
|
332 |
<?php if( !empty($instance['media_3pr_image_3']) ): ?>
|
333 |
<img <?php if( !empty($instance['media_3pr_image_sp_3']) ){ echo 'class="media_pc"'; } ?> src="<?php echo esc_url($instance['media_3pr_image_3']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_3']); ?>" />
|
334 |
+
<?php endif;
|
335 |
if( !empty($instance['media_3pr_image_sp_3']) ): ?>
|
336 |
<img class="media_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_3']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_3']); ?>" />
|
337 |
<?php endif; ?>
|
342 |
<?php endif;
|
343 |
if( !empty($instance['media_3pr_image_sp_3']) ): ?>
|
344 |
<img class="media_sp" src="<?php echo esc_url($instance['media_3pr_image_sp_3']); ?>" alt="<?php echo esc_attr($instance['media_3pr_alt_sp_3']); ?>" />
|
345 |
+
<?php endif;
|
346 |
endif; ?>
|
347 |
</div>
|
348 |
+
<!--//.media_pr -->
|
349 |
<?php endif;
|
350 |
if( !empty($instance['summary_3']) ){
|
351 |
echo '<p class="summary">'.nl2br(esc_attr($instance['summary_3'])).'</p>'.PHP_EOL;
|
352 |
+
}
|
353 |
if( !empty($instance['linkurl_3']) ){
|
354 |
echo '<p class="linkurl"><a href="'.esc_attr($instance['linkurl_3']).'" class="btn btn-default btn-sm">'.__('Read more', 'vkExUnit' ).'</a></p>';
|
355 |
} ?>
|
358 |
<?php endif; ?>
|
359 |
</div>
|
360 |
<?php }
|
361 |
+
}
|
362 |
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_vkExUnit_3PR_area");'));
|
363 |
|
364 |
// メディアアップローダーjs
|
365 |
function my_admin_scripts_3pr() {
|
|
|
366 |
wp_enqueue_media();
|
367 |
wp_register_script( 'mediauploader-3pr', plugin_dir_url( __FILE__ ) . 'js/widget-3pr-uploader.js', array( 'jquery' ), false, true );
|
|
|
368 |
wp_enqueue_script( 'mediauploader-3pr' );
|
369 |
}
|
370 |
add_action( 'admin_print_scripts', 'my_admin_scripts_3pr' );
|
plugins/other_widget/widget-archives.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
/* Archive list widget
|
5 |
/*-------------------------------------------*/
|
6 |
class WP_Widget_VK_archive_list extends WP_Widget {
|
7 |
-
|
8 |
function __construct() {
|
9 |
$widget_name = 'VK_' . __( 'archive list', 'vkExUnit' );
|
10 |
|
@@ -15,6 +15,7 @@ class WP_Widget_VK_archive_list extends WP_Widget {
|
|
15 |
);
|
16 |
}
|
17 |
|
|
|
18 |
function widget($args, $instance) {
|
19 |
$arg = array(
|
20 |
'echo' => 1,
|
@@ -43,6 +44,7 @@ class WP_Widget_VK_archive_list extends WP_Widget {
|
|
43 |
<?php
|
44 |
}
|
45 |
|
|
|
46 |
function form($instance){
|
47 |
$defaults = array(
|
48 |
'post_type' => 'post',
|
@@ -98,18 +100,16 @@ class WP_Widget_VK_archive_list extends WP_Widget {
|
|
98 |
<?php
|
99 |
}
|
100 |
|
|
|
101 |
function update($new_instance, $old_instance){
|
102 |
$instance = $old_instance;
|
103 |
-
|
104 |
$instance['post_type'] = $new_instance['post_type'];
|
105 |
$instance['display_type'] = $new_instance['display_type'];
|
106 |
-
|
107 |
if(!$new_instance['label']){
|
108 |
$new_instance['label'] = $new_instance['hide'];
|
109 |
}
|
110 |
$instance['label'] = $new_instance['label'];
|
111 |
-
|
112 |
return $instance;
|
113 |
}
|
114 |
-
}
|
115 |
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_VK_archive_list");'));
|
4 |
/* Archive list widget
|
5 |
/*-------------------------------------------*/
|
6 |
class WP_Widget_VK_archive_list extends WP_Widget {
|
7 |
+
|
8 |
function __construct() {
|
9 |
$widget_name = 'VK_' . __( 'archive list', 'vkExUnit' );
|
10 |
|
15 |
);
|
16 |
}
|
17 |
|
18 |
+
|
19 |
function widget($args, $instance) {
|
20 |
$arg = array(
|
21 |
'echo' => 1,
|
44 |
<?php
|
45 |
}
|
46 |
|
47 |
+
|
48 |
function form($instance){
|
49 |
$defaults = array(
|
50 |
'post_type' => 'post',
|
100 |
<?php
|
101 |
}
|
102 |
|
103 |
+
|
104 |
function update($new_instance, $old_instance){
|
105 |
$instance = $old_instance;
|
|
|
106 |
$instance['post_type'] = $new_instance['post_type'];
|
107 |
$instance['display_type'] = $new_instance['display_type'];
|
|
|
108 |
if(!$new_instance['label']){
|
109 |
$new_instance['label'] = $new_instance['hide'];
|
110 |
}
|
111 |
$instance['label'] = $new_instance['label'];
|
|
|
112 |
return $instance;
|
113 |
}
|
114 |
+
}
|
115 |
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_VK_archive_list");'));
|
plugins/other_widget/widget-new-posts.php
CHANGED
@@ -33,7 +33,7 @@ class WP_Widget_vkExUnit_post_list extends WP_Widget {
|
|
33 |
'posts_per_page' => $count,
|
34 |
'paged' => 1,
|
35 |
);
|
36 |
-
|
37 |
if(isset($instance['terms']) && $instance['terms']){
|
38 |
$taxonomies = get_taxonomies(array());
|
39 |
$args['tax_query'] = array(
|
@@ -54,18 +54,15 @@ class WP_Widget_vkExUnit_post_list extends WP_Widget {
|
|
54 |
while ( $post_loop->have_posts() ) : $post_loop->the_post(); ?>
|
55 |
|
56 |
<div class="media" id="post-<?php the_ID(); ?>">
|
57 |
-
|
58 |
<?php if ( has_post_thumbnail()) : ?>
|
59 |
<div class="media-left postList_thumbnail">
|
60 |
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('thumbnail'); ?></a>
|
61 |
</div>
|
62 |
<?php endif; ?>
|
63 |
-
|
64 |
<div class="media-body">
|
65 |
<h4 class="media-heading"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
|
66 |
-
<div class="published vkExUnit_entry-meta_items"><?php echo get_the_date(); ?></div>
|
67 |
</div>
|
68 |
-
|
69 |
</div>
|
70 |
|
71 |
<?php endwhile;
|
@@ -77,7 +74,6 @@ class WP_Widget_vkExUnit_post_list extends WP_Widget {
|
|
77 |
} // widget($args, $instance)
|
78 |
|
79 |
function form ($instance) {
|
80 |
-
|
81 |
$defaults = array(
|
82 |
'count' => 10,
|
83 |
'label' => __('Recent Posts', 'vkExUnit' ),
|
@@ -86,10 +82,7 @@ class WP_Widget_vkExUnit_post_list extends WP_Widget {
|
|
86 |
);
|
87 |
|
88 |
$instance = wp_parse_args((array) $instance, $defaults);
|
89 |
-
|
90 |
-
?>
|
91 |
-
|
92 |
-
<?php //タイトル ?>
|
93 |
<label for="<?php echo $this->get_field_id('label'); ?>"><?php _e('Title:'); ?></label><br/>
|
94 |
<input type="text" id="<?php echo $this->get_field_id('label'); ?>-title" name="<?php echo $this->get_field_name('label'); ?>" value="<?php echo $instance['label']; ?>" />
|
95 |
<br/><br />
|
@@ -114,16 +107,13 @@ class WP_Widget_vkExUnit_post_list extends WP_Widget {
|
|
114 |
}
|
115 |
|
116 |
function update ($new_instance, $old_instance) {
|
117 |
-
|
118 |
$instance = $old_instance;
|
119 |
-
|
120 |
$instance['count'] = $new_instance['count'];
|
121 |
$instance['label'] = $new_instance['label'];
|
122 |
$instance['post_type'] = !empty($new_instance['post_type']) ? strip_tags($new_instance['post_type']) : 'post';
|
123 |
$instance['terms'] = preg_replace('/([^0-9,]+)/', '', $new_instance['terms']);
|
124 |
-
|
125 |
return $instance;
|
126 |
}
|
127 |
|
128 |
-
}
|
129 |
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_vkExUnit_post_list");'));
|
33 |
'posts_per_page' => $count,
|
34 |
'paged' => 1,
|
35 |
);
|
36 |
+
|
37 |
if(isset($instance['terms']) && $instance['terms']){
|
38 |
$taxonomies = get_taxonomies(array());
|
39 |
$args['tax_query'] = array(
|
54 |
while ( $post_loop->have_posts() ) : $post_loop->the_post(); ?>
|
55 |
|
56 |
<div class="media" id="post-<?php the_ID(); ?>">
|
|
|
57 |
<?php if ( has_post_thumbnail()) : ?>
|
58 |
<div class="media-left postList_thumbnail">
|
59 |
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('thumbnail'); ?></a>
|
60 |
</div>
|
61 |
<?php endif; ?>
|
|
|
62 |
<div class="media-body">
|
63 |
<h4 class="media-heading"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
|
64 |
+
<div class="published vkExUnit_entry-meta_items"><?php echo get_the_date(); ?></div>
|
65 |
</div>
|
|
|
66 |
</div>
|
67 |
|
68 |
<?php endwhile;
|
74 |
} // widget($args, $instance)
|
75 |
|
76 |
function form ($instance) {
|
|
|
77 |
$defaults = array(
|
78 |
'count' => 10,
|
79 |
'label' => __('Recent Posts', 'vkExUnit' ),
|
82 |
);
|
83 |
|
84 |
$instance = wp_parse_args((array) $instance, $defaults);
|
85 |
+
//タイトル ?>
|
|
|
|
|
|
|
86 |
<label for="<?php echo $this->get_field_id('label'); ?>"><?php _e('Title:'); ?></label><br/>
|
87 |
<input type="text" id="<?php echo $this->get_field_id('label'); ?>-title" name="<?php echo $this->get_field_name('label'); ?>" value="<?php echo $instance['label']; ?>" />
|
88 |
<br/><br />
|
107 |
}
|
108 |
|
109 |
function update ($new_instance, $old_instance) {
|
|
|
110 |
$instance = $old_instance;
|
|
|
111 |
$instance['count'] = $new_instance['count'];
|
112 |
$instance['label'] = $new_instance['label'];
|
113 |
$instance['post_type'] = !empty($new_instance['post_type']) ? strip_tags($new_instance['post_type']) : 'post';
|
114 |
$instance['terms'] = preg_replace('/([^0-9,]+)/', '', $new_instance['terms']);
|
|
|
115 |
return $instance;
|
116 |
}
|
117 |
|
118 |
+
}
|
119 |
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_vkExUnit_post_list");'));
|
plugins/other_widget/widget-page.php
CHANGED
@@ -43,21 +43,21 @@ class WP_Widget_vkExUnit_widget_page extends WP_Widget {
|
|
43 |
</p>
|
44 |
<?php
|
45 |
}
|
46 |
-
|
47 |
function update($new_instance, $old_instance){
|
48 |
$instance = $old_instance;
|
49 |
$instance['page_id'] = $new_instance['page_id'];
|
50 |
$instance['set_title'] = ($new_instance['set_title'] == 'true')? true : false;
|
51 |
return $instance;
|
52 |
}
|
53 |
-
|
54 |
function display_page($pageid,$titleflag=false) {
|
55 |
-
|
56 |
$page = get_page($pageid);
|
57 |
echo PHP_EOL.'<div id="widget-page-'.$pageid.'" class="widget widget_pageContent">'.PHP_EOL;
|
58 |
if($titleflag){ echo '<h1 class="widget-title">'.$page->post_title.'</h1>'.PHP_EOL; }
|
59 |
echo apply_filters('the_content', $page->post_content );
|
60 |
-
|
61 |
if ( is_user_logged_in() == TRUE ) {
|
62 |
global $user_level;
|
63 |
get_currentuserinfo();
|
43 |
</p>
|
44 |
<?php
|
45 |
}
|
46 |
+
|
47 |
function update($new_instance, $old_instance){
|
48 |
$instance = $old_instance;
|
49 |
$instance['page_id'] = $new_instance['page_id'];
|
50 |
$instance['set_title'] = ($new_instance['set_title'] == 'true')? true : false;
|
51 |
return $instance;
|
52 |
}
|
53 |
+
|
54 |
function display_page($pageid,$titleflag=false) {
|
55 |
+
|
56 |
$page = get_page($pageid);
|
57 |
echo PHP_EOL.'<div id="widget-page-'.$pageid.'" class="widget widget_pageContent">'.PHP_EOL;
|
58 |
if($titleflag){ echo '<h1 class="widget-title">'.$page->post_title.'</h1>'.PHP_EOL; }
|
59 |
echo apply_filters('the_content', $page->post_content );
|
60 |
+
|
61 |
if ( is_user_logged_in() == TRUE ) {
|
62 |
global $user_level;
|
63 |
get_currentuserinfo();
|
plugins/other_widget/widget-pr-blocks.php
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
-
<?php
|
|
|
2 |
/*-------------------------------------------*/
|
3 |
/* VK PR Blocks
|
4 |
/*-------------------------------------------*/
|
@@ -17,7 +18,7 @@ class WP_Widget_vkExUnit_PR_Blocks extends WP_Widget {
|
|
17 |
function form($instance){
|
18 |
$defaults = array(
|
19 |
'block_count' => 3,
|
20 |
-
|
21 |
'label_1' => __( 'Service', 'vkExUnit' ),
|
22 |
'media_image_1' => '',
|
23 |
'media_alt_1' => '',
|
@@ -25,7 +26,7 @@ class WP_Widget_vkExUnit_PR_Blocks extends WP_Widget {
|
|
25 |
'iconFont_bgColor_1' => '#337ab7',
|
26 |
'summary_1' => '',
|
27 |
'linkurl_1' => '',
|
28 |
-
|
29 |
'label_2' => __( 'Company', 'vkExUnit' ),
|
30 |
'media_image_2' => '',
|
31 |
'media_alt_2' => '',
|
@@ -33,7 +34,7 @@ class WP_Widget_vkExUnit_PR_Blocks extends WP_Widget {
|
|
33 |
'iconFont_bgColor_2' => '#337ab7',
|
34 |
'summary_2' => '',
|
35 |
'linkurl_2' => '',
|
36 |
-
|
37 |
'label_3' => __( 'Recruit', 'vkExUnit' ),
|
38 |
'media_image_3' => '',
|
39 |
'media_alt_3' => '',
|
@@ -41,7 +42,7 @@ class WP_Widget_vkExUnit_PR_Blocks extends WP_Widget {
|
|
41 |
'iconFont_bgColor_3' => '#337ab7',
|
42 |
'summary_3' => '',
|
43 |
'linkurl_3' => '',
|
44 |
-
|
45 |
'label_4' => __( 'Contact', 'vkExUnit' ),
|
46 |
'media_image_4' => '',
|
47 |
'media_alt_4' => '',
|
@@ -62,68 +63,68 @@ class WP_Widget_vkExUnit_PR_Blocks extends WP_Widget {
|
|
62 |
</select><br>
|
63 |
<?php _e( 'If you change the number of columns, click to "Save" botton and exit the edit page. When restart the edit page, the column input form is increased or decreased.', 'vkExUnit' ); ?>
|
64 |
</p>
|
65 |
-
|
66 |
-
<?php // PR Blocks
|
67 |
-
for ( $i = 1; $i <= intval($instance['block_count']); ) {
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
}
|
106 |
-
echo '</div>';
|
107 |
-
|
108 |
-
// summary text
|
109 |
-
echo '<p><label for="'.$this->get_field_id('summary_'.$i).'">'.__( 'Summary Text:', 'vkExUnit' ).'</label><br/></p>'.
|
110 |
-
'<textarea rows="4" cols="40" id="'.$this->get_field_id('summary_'.$i).'_text" class="pr_input textarea" name="'.$this->get_field_name('summary_'.$i).'">'.$instance['summary_'.$i].'</textarea>';
|
111 |
-
|
112 |
-
// link_URL
|
113 |
-
echo '<p><label for="'.$this->get_field_id('linkurl_'.$i).'">'.__( 'Link URL:', 'vkExUnit' ).'</label><br/>'.
|
114 |
-
'<input type="text" id="'.$this->get_field_id('linkurl_'.$i).'_title" class="pr_input" name="'.$this->get_field_name('linkurl_'.$i).'" value="'.$instance['linkurl_'.$i].'" /></p>';
|
115 |
-
|
116 |
-
$i++;
|
117 |
-
}
|
118 |
|
119 |
-
} // WP_Widget end
|
120 |
-
|
121 |
-
function update ($new_instance, $old_instance) {
|
122 |
-
$instance = $old_instance;
|
123 |
-
|
124 |
-
$instance['block_count'] = $new_instance['block_count'];
|
125 |
|
126 |
-
|
|
|
|
|
|
|
|
|
|
|
127 |
$instance['label_'.$i] = $new_instance['label_'.$i];
|
128 |
$instance['media_image_'.$i] = $new_instance['media_image_'.$i];
|
129 |
$instance['media_alt_'.$i] = $new_instance['media_alt_'.$i];
|
@@ -131,58 +132,56 @@ for ( $i = 1; $i <= intval($instance['block_count']); ) {
|
|
131 |
$instance['iconFont_bgColor_'.$i] = $new_instance['iconFont_bgColor_'.$i];
|
132 |
$instance['summary_'.$i] = $new_instance['summary_'.$i];
|
133 |
$instance['linkurl_'.$i] = $new_instance['linkurl_'.$i];
|
134 |
-
$i++;
|
135 |
}
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
function widget($args, $instance) {
|
141 |
-
echo PHP_EOL.'<div class="widget pr_blocks">'.PHP_EOL;
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
|
|
|
|
|
|
|
|
177 |
}
|
178 |
-
|
179 |
-
echo '</article>'.PHP_EOL;
|
180 |
-
echo '<!--//.prArea -->'.PHP_EOL;
|
181 |
}
|
182 |
-
$i++;
|
183 |
-
}
|
184 |
-
echo '</div>'.PHP_EOL.'<!-- //.pr_blocks -->';
|
185 |
-
}
|
186 |
}
|
187 |
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_vkExUnit_PR_Blocks");'));
|
188 |
|
@@ -207,27 +206,25 @@ function print_scripts_pr_color() { ?>
|
|
207 |
(function($){
|
208 |
function initColorPicker(widget) {
|
209 |
widget.find( '.color_picker' ).wpColorPicker( {
|
210 |
-
change: _.throttle( function() {
|
211 |
$(this).trigger('change');
|
212 |
}, 3000 )
|
213 |
});
|
214 |
}
|
215 |
-
|
216 |
function onFormUpdate(event, widget) {
|
217 |
initColorPicker(widget);
|
218 |
}
|
219 |
-
|
220 |
$(document).on('widget-added widget-updated', onFormUpdate );
|
221 |
-
|
222 |
$(document).ready( function() {
|
223 |
$('#widgets-right .widget:has(.color_picker)').each( function () {
|
224 |
initColorPicker( $(this) );
|
225 |
});
|
226 |
});
|
227 |
}(jQuery));
|
228 |
-
</script>
|
229 |
<?php }
|
230 |
-
|
231 |
// PR blocks admin CSS
|
232 |
add_action("admin_print_styles-widgets.php", "style_prBlocks");
|
233 |
function style_prBlocks() {
|
1 |
+
<?php
|
2 |
+
|
3 |
/*-------------------------------------------*/
|
4 |
/* VK PR Blocks
|
5 |
/*-------------------------------------------*/
|
18 |
function form($instance){
|
19 |
$defaults = array(
|
20 |
'block_count' => 3,
|
21 |
+
|
22 |
'label_1' => __( 'Service', 'vkExUnit' ),
|
23 |
'media_image_1' => '',
|
24 |
'media_alt_1' => '',
|
26 |
'iconFont_bgColor_1' => '#337ab7',
|
27 |
'summary_1' => '',
|
28 |
'linkurl_1' => '',
|
29 |
+
|
30 |
'label_2' => __( 'Company', 'vkExUnit' ),
|
31 |
'media_image_2' => '',
|
32 |
'media_alt_2' => '',
|
34 |
'iconFont_bgColor_2' => '#337ab7',
|
35 |
'summary_2' => '',
|
36 |
'linkurl_2' => '',
|
37 |
+
|
38 |
'label_3' => __( 'Recruit', 'vkExUnit' ),
|
39 |
'media_image_3' => '',
|
40 |
'media_alt_3' => '',
|
42 |
'iconFont_bgColor_3' => '#337ab7',
|
43 |
'summary_3' => '',
|
44 |
'linkurl_3' => '',
|
45 |
+
|
46 |
'label_4' => __( 'Contact', 'vkExUnit' ),
|
47 |
'media_image_4' => '',
|
48 |
'media_alt_4' => '',
|
63 |
</select><br>
|
64 |
<?php _e( 'If you change the number of columns, click to "Save" botton and exit the edit page. When restart the edit page, the column input form is increased or decreased.', 'vkExUnit' ); ?>
|
65 |
</p>
|
66 |
+
|
67 |
+
<?php // PR Blocks
|
68 |
+
for ( $i = 1; $i <= intval($instance['block_count']); ) {
|
69 |
+
|
70 |
+
// PR Block admin title
|
71 |
+
echo '<h5 class="pr_subTitle">'.__( 'PR Block'.$i.' setting', 'vkExUnit' ).'</h5>';
|
72 |
+
|
73 |
+
// PR Block display title
|
74 |
+
echo '<p><label for="'.$this->get_field_id('label_'.$i).'">'.__( 'Title:', 'vkExUnit' ).'</label><br/>'.
|
75 |
+
'<input type="text" id="'.$this->get_field_id('label_'.$i).'-title" class="pr-input" name="'.$this->get_field_name('label_'.$i).'" value="'.$instance['label_'.$i].'" /></p>';
|
76 |
+
|
77 |
+
// icon font class input
|
78 |
+
echo '<p><label for="'.$this->get_field_id('iconFont_'.$i).'">'.__( 'Class name of the icon font you want to use:', 'vkExUnit' ).'</label><br/>'.
|
79 |
+
'[ <a href="http://fortawesome.github.io/Font-Awesome/icons/" target="_blank">Font Awesome Icons</a> ]<br/>
|
80 |
+
<input type="text" id="'.$this->get_field_id('iconFont_class_'.$i).'-font" class="font_class" name="'.$this->get_field_name('iconFont_class_'.$i).'" value="'.$instance['iconFont_class_'.$i].'" /><br>'
|
81 |
+
.__( 'To choose your favorite icon, and enter the class.', 'vkExUnit').'<br>'.__(' ex:fa-file-text-o', 'vkExUnit' ).'</p>';
|
82 |
+
|
83 |
+
// icon font background color
|
84 |
+
echo '<p class="color_picker_wrap">'.
|
85 |
+
'<label for="'.$this->get_field_id('iconFont_bgColor_'.$i).'">'.__( 'Icon bg-color:', 'vkExUnit' ).'</label><br/>'.
|
86 |
+
'<input type="text" id="'.$this->get_field_id('iconFont_bgColor_'.$i).'-color" class="color_picker" name="'.$this->get_field_name('iconFont_bgColor_'.$i).'" value="'.$instance['iconFont_bgColor_'.$i].'" /></p>';
|
87 |
+
|
88 |
+
// media uploader imageurl input area
|
89 |
+
echo '<p><label for="'.$this->get_field_id('media_image_'.$i).'">'.__( 'Select image:', 'vkExUnit' ).'</label><br/>'.
|
90 |
+
'<input type="hidden" class="pr_media_image '.$this->get_field_id('media_image_'.$i).'" id="'.$this->get_field_id('media_image_'.$i).'-image" name="'.$this->get_field_name('media_image_'.$i).'" value="'.esc_attr($instance['media_image_'.$i]).'" />';
|
91 |
+
|
92 |
+
// media uploader imagealt input area
|
93 |
+
echo '<input type="hidden" class="pr_media_alt" id="'.$this->get_field_id('media_alt_'.$i).'-alt" name="'.$this->get_field_name('media_alt_'.$i).'" value="'.esc_attr($instance['media_alt_'.$i]).'" />';
|
94 |
+
|
95 |
+
// media uploader select btn
|
96 |
+
echo '<input type="button" class="media_select" value="'.__( 'Select image', 'vkExUnit' ).'" onclick="clickSelectPrBroks(event.target);" />';
|
97 |
+
|
98 |
+
// media uploader clear btn
|
99 |
+
echo '<input type="button" class="media_clear" value="'.__( 'Clear image', 'vkExUnit' ).'" onclick="clickClearPrBroks(event.target);" />'.
|
100 |
+
'<br />'.__( 'When you have an image. Image is displayed with priority', 'vkExUnit' ).'</p>';
|
101 |
+
|
102 |
+
// media image display
|
103 |
+
echo '<div class="media image_pr">';
|
104 |
+
if(!empty($instance['media_image_'.$i])){
|
105 |
+
echo '<img class="media_img" src="'.esc_url($instance['media_image_'.$i]).'" alt="'. esc_attr($instance['media_alt_'.$i]).'" />';
|
106 |
+
}
|
107 |
+
echo '</div>';
|
108 |
+
|
109 |
+
// summary text
|
110 |
+
echo '<p><label for="'.$this->get_field_id('summary_'.$i).'">'.__( 'Summary Text:', 'vkExUnit' ).'</label><br/></p>'.
|
111 |
+
'<textarea rows="4" cols="40" id="'.$this->get_field_id('summary_'.$i).'_text" class="pr_input textarea" name="'.$this->get_field_name('summary_'.$i).'">'.$instance['summary_'.$i].'</textarea>';
|
112 |
+
|
113 |
+
// link_URL
|
114 |
+
echo '<p><label for="'.$this->get_field_id('linkurl_'.$i).'">'.__( 'Link URL:', 'vkExUnit' ).'</label><br/>'.
|
115 |
+
'<input type="text" id="'.$this->get_field_id('linkurl_'.$i).'_title" class="pr_input" name="'.$this->get_field_name('linkurl_'.$i).'" value="'.$instance['linkurl_'.$i].'" /></p>';
|
116 |
+
|
117 |
+
$i++;
|
118 |
+
}
|
119 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
|
122 |
+
function update ($new_instance, $old_instance) {
|
123 |
+
$instance = $old_instance;
|
124 |
+
|
125 |
+
$instance['block_count'] = $new_instance['block_count'];
|
126 |
+
|
127 |
+
for ( $i = 1; $i <= 4; ) {
|
128 |
$instance['label_'.$i] = $new_instance['label_'.$i];
|
129 |
$instance['media_image_'.$i] = $new_instance['media_image_'.$i];
|
130 |
$instance['media_alt_'.$i] = $new_instance['media_alt_'.$i];
|
132 |
$instance['iconFont_bgColor_'.$i] = $new_instance['iconFont_bgColor_'.$i];
|
133 |
$instance['summary_'.$i] = $new_instance['summary_'.$i];
|
134 |
$instance['linkurl_'.$i] = $new_instance['linkurl_'.$i];
|
135 |
+
$i++;
|
136 |
}
|
137 |
+
return $instance;
|
138 |
+
}
|
139 |
+
|
140 |
+
|
141 |
+
function widget($args, $instance) {
|
142 |
+
echo PHP_EOL.'<div class="widget pr_blocks">'.PHP_EOL;
|
143 |
+
|
144 |
+
$widget_block_count = ( isset($instance['block_count'])) ? intval($instance['block_count']) : 3;
|
145 |
+
|
146 |
+
// Print widget area
|
147 |
+
for ( $i = 1; $i <= $widget_block_count; ) {
|
148 |
+
if( isset($instance['label_'.$i]) && $instance['label_'.$i] ){
|
149 |
+
echo '<article class="prArea">'.PHP_EOL;
|
150 |
+
if( !empty($instance['linkurl_'.$i]) ){
|
151 |
+
echo '<a href="'.esc_url($instance['linkurl_'.$i]).'">'.PHP_EOL ;
|
152 |
+
}
|
153 |
+
// icon font display
|
154 |
+
if( empty($instance['media_image_'.$i]) && !empty($instance['iconFont_class_'.$i])){
|
155 |
+
echo '<div class="circle_icon" style="background-color:'.esc_attr($instance['iconFont_bgColor_'.$i]).'">';
|
156 |
+
echo '<i class="fa '.esc_attr($instance['iconFont_class_'.$i]).' font_icon"></i></div>'.PHP_EOL;
|
157 |
+
// image display
|
158 |
+
} else if( !empty($instance['media_image_'.$i]) ) {
|
159 |
+
echo '<div class="media_pr">'.PHP_EOL;
|
160 |
+
echo '<img class="pr_image" src="'.esc_url($instance['media_image_'.$i]).'" alt="'.esc_attr($instance['media_alt_'.$i]).'" />'.PHP_EOL.'</div><!--//.media_pr -->'.PHP_EOL;
|
161 |
+
}
|
162 |
+
// title text
|
163 |
+
echo '<h1 class="prBox_title">';
|
164 |
+
if ( isset($instance['label_'.$i]) && $instance['label_'.$i] ) {
|
165 |
+
echo $instance['label_'.$i];
|
166 |
+
} else {
|
167 |
+
_e("PR Block", 'vkExUnit' );
|
168 |
+
}
|
169 |
+
echo '</h1>'.PHP_EOL;
|
170 |
+
// summary text
|
171 |
+
if( !empty($instance['summary_'.$i]) ){
|
172 |
+
echo '<p class="summary">'.nl2br(esc_attr($instance['summary_'.$i])).'</p>'.PHP_EOL;
|
173 |
+
}
|
174 |
+
if( !empty($instance['linkurl_'.$i]) ){
|
175 |
+
echo '</a>'.PHP_EOL;
|
176 |
+
}
|
177 |
+
|
178 |
+
echo '</article>'.PHP_EOL;
|
179 |
+
echo '<!--//.prArea -->'.PHP_EOL;
|
180 |
+
}
|
181 |
+
$i++;
|
182 |
}
|
183 |
+
echo '</div>'.PHP_EOL.'<!-- //.pr_blocks -->';
|
|
|
|
|
184 |
}
|
|
|
|
|
|
|
|
|
185 |
}
|
186 |
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_vkExUnit_PR_Blocks");'));
|
187 |
|
206 |
(function($){
|
207 |
function initColorPicker(widget) {
|
208 |
widget.find( '.color_picker' ).wpColorPicker( {
|
209 |
+
change: _.throttle( function() {
|
210 |
$(this).trigger('change');
|
211 |
}, 3000 )
|
212 |
});
|
213 |
}
|
214 |
+
|
215 |
function onFormUpdate(event, widget) {
|
216 |
initColorPicker(widget);
|
217 |
}
|
|
|
218 |
$(document).on('widget-added widget-updated', onFormUpdate );
|
|
|
219 |
$(document).ready( function() {
|
220 |
$('#widgets-right .widget:has(.color_picker)').each( function () {
|
221 |
initColorPicker( $(this) );
|
222 |
});
|
223 |
});
|
224 |
}(jQuery));
|
225 |
+
</script>
|
226 |
<?php }
|
227 |
+
|
228 |
// PR blocks admin CSS
|
229 |
add_action("admin_print_styles-widgets.php", "style_prBlocks");
|
230 |
function style_prBlocks() {
|
plugins/other_widget/widget-profile.php
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<?php
|
2 |
|
3 |
/*-------------------------------------------*/
|
4 |
/* Side Profile widget
|
@@ -35,23 +35,19 @@ class WP_Widget_vkExUnit_profile extends WP_Widget {
|
|
35 |
);
|
36 |
$instance = wp_parse_args((array) $instance, $defaults);
|
37 |
?>
|
38 |
-
|
39 |
<?php //title ?>
|
40 |
<p><label for="<?php echo $this->get_field_id('label'); ?>"><?php _e('Title:', 'vkExUnit'); ?></label><br/>
|
41 |
<input type="text" id="<?php echo $this->get_field_id('label'); ?>_title" class="prof_input" name="<?php echo $this->get_field_name('label'); ?>" value="<?php echo $instance['label']; ?>" />
|
42 |
</p>
|
43 |
-
|
44 |
<?php //media uploader ?>
|
45 |
<p><label for="<?php echo $this->get_field_id('profile'); ?>"><?php _e('Select Profile image:', 'vkExUnit'); ?></label><br/>
|
46 |
-
|
47 |
<input type="hidden" class="media_url" id="<?php echo $this->get_field_id('mediaFile'); ?>_media" name="<?php echo $this->get_field_name('mediaFile'); ?>" value="<?php echo esc_attr($instance['mediaFile']); ?>" />
|
48 |
-
|
49 |
<input type="hidden" class="media_alt" id="<?php echo $this->get_field_id('mediaAlt'); ?>_media" name="<?php echo $this->get_field_name('mediaAlt'); ?>" value="<?php echo esc_attr($instance['mediaAlt']); ?>" />
|
50 |
-
|
51 |
<input type="button" class="media_select" value="<?php _e('Select image', 'vkExUnit'); ?>" onclick="clickSelect(event.target);" />
|
52 |
<input type="button" class="media_clear" value="<?php _e('Clear image', 'vkExUnit'); ?>" onclick="clickClear(event.target);" />
|
53 |
</p>
|
54 |
-
|
55 |
<div class="media">
|
56 |
<?php if(!empty($instance['mediaFile'])): ?>
|
57 |
<img class="media_image" src="<?php echo esc_url($instance['mediaFile']); ?>" alt="<?php echo esc_attr($instance['mediaAlt']); ?>" />
|
@@ -61,62 +57,61 @@ class WP_Widget_vkExUnit_profile extends WP_Widget {
|
|
61 |
<?php //image round setting ?>
|
62 |
<p><input type="checkbox" id="<?php echo $this->get_field_id('mediaRound'); ?>_round" name="<?php echo $this->get_field_name('mediaRound'); ?>" value="true" <?php echo ($instance['mediaRound'])? 'checked': '' ; ?> ><label for="<?php echo $this->get_field_id('mediaRound'); ?>"><?php _e('Cut out round the image.', 'vkExUnit'); ?></label>
|
63 |
</p>
|
64 |
-
|
65 |
-
|
66 |
<p><label for="<?php echo $this->get_field_id('mediaSize'); ?>"><?php _e('Media size (Optional)', 'vkExUnit'); ?></label><br/>
|
67 |
<input type="text" id="<?php echo $this->get_field_id('mediaSize'); ?>_size" class="prof_input" name="<?php echo $this->get_field_name('mediaSize'); ?>" style="width:50px;" value="<?php echo $instance['mediaSize']; ?>" /> px
|
68 |
</p>
|
69 |
|
70 |
-
|
71 |
<p><input type="checkbox" id="<?php echo $this->get_field_id('mediaAlign_left'); ?>_round" name="<?php echo $this->get_field_name('mediaAlign_left'); ?>" value="true" <?php echo ($instance['mediaAlign_left'])? 'checked': '' ; ?> ><label for="<?php echo $this->get_field_id('mediaAlign_left'); ?>"><?php _e('Image align left', 'vkExUnit'); ?></label>
|
72 |
</p>
|
73 |
|
74 |
<?php //image float setting ?>
|
75 |
<p><input type="checkbox" id="<?php echo $this->get_field_id('mediaFloat'); ?>_float" name="<?php echo $this->get_field_name('mediaFloat'); ?>" value="true" <?php echo ($instance['mediaFloat'])? 'checked': '' ; ?> ><label for="<?php echo $this->get_field_id('mediaFloat'); ?>"><?php _e('Text float to image.', 'vkExUnit'); ?></label><br/>
|
76 |
</p>
|
77 |
-
|
78 |
<?php //profile text ?>
|
79 |
<p><label for="<?php echo $this->get_field_id('profile'); ?>"><?php _e('Profile Text:', 'vkExUnit'); ?></label></p>
|
80 |
-
|
81 |
<textarea rows="4" cols="40" id="<?php echo $this->get_field_id('profile'); ?>_text" class="prof_input textarea" name="<?php echo $this->get_field_name('profile'); ?>"><?php echo $instance['profile']; ?></textarea>
|
82 |
-
|
83 |
-
|
84 |
<p><label for="<?php echo $this->get_field_id('facebook'); ?>"><?php _e('Facebook URL:', 'vkExUnit'); ?></label><br/>
|
85 |
<input type="text" id="<?php echo $this->get_field_id('facebook'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('facebook'); ?>" value="<?php echo $instance['facebook']; ?>" />
|
86 |
</p>
|
87 |
-
|
88 |
<?php //twitter_URL ?>
|
89 |
<p><label for="<?php echo $this->get_field_id('twitter'); ?>"><?php _e('Twitter URL:', 'vkExUnit'); ?></label><br/>
|
90 |
<input type="text" id="<?php echo $this->get_field_id('twitter'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('twitter'); ?>" value="<?php echo $instance['twitter']; ?>" />
|
91 |
</p>
|
92 |
-
|
93 |
<?php //mail_URL ?>
|
94 |
<p><label for="<?php echo $this->get_field_id('mail'); ?>"><?php _e('Email Address:', 'vkExUnit'); ?></label><br/>
|
95 |
<input type="text" id="<?php echo $this->get_field_id('mail'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('mail'); ?>" value="<?php echo $instance['mail']; ?>" />
|
96 |
</p>
|
97 |
-
|
98 |
<?php //youtube_URL ?>
|
99 |
<p><label for="<?php echo $this->get_field_id('youtube'); ?>"><?php _e('Youtube URL:', 'vkExUnit'); ?></label><br/>
|
100 |
<input type="text" id="<?php echo $this->get_field_id('youtube'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('youtube'); ?>" value="<?php echo $instance['youtube']; ?>" />
|
101 |
</p>
|
102 |
-
|
103 |
<?php //rss_URL ?>
|
104 |
<p><label for="<?php echo $this->get_field_id('rss'); ?>"><?php _e('RSS URL:', 'vkExUnit'); ?></label><br/>
|
105 |
<input type="text" id="<?php echo $this->get_field_id('rss'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('rss'); ?>" value="<?php echo $instance['rss']; ?>" />
|
106 |
</p>
|
107 |
-
|
108 |
<?php //instagram_URL ?>
|
109 |
<p><label for="<?php echo $this->get_field_id('instagram'); ?>"><?php _e('instagram URL:', 'vkExUnit'); ?></label><br/>
|
110 |
<input type="text" id="<?php echo $this->get_field_id('instagram'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('instagram'); ?>" value="<?php echo $instance['instagram']; ?>" /></p>
|
111 |
-
|
112 |
<?php //linkedin_URL ?>
|
113 |
<p><label for="<?php echo $this->get_field_id('linkedin'); ?>"><?php _e('linkedin URL:', 'vkExUnit'); ?></label><br/>
|
114 |
<input type="text" id="<?php echo $this->get_field_id('linkedin'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('linkedin'); ?>" value="<?php echo $instance['linkedin']; ?>" /></p>
|
115 |
-
|
116 |
<?php }
|
117 |
-
|
|
|
118 |
function update ($new_instance, $old_instance) {
|
119 |
-
|
120 |
$instance = $old_instance;
|
121 |
$instance['label'] = $new_instance['label'];
|
122 |
$instance['mediaFile'] = $new_instance['mediaFile'];
|
@@ -134,28 +129,25 @@ class WP_Widget_vkExUnit_profile extends WP_Widget {
|
|
134 |
$instance['instagram'] = $new_instance['instagram'];
|
135 |
$instance['linkedin'] = $new_instance['linkedin'];
|
136 |
return $instance;
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
function widget($args, $instance) {
|
141 |
// From here Display a widget
|
142 |
echo PHP_EOL.'<aside class="widget widget_profile">'.PHP_EOL;
|
143 |
|
144 |
-
if ( isset($instance['label']) && $instance['label'] ) {
|
145 |
-
echo '<h1 class="widget-title subSection-title">';
|
146 |
echo $instance['label'];
|
147 |
echo '</h1>';
|
148 |
} ?>
|
149 |
-
|
150 |
<div class="site-profile" >
|
151 |
-
<?php // Display a profile image
|
152 |
|
153 |
$mediaRound = isset($instance['mediaRound']) ? ' media_round' : '' ;
|
154 |
$mediaSize = isset($instance['mediaSize']) ? mb_convert_kana($instance['mediaSize']) : '' ;
|
155 |
-
|
156 |
$mediaClass = '';
|
157 |
|
158 |
-
|
159 |
if(!empty($instance['mediaFloat'])){
|
160 |
$mediaClass .= 'media_float ';
|
161 |
}
|
@@ -180,15 +172,15 @@ class WP_Widget_vkExUnit_profile extends WP_Widget {
|
|
180 |
} else {
|
181 |
echo '" src="'.esc_url($instance['mediaFile']).'" alt="'.esc_attr($instance['mediaAlt']).'" /></div>'.PHP_EOL;
|
182 |
}
|
183 |
-
|
184 |
// Display a profile text
|
185 |
if( !empty($instance['profile']) ){
|
186 |
echo '<p class="profile_text">'.nl2br(esc_attr($instance['profile'])).'</p>'.PHP_EOL;
|
187 |
-
}
|
188 |
-
|
189 |
// Display a sns botton
|
190 |
if( isset($instance['facebook']) && $instance['facebook'] || isset($instance['twitter']) && $instance['twitter'] || isset($instance['mail']) && $instance['mail'] || isset($instance['youtube']) && $instance['youtube'] || isset($instance['rss']) && $instance['rss'] || isset($instance['instagram']) && $instance['instagram'] || isset($instance['linkedin']) && $instance['linkedin'] ): ?>
|
191 |
-
|
192 |
<ul class="sns_btns">
|
193 |
<?php // Display a facebook botton
|
194 |
if( !empty($instance['facebook']) ): ?>
|
@@ -222,14 +214,14 @@ class WP_Widget_vkExUnit_profile extends WP_Widget {
|
|
222 |
<?php endif; ?>
|
223 |
|
224 |
</div>
|
225 |
-
<!-- / .site-profile -->
|
226 |
</aside>
|
227 |
<?php }
|
228 |
-
}
|
229 |
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_vkExUnit_profile");'));
|
230 |
|
231 |
// Profile widget uploader js
|
232 |
-
function my_admin_scripts() {
|
233 |
wp_enqueue_media();
|
234 |
wp_register_script( 'mediauploader', plugin_dir_url( __FILE__ ) . 'js/widget-prof-uploader.js', array( 'jquery' ), false, true);
|
235 |
wp_enqueue_script( 'mediauploader' );
|
@@ -282,10 +274,10 @@ echo '<style>
|
|
282 |
display: block;
|
283 |
width: 100%;
|
284 |
height: auto;
|
285 |
-
}
|
286 |
.prof_input.textarea{
|
287 |
margin-top: -1em;
|
288 |
}
|
289 |
</style>'.PHP_EOL;
|
290 |
}
|
291 |
-
add_action("admin_print_styles-widgets.php", "my_admin_style");
|
1 |
+
<?php
|
2 |
|
3 |
/*-------------------------------------------*/
|
4 |
/* Side Profile widget
|
35 |
);
|
36 |
$instance = wp_parse_args((array) $instance, $defaults);
|
37 |
?>
|
38 |
+
|
39 |
<?php //title ?>
|
40 |
<p><label for="<?php echo $this->get_field_id('label'); ?>"><?php _e('Title:', 'vkExUnit'); ?></label><br/>
|
41 |
<input type="text" id="<?php echo $this->get_field_id('label'); ?>_title" class="prof_input" name="<?php echo $this->get_field_name('label'); ?>" value="<?php echo $instance['label']; ?>" />
|
42 |
</p>
|
43 |
+
|
44 |
<?php //media uploader ?>
|
45 |
<p><label for="<?php echo $this->get_field_id('profile'); ?>"><?php _e('Select Profile image:', 'vkExUnit'); ?></label><br/>
|
|
|
46 |
<input type="hidden" class="media_url" id="<?php echo $this->get_field_id('mediaFile'); ?>_media" name="<?php echo $this->get_field_name('mediaFile'); ?>" value="<?php echo esc_attr($instance['mediaFile']); ?>" />
|
|
|
47 |
<input type="hidden" class="media_alt" id="<?php echo $this->get_field_id('mediaAlt'); ?>_media" name="<?php echo $this->get_field_name('mediaAlt'); ?>" value="<?php echo esc_attr($instance['mediaAlt']); ?>" />
|
|
|
48 |
<input type="button" class="media_select" value="<?php _e('Select image', 'vkExUnit'); ?>" onclick="clickSelect(event.target);" />
|
49 |
<input type="button" class="media_clear" value="<?php _e('Clear image', 'vkExUnit'); ?>" onclick="clickClear(event.target);" />
|
50 |
</p>
|
|
|
51 |
<div class="media">
|
52 |
<?php if(!empty($instance['mediaFile'])): ?>
|
53 |
<img class="media_image" src="<?php echo esc_url($instance['mediaFile']); ?>" alt="<?php echo esc_attr($instance['mediaAlt']); ?>" />
|
57 |
<?php //image round setting ?>
|
58 |
<p><input type="checkbox" id="<?php echo $this->get_field_id('mediaRound'); ?>_round" name="<?php echo $this->get_field_name('mediaRound'); ?>" value="true" <?php echo ($instance['mediaRound'])? 'checked': '' ; ?> ><label for="<?php echo $this->get_field_id('mediaRound'); ?>"><?php _e('Cut out round the image.', 'vkExUnit'); ?></label>
|
59 |
</p>
|
60 |
+
|
61 |
+
<?php //image size setting ?>
|
62 |
<p><label for="<?php echo $this->get_field_id('mediaSize'); ?>"><?php _e('Media size (Optional)', 'vkExUnit'); ?></label><br/>
|
63 |
<input type="text" id="<?php echo $this->get_field_id('mediaSize'); ?>_size" class="prof_input" name="<?php echo $this->get_field_name('mediaSize'); ?>" style="width:50px;" value="<?php echo $instance['mediaSize']; ?>" /> px
|
64 |
</p>
|
65 |
|
66 |
+
<?php //image mediaAlign_left setting ?>
|
67 |
<p><input type="checkbox" id="<?php echo $this->get_field_id('mediaAlign_left'); ?>_round" name="<?php echo $this->get_field_name('mediaAlign_left'); ?>" value="true" <?php echo ($instance['mediaAlign_left'])? 'checked': '' ; ?> ><label for="<?php echo $this->get_field_id('mediaAlign_left'); ?>"><?php _e('Image align left', 'vkExUnit'); ?></label>
|
68 |
</p>
|
69 |
|
70 |
<?php //image float setting ?>
|
71 |
<p><input type="checkbox" id="<?php echo $this->get_field_id('mediaFloat'); ?>_float" name="<?php echo $this->get_field_name('mediaFloat'); ?>" value="true" <?php echo ($instance['mediaFloat'])? 'checked': '' ; ?> ><label for="<?php echo $this->get_field_id('mediaFloat'); ?>"><?php _e('Text float to image.', 'vkExUnit'); ?></label><br/>
|
72 |
</p>
|
73 |
+
|
74 |
<?php //profile text ?>
|
75 |
<p><label for="<?php echo $this->get_field_id('profile'); ?>"><?php _e('Profile Text:', 'vkExUnit'); ?></label></p>
|
|
|
76 |
<textarea rows="4" cols="40" id="<?php echo $this->get_field_id('profile'); ?>_text" class="prof_input textarea" name="<?php echo $this->get_field_name('profile'); ?>"><?php echo $instance['profile']; ?></textarea>
|
77 |
+
|
78 |
+
<?php //facebook_URL ?>
|
79 |
<p><label for="<?php echo $this->get_field_id('facebook'); ?>"><?php _e('Facebook URL:', 'vkExUnit'); ?></label><br/>
|
80 |
<input type="text" id="<?php echo $this->get_field_id('facebook'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('facebook'); ?>" value="<?php echo $instance['facebook']; ?>" />
|
81 |
</p>
|
82 |
+
|
83 |
<?php //twitter_URL ?>
|
84 |
<p><label for="<?php echo $this->get_field_id('twitter'); ?>"><?php _e('Twitter URL:', 'vkExUnit'); ?></label><br/>
|
85 |
<input type="text" id="<?php echo $this->get_field_id('twitter'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('twitter'); ?>" value="<?php echo $instance['twitter']; ?>" />
|
86 |
</p>
|
87 |
+
|
88 |
<?php //mail_URL ?>
|
89 |
<p><label for="<?php echo $this->get_field_id('mail'); ?>"><?php _e('Email Address:', 'vkExUnit'); ?></label><br/>
|
90 |
<input type="text" id="<?php echo $this->get_field_id('mail'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('mail'); ?>" value="<?php echo $instance['mail']; ?>" />
|
91 |
</p>
|
92 |
+
|
93 |
<?php //youtube_URL ?>
|
94 |
<p><label for="<?php echo $this->get_field_id('youtube'); ?>"><?php _e('Youtube URL:', 'vkExUnit'); ?></label><br/>
|
95 |
<input type="text" id="<?php echo $this->get_field_id('youtube'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('youtube'); ?>" value="<?php echo $instance['youtube']; ?>" />
|
96 |
</p>
|
97 |
+
|
98 |
<?php //rss_URL ?>
|
99 |
<p><label for="<?php echo $this->get_field_id('rss'); ?>"><?php _e('RSS URL:', 'vkExUnit'); ?></label><br/>
|
100 |
<input type="text" id="<?php echo $this->get_field_id('rss'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('rss'); ?>" value="<?php echo $instance['rss']; ?>" />
|
101 |
</p>
|
102 |
+
|
103 |
<?php //instagram_URL ?>
|
104 |
<p><label for="<?php echo $this->get_field_id('instagram'); ?>"><?php _e('instagram URL:', 'vkExUnit'); ?></label><br/>
|
105 |
<input type="text" id="<?php echo $this->get_field_id('instagram'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('instagram'); ?>" value="<?php echo $instance['instagram']; ?>" /></p>
|
106 |
+
|
107 |
<?php //linkedin_URL ?>
|
108 |
<p><label for="<?php echo $this->get_field_id('linkedin'); ?>"><?php _e('linkedin URL:', 'vkExUnit'); ?></label><br/>
|
109 |
<input type="text" id="<?php echo $this->get_field_id('linkedin'); ?>_url" class="prof_input" name="<?php echo $this->get_field_name('linkedin'); ?>" value="<?php echo $instance['linkedin']; ?>" /></p>
|
110 |
+
|
111 |
<?php }
|
112 |
+
|
113 |
+
|
114 |
function update ($new_instance, $old_instance) {
|
|
|
115 |
$instance = $old_instance;
|
116 |
$instance['label'] = $new_instance['label'];
|
117 |
$instance['mediaFile'] = $new_instance['mediaFile'];
|
129 |
$instance['instagram'] = $new_instance['instagram'];
|
130 |
$instance['linkedin'] = $new_instance['linkedin'];
|
131 |
return $instance;
|
132 |
+
}
|
133 |
+
|
134 |
+
|
135 |
function widget($args, $instance) {
|
136 |
// From here Display a widget
|
137 |
echo PHP_EOL.'<aside class="widget widget_profile">'.PHP_EOL;
|
138 |
|
139 |
+
if ( isset($instance['label']) && $instance['label'] ) {
|
140 |
+
echo '<h1 class="widget-title subSection-title">';
|
141 |
echo $instance['label'];
|
142 |
echo '</h1>';
|
143 |
} ?>
|
|
|
144 |
<div class="site-profile" >
|
145 |
+
<?php // Display a profile image
|
146 |
|
147 |
$mediaRound = isset($instance['mediaRound']) ? ' media_round' : '' ;
|
148 |
$mediaSize = isset($instance['mediaSize']) ? mb_convert_kana($instance['mediaSize']) : '' ;
|
|
|
149 |
$mediaClass = '';
|
150 |
|
|
|
151 |
if(!empty($instance['mediaFloat'])){
|
152 |
$mediaClass .= 'media_float ';
|
153 |
}
|
172 |
} else {
|
173 |
echo '" src="'.esc_url($instance['mediaFile']).'" alt="'.esc_attr($instance['mediaAlt']).'" /></div>'.PHP_EOL;
|
174 |
}
|
175 |
+
|
176 |
// Display a profile text
|
177 |
if( !empty($instance['profile']) ){
|
178 |
echo '<p class="profile_text">'.nl2br(esc_attr($instance['profile'])).'</p>'.PHP_EOL;
|
179 |
+
}
|
180 |
+
|
181 |
// Display a sns botton
|
182 |
if( isset($instance['facebook']) && $instance['facebook'] || isset($instance['twitter']) && $instance['twitter'] || isset($instance['mail']) && $instance['mail'] || isset($instance['youtube']) && $instance['youtube'] || isset($instance['rss']) && $instance['rss'] || isset($instance['instagram']) && $instance['instagram'] || isset($instance['linkedin']) && $instance['linkedin'] ): ?>
|
183 |
+
|
184 |
<ul class="sns_btns">
|
185 |
<?php // Display a facebook botton
|
186 |
if( !empty($instance['facebook']) ): ?>
|
214 |
<?php endif; ?>
|
215 |
|
216 |
</div>
|
217 |
+
<!-- / .site-profile -->
|
218 |
</aside>
|
219 |
<?php }
|
220 |
+
}
|
221 |
add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_vkExUnit_profile");'));
|
222 |
|
223 |
// Profile widget uploader js
|
224 |
+
function my_admin_scripts() {
|
225 |
wp_enqueue_media();
|
226 |
wp_register_script( 'mediauploader', plugin_dir_url( __FILE__ ) . 'js/widget-prof-uploader.js', array( 'jquery' ), false, true);
|
227 |
wp_enqueue_script( 'mediauploader' );
|
274 |
display: block;
|
275 |
width: 100%;
|
276 |
height: auto;
|
277 |
+
}
|
278 |
.prof_input.textarea{
|
279 |
margin-top: -1em;
|
280 |
}
|
281 |
</style>'.PHP_EOL;
|
282 |
}
|
283 |
+
add_action("admin_print_styles-widgets.php", "my_admin_style");
|
plugins/other_widget/widget-taxonomies.php
CHANGED
@@ -35,7 +35,7 @@ class WP_Widget_VK_taxonomy_list extends WP_Widget {
|
|
35 |
<?php wp_list_categories($arg); ?>
|
36 |
</ul>
|
37 |
</aside>
|
38 |
-
<?php
|
39 |
}
|
40 |
|
41 |
|
@@ -54,7 +54,7 @@ class WP_Widget_VK_taxonomy_list extends WP_Widget {
|
|
54 |
<label for="<?php echo $this->get_field_id('label'); ?>"><?php _e( 'Label to display', 'vkExUnit' ); ?></label>
|
55 |
<input type="text" id="<?php echo $this->get_field_id('label'); ?>-title" name="<?php echo $this->get_field_name('label'); ?>" value="<?php echo $instance['label']; ?>" ><br/>
|
56 |
<input type="hidden" name="<?php echo $this->get_field_name('hide'); ?>" ><br/>
|
57 |
-
|
58 |
<label for="<?php echo $this->get_field_id('tax_name'); ?>"><?php _e('Display page', 'vkExUnit') ?></label>
|
59 |
<select name="<?php echo $this->get_field_name('tax_name'); ?>" >
|
60 |
|
35 |
<?php wp_list_categories($arg); ?>
|
36 |
</ul>
|
37 |
</aside>
|
38 |
+
<?php
|
39 |
}
|
40 |
|
41 |
|
54 |
<label for="<?php echo $this->get_field_id('label'); ?>"><?php _e( 'Label to display', 'vkExUnit' ); ?></label>
|
55 |
<input type="text" id="<?php echo $this->get_field_id('label'); ?>-title" name="<?php echo $this->get_field_name('label'); ?>" value="<?php echo $instance['label']; ?>" ><br/>
|
56 |
<input type="hidden" name="<?php echo $this->get_field_name('hide'); ?>" ><br/>
|
57 |
+
|
58 |
<label for="<?php echo $this->get_field_id('tax_name'); ?>"><?php _e('Display page', 'vkExUnit') ?></label>
|
59 |
<select name="<?php echo $this->get_field_name('tax_name'); ?>" >
|
60 |
|
plugins/sns/function_fbPagePlugin.php
CHANGED
@@ -14,6 +14,7 @@ class WP_Widget_vkExUnit_fbPagePlugin extends WP_Widget {
|
|
14 |
);
|
15 |
}
|
16 |
|
|
|
17 |
function widget($args, $instance) {
|
18 |
echo '<aside class="widget widget_fbPagePlugin">';
|
19 |
|
@@ -45,9 +46,7 @@ class WP_Widget_vkExUnit_fbPagePlugin extends WP_Widget {
|
|
45 |
|
46 |
|
47 |
function update ($new_instance, $old_instance) {
|
48 |
-
|
49 |
$instance = $old_instance;
|
50 |
-
|
51 |
$instance['label'] = $new_instance['label'];
|
52 |
$instance['page_url'] = $new_instance['page_url'];
|
53 |
$instance['height'] = $new_instance['height'];
|
@@ -57,8 +56,10 @@ class WP_Widget_vkExUnit_fbPagePlugin extends WP_Widget {
|
|
57 |
|
58 |
return $instance;
|
59 |
}
|
|
|
|
|
60 |
function form ($instance) {
|
61 |
-
|
62 |
$defaults = array(
|
63 |
'label' => 'Facebook',
|
64 |
'page_url' => '',
|
@@ -69,7 +70,6 @@ class WP_Widget_vkExUnit_fbPagePlugin extends WP_Widget {
|
|
69 |
);
|
70 |
|
71 |
$instance = wp_parse_args((array) $instance, $defaults);
|
72 |
-
|
73 |
?>
|
74 |
|
75 |
<?php //タイトル ?>
|
@@ -101,7 +101,6 @@ class WP_Widget_vkExUnit_fbPagePlugin extends WP_Widget {
|
|
101 |
<label for="<?php echo $this->get_field_id('showPosts'); ?>"><?php _e('Show Page Posts', 'vkExUnit'); ?></label><br/>
|
102 |
<input type="checkbox" name="<?php echo $this->get_field_name('showPosts'); ?>" value="true" <?php echo ($instance['showPosts'] == 'true')? 'checked': '' ; ?> >
|
103 |
<br/>
|
104 |
-
|
105 |
<?php
|
106 |
}
|
107 |
|
14 |
);
|
15 |
}
|
16 |
|
17 |
+
|
18 |
function widget($args, $instance) {
|
19 |
echo '<aside class="widget widget_fbPagePlugin">';
|
20 |
|
46 |
|
47 |
|
48 |
function update ($new_instance, $old_instance) {
|
|
|
49 |
$instance = $old_instance;
|
|
|
50 |
$instance['label'] = $new_instance['label'];
|
51 |
$instance['page_url'] = $new_instance['page_url'];
|
52 |
$instance['height'] = $new_instance['height'];
|
56 |
|
57 |
return $instance;
|
58 |
}
|
59 |
+
|
60 |
+
|
61 |
function form ($instance) {
|
62 |
+
|
63 |
$defaults = array(
|
64 |
'label' => 'Facebook',
|
65 |
'page_url' => '',
|
70 |
);
|
71 |
|
72 |
$instance = wp_parse_args((array) $instance, $defaults);
|
|
|
73 |
?>
|
74 |
|
75 |
<?php //タイトル ?>
|
101 |
<label for="<?php echo $this->get_field_id('showPosts'); ?>"><?php _e('Show Page Posts', 'vkExUnit'); ?></label><br/>
|
102 |
<input type="checkbox" name="<?php echo $this->get_field_name('showPosts'); ?>" value="true" <?php echo ($instance['showPosts'] == 'true')? 'checked': '' ; ?> >
|
103 |
<br/>
|
|
|
104 |
<?php
|
105 |
}
|
106 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
|
5 |
Requires at least: 4.2
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
|
5 |
Requires at least: 4.2
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 2.3.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
vkExUnit.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: VK All in One Expansion Unit
|
4 |
Plugin URI: https://github.com/kurudrive/VK-All-in-one-Expansion-Unit
|
5 |
Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
|
6 |
-
Version: 2.3.
|
7 |
Author: Vektor,Inc.
|
8 |
Author URI: http://vektor-inc.co.jp
|
9 |
License: GPL2
|
3 |
Plugin Name: VK All in One Expansion Unit
|
4 |
Plugin URI: https://github.com/kurudrive/VK-All-in-one-Expansion-Unit
|
5 |
Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
|
6 |
+
Version: 2.3.3
|
7 |
Author: Vektor,Inc.
|
8 |
Author URI: http://vektor-inc.co.jp
|
9 |
License: GPL2
|
vkExUnit_admin.php
CHANGED
@@ -79,8 +79,8 @@
|
|
79 |
</tfoot>
|
80 |
|
81 |
</table>
|
82 |
-
|
83 |
-
<button onclick="javascript:jQuery('#vkEx_extention').toggle(); return false;"><?php _e('Extension Setting', 'vkExUnit'); ?></button>
|
84 |
<table class="form-table" id="vkEx_extention" style="display:none;">
|
85 |
<tr>
|
86 |
<th><?php _e('Plugin setting options','vkExUnit'); ?></th>
|
79 |
</tfoot>
|
80 |
|
81 |
</table>
|
82 |
+
<br />
|
83 |
+
<button onclick="javascript:jQuery('#vkEx_extention').toggle(); return false;" class="button"><?php _e('Extension Setting', 'vkExUnit'); ?></button>
|
84 |
<table class="form-table" id="vkEx_extention" style="display:none;">
|
85 |
<tr>
|
86 |
<th><?php _e('Plugin setting options','vkExUnit'); ?></th>
|