Check in as is

This commit is contained in:
Kumi 2018-11-22 11:32:45 +00:00
commit d698866160
36 changed files with 4008 additions and 0 deletions

393
css/colors/default.css Normal file
View file

@ -0,0 +1,393 @@
/*=========================================
Primary Color
=========================================*/
body a {
color: #1490d7;
}
/* Header CSS */
.header-top-info-1 .social li a i:hover {
background: #1490d7;
}
.header-top-info-1 .info li i {
color: #1490d7;
}
/* Menu CSS */
.header-fabify > a.navbar-brand::first-letter {
color: #1490d7 !important;
}
.nav-fabify {
background: #1490d7;
}
.navbar-default .navbar-nav>.active > a, .navbar-default .navbar-nav>.active>a:hover, .dropdown-menu > .active > a {
background: #1490d7 !important;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus{
color: #1490d7;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
background: #1490d7 !important;
}
.fabify-cart a.cart-icon span, .fabify-button a {
background: #1490d7;
}
/* Slider CSS */
.slider-version-one .caption h1 span{
color: #1490d7;
}
.specia-btn-1:hover{
background: #1490d7;
border-color: #1490d7;
}
.owl-theme .owl-controls .owl-nav [class*=owl-]:hover {
background: #1490d7;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
background: #1490d7;
}
/* Service CSS */
.section-heading span{
color: #1490d7;
}
.icon-block.icon-block-1:hover .icon-block-item i {
color: #1490d7;
}
/* Features CSS */
.features-version-six h2 span{
color: #1490d7;
}
/* Cal Action CSS */
.call-to-action .background-overlay{
background: #1490d7;
}
.call-to-action .call-btn-1:hover {
color: #1490d7;
}
/* Service Section CSS */
.service-version-one .service-icon-box i:hover {
background: #1490d7;
}
.specia-icon-effect-1 .specia-icon:after {
box-shadow: 0 0 0 4px #1490d7;
}
.specia-icon-effect-5 .specia-icon:hover {
box-shadow: 0 0 0 4px #1490d7;
}
.specia-icon-effect-6 .specia-icon:hover {
box-shadow: 0 0 0 4px #1490d7;
}
.specia-icon-effect-8 .specia-icon:hover {
background: #1490d7;
}
/* Features Section CSS */
.features-version-one h2 span{
color: #1490d7;
}
.features-version-one .feature-box-info h4{
color: #1490d7;
}
/* Latest Blog Section CSS */
.blog-version-1 article:hover footer.entry-footer{
background: #1490d7;
}
.entry-content .more-link:hover {
background: #1490d7;
border: solid 2px #1490d7;
}
/* Footer Section CSS */
.footer-sidebar .widget .title-border {
border-bottom: 2px solid #1490d7;
}
.widget table #next a, .widget table #prev a {
color: #1490d7; font-weight: 600;
}
.footer-sidebar .widget ul li a:hover, .widget ul li a:active {
color: #1490d7;
}
.footer-sidebar .widget input[type="submit"]:hover{
background: #1490d7;
border-color: #1490d7;
}
.tagcloud a:hover, .tagcloud a:focus {
border: 1px solid #1490d7;
background: #1490d7;
}
/* Copyright Content */
.payment-icon li a:hover{
color: #1490d7;
}
.footer-copyright p a:hover{
color: #1490d7;
}
.top-scroll {
background: #1490d7
}
/* Pagination CSS */
.paginations a:hover, .paginations a:focus, .paginations a.active, span.page-numbers.current {
border: 1px solid #1490d7;
background-color: #1490d7;
}
/* Blog Page CSS */
.page-wrapper article:hover footer.entry-footer {
background: #1490d7;
}
.comment-reply-title {
border-top: 4px solid #1490d7;
}
.required {
color: #1490d7;
}
a.comment-reply-link {
color: #1490d7;
}
/* Error Page CSS */
.error-page h1{
color: #1490d7;
}
/* Form Element CSS */
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
background: #1490d7;
border: solid 2px #1490d7;
}
/* Breadcrumb CSS */
.page-breadcrumb a{
color: #1490d7;
}
/*Sidebar Area CSS */
.sidebar .widget ul li a:hover, .widget ul li a:active {
color: #1490d7;
}
.sidebar .widget input[type="submit"]:hover{
background: #1490d7;
border-color: #1490d7;
}
.sidebar .widget .title-border {
border-bottom: 2px solid #1490d7;
}
/* Typography */
blockquote {
border-left: 5px solid #1490d7 !important;
}
table th {
border: 1px solid #1490d7;
background: #1490d7;
}
em, cite, q {
color: #1490d7;
}
s, strike, del {
color: #1490d7;
}
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span, h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
color: #1490d7;
}
body a:focus, body a:hover {
color: #1490d7;
}
/* Form */
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
background: #1490d7;
border: solid 2px #1490d7;
}
/* WooCommerce */
.woocommerce a.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce input.button.alt:hover,
.woocommerce button.button.alt.disabled:hover,
.woocommerce-cart table.cart input.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button:hover {
background: #1490d7;
border: solid 2px #1490d7;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
background: #1490d7;
border: solid 1px #1490d7;
}
.woocommerce nav.woocommerce-pagination a.page-numbers:hover {
background: #1490d7;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
background: #1490d7;
border: solid 2px #1490d7;
}
.woocommerce p.stars a {
color: #1490d7;
}
.woo-sidebar .widget .title-border {
border-bottom: 2px solid #1490d7;
}
.woocommerce a.remove:hover {
background: #1490d7;
}
.price_slider_wrapper .ui-slider .ui-slider-handle {
border: 5px solid #1490d7;
}
.price_slider_wrapper .ui-slider .ui-slider-range {
background: #1490d7;
}
.woocommerce-MyAccount-navigation ul li.is-active {
background: #1490d7;
}
/* --------------------------------------
=========================================
Secondary Color
=========================================
-----------------------------------------*/
/* Menu CSS */
.navbar-brand {
color: #283645 !important;
}
.fabify-button a:hover {
background: #283645;
}
/* Slider CSS */
.owl-theme .owl-controls .owl-nav [class*=owl-] {
background: #202c3b;
}
/* Service CSS */
.section-heading{
color: #283645;
}
.icon-block.icon-block-1 .icon-block-body h4 a {
color: #283645;
}
/* Features Section CSS */
.features-version-six h2 {
color: #283645;
}
/* Latest Blog Section CSS */
.blog-version-1 footer.entry-footer {
background: #283645;
}
.entry-content .more-link {
color: #283645;
border: solid 2px #283645;
}
/* Footer Section CSS */
.footer-sidebar .widget table caption, .woo-sidebar .widget table caption {
background: #283645;
}
.footer-sidebar .background-overlay {
background: #283645;
}
/* Footer Copyright Section */
.footer-copyright, .footer-copyright p, .footer-copyright p a {
background: #283645;
}
/* Blog Page CSS */
footer.entry-footer {
background: #283645;
}
h2.entry-title a {
color: #283645;
}
.entry-header h2.entry-title {
color: #283645;
}
/* Error Page CSS */
.error-page h2{
color: #283645;
}
/* Form Element CSS */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
color: #283645;
border: solid 2px #283645;
}
/*Sidebar Area CSS */
.sidebar .widget .widget-title {
color: #283645;
}
.sidebar .widget input[type="submit"] {
color: #283645;
border: solid 2px #283645;
}
.sidebar .widget table caption {
background: #283645;
}
/* Typography */
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
color: #283645;
}
blockquote cite, blockquote small {
color: #283645;
}
address {
color: #283645;
}
ins {
color: #283645;
}
/* WooCommerce */
.woocommerce a.button,
.woocommerce button.button.alt,
.woocommerce #respond input#submit,
.woocommerce input.button.alt,
.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled],
.woocommerce-cart table.cart input.button,
.woocommerce input.button,
.woocommerce button.button {
color: #283645;
border: solid 2px #283645;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
border: solid 2px #283645;
color: #283645;
}
.price_slider_wrapper .ui-slider-horizontal {
background: #283645;
}
.woocommerce-MyAccount-navigation ul li {
background: #283645;
}
.woocommerce-checkout #payment div.payment_box {
background-color: #283645;
}
#add_payment_method #payment div.payment_box:before, .woocommerce-cart #payment div.payment_box:before, .woocommerce-checkout #payment div.payment_box:before {
border: 1em solid #283645;
}

349
css/editor-style.css Normal file
View file

@ -0,0 +1,349 @@
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
font-family: 'Raleway', sans-serif;
font-weight:400;
margin: 0 0 20px;
font-weight: 600;
color: #1c314c;
}
h1, .h1 {
font-size: 36px;
line-height: 42px;
}
h2, .h2 {
font-size: 32px;
line-height: 38px;
}
h3, .h3 {
font-size: 28px;
line-height: 34px;
}
h4, .h4 {
font-size: 24px;
line-height: 28px;
}
h5, .h5 {
font-size: 20px;
line-height: 24px;
}
h6, .h6 {
font-size: 16px;
line-height: 20px;
}
p {
color: #747474;
font-size: 14px;
line-height: 22px;
font-family: 'Open Sans', sans-serif;
}
a {
text-decoration: none;
color: #747474;
font-family: 'Open Sans', sans-serif;
}
a:hover, a:active, a:focus {
text-decoration: none;
-webkit-transition: all 300ms ease-out 0s;
-moz-transition: all 300ms ease-out 0s;
-o-transition: all 300ms ease-out 0s;
transition: all 300ms ease-out 0s;
}
body a:focus, body a:hover {
outline: none;
text-decoration: none;
color: #1abb9c;
}
.bypostauthor{}
/*Image Alignments and captions*/
img.alignnone{ display: block; margin: 0 auto; height: auto; max-width: 100%; }
#attachment_907 { width: 100% !important; }
.alignnone img{ display: block; height: auto; }
img.alignleft, .wp-caption.alignleft{ margin-right: 30px; }
img.alignright, .wp-caption.alignright{ margin-left: 30px; float: right;}
img.wp-caption .alignnone { display: block; margin: 0 auto; height: auto; width: 100%; }
a img.alignright { float: right; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto;}
.aligncenter { margin-top: .5em; margin-bottom: .5em; }
.alignleft { float: left; margin: .5em 20px .5em 0; }
.alignright { float: right; margin: .5em 0 .5em 20px; }
.wp-caption .wp-caption-text, .gallery-caption, .entry-caption {
clear: left;
font-style: italic;
line-height: 1.5em;
margin: 0.75em 0;
text-align: center;
}
.wp-caption.alignright { margin: 5px 0 20px 20px;}
.wp-caption p.wp-caption-text { font-family: 'Open Sans'; font-size: 14px; margin: 12px 0; text-align: center; font-weight: 400; font-style: italic; line-height: 1.5em; }
.wp-caption.alignleft { margin: 5px 20px 20px 0;}
.wp-caption {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background-color: #f8f8f8;
border-color: #eee;
border-image: initial;
border-radius: 3px;
border-style: solid;
border-width: 1px;
margin-bottom: 20px;
max-width: 100%;
padding-left: 4px;
padding-right: 4px;
padding-top: 4px;
text-align: center;
}
.wp-caption > img {
max-width: 100%;
height: auto;
}
/* Gallery Css Here*/
.gallery-icon {
margin-bottom: -11px;
overflow: hidden;
}
.gallery-icon img{
-webkit-transition: all 0.7s ease;
transition: all 0.7s ease;
}
.gallery-icon img:hover{
-webkit-transform: scale(1.3);
transform: scale(1.3);
}
.gallery-item {
display: inline-block;
}
.gallery-item .gallery-caption {
font-family: 'Open Sans', sans-serif;
color: #fff;
font-weight: 400;
display: block;
word-wrap: break-word;
background: #1c314c;
padding: 8px 3px;
}
.gallery-item:hover figcaption {
background: #1abb9c;
-webkit-transition: all 200ms ease-out;
-moz-transition: all 200ms ease-out;
-o-transition: all 200ms ease-out;
transition: all 200ms ease-out;
}
.gallery-columns-1 .gallery-item {
float: none;
text-align: center;
margin: 10px 0 20px;
width: 100%;
}
.gallery-columns-2 .gallery-item {
width: 50%;
float: none;
text-align: center;
margin: 10px 0 20px;
padding: 0 10px;
}
.gallery-columns-3 .gallery-item {
width: 33.33%;
float: none;
text-align: center;
margin: 10px 0 20px;
padding: 0 10px;
}
.gallery-columns-4 .gallery-item {
width: 25%;
float: none;
text-align: center;
margin: 10px 0 20px;
padding: 0 10px;
}
.gallery-columns-5 .gallery-item {
width: 20%;
float: none;
text-align: center;
margin: 10px 0 20px;
padding: 0 10px;
}
.gallery-columns-6 .gallery-item {
width: 13.6%;
}
.gallery-columns-7 .gallery-item {
width: 12.25%;
margin: 10px 1% 10px;
}
.gallery-columns-8 .gallery-item {
width: 10.5%;
margin: 10px 1% 10px;
}
.gallery-columns-9 .gallery-item {
width: 9.11%;
margin: 10px 1% 10px;
}
.gallery dl a {
display: block;
}
.gallery dl a img {
height: auto;
margin: 0 auto;
}
.gallery .gallery-caption {
font-size: 15px;
line-height: 1.2;
margin: 10px 0 0;
}
.gallery br+br {
display: none;
}
/* Jetpack Tiled Gallery CSS*/
.tiled-gallery-caption {
background: #1c314c !important;
font-family: 'Open Sans', sans-serif !important;
color: #fff !important;
font-weight: 400;
font-size: 14px;
display: block;
word-wrap: break-word;
padding: 8px 3px;
text-align: center;
}
/* Ul and ol lists*/
ul {
margin: 0 0 20px;
padding: 0 0px 0px 20px;
}
ol {
margin: 0 0 20px;
padding: 0 0px 0px 20px;
}
ul li, ol li {
margin: 0;
padding: 6px 0;
vertical-align: top;
font-family: 'Open Sans', sans-serif;
}
ul li, ul li a, ol li, ol li a {
border: 0 none;
color: #747474;
font-family: 'Open Sans', sans-serif;
}
li > ul, li > ol, blockquote > ul, blockquote > ol {
margin-left: 1.3333em;
}
/* Blockquote*/
blockquote {
padding: 10px 20px;
margin: 0 0 20px;
font-size: 17.5px;
background: #f7f9fc;
border-left: 5px solid #1abb9c !important;
}
blockquote, blockquote p {
font-size: 15px;
font-style: italic;
font-weight: 500;
line-height: 21px;
letter-spacing: 1px;
color: #747474;
}
blockquote cite, blockquote small { font-size: 15px; display: block; line-height: 20px; padding-top: 15px; color: #1c314c; }
blockquote em, blockquote i, blockquote cite { font-style: normal; }
blockquote strong, blockquote b { font-weight: 600; }
/*Address*/
address { font-style: italic; margin: 0 0 20px; font-weight: 600; letter-spacing: 0.5px; line-height: 27px; color: #1c314c; }
/*Table*/
table {
border: 1px solid #e9e9e9;
background-color: #fcfcfc;
border-spacing: 0;
letter-spacing: 0.5px;
margin: 0 0 20px;
text-align: left;
table-layout: fixed;
width: 100%;
}
table th {
padding: 10px 10px;
color: #fff;
border: 1px solid #1abb9c;
background: #1abb9c;
}
table td { border: 1px solid #e8e7e7; padding: 8px 10px; }
/*Definition Lists*/
dl {
margin-bottom: 25px;
margin-top: 0;
}
dl dt {
font-weight: 700;
margin-bottom: 10px;
color: #747474;
font-family: 'Open Sans', sans-serif;
}
dl dd {
margin-bottom: 20px;
margin-left: 15px;
}
abbr, tla, acronym { text-decoration: underline; cursor: help; }
acronym { border-bottom: 0 none; }
big { font-size: large; font-weight: 600; }
s, strike, del { text-decoration: line-through; }
em, cite, q {
font-style: italic;
font-weight: 600;
}
ins { text-decoration: none; padding: 0 3px; color: #1c314c; }
code, kbd, tt, var, samp, pre {
font-family: 'Open Sans', sans-serif;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
background: #333;
color: #ffffff;
padding: 2px 5px;
}
mark {
color: #000;
background: #ff0;
padding: 2px 5px;
}
label {
display: inline-block;
width: 100%;
margin-bottom: 5px;
font-weight: bold;
}

95
css/media-query.css Normal file
View file

@ -0,0 +1,95 @@
@media only screen and (min-width: 200px) and (max-width: 480px) {
/*---------------------------------------
Home Slider
-----------------------------------------*/
.slider-version-one .caption {
margin: auto;
width: 70%;
}
.slider-version-one .caption h1 {
font-size: 16px;
font-weight: 400;
line-height: 20px;
text-shadow: 0 3px 3px rgba(0, 0, 0, 0.5);
}
.slider-version-one .caption p {
font-weight: normal;
font-size: 13px;
text-shadow: 0 3px 3px rgba(0, 0, 0, 0.5);
}
.slider-version-one .item {
min-height: 250px;
}
.slider-version-one .item img {
min-height: 250px;
background-size:
}
.slider-version .owl-controls .owl-dots .owl-dot{
display: none;
}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
/*---------------------------------------
Home Slider
-----------------------------------------*/
.slider-version-one .caption {
margin: auto;
width: 70%;
}
.slider-version-one .caption h1 {
font-size: 16px;
font-weight: 400;
line-height: 20px;
text-shadow: 0 3px 3px rgba(0, 0, 0, 0.5);
}
.slider-version-one .caption p {
font-weight: normal;
font-size: 13px;
text-shadow: 0 3px 3px rgba(0, 0, 0, 0.5);
}
.slider-version-one .item {
min-height: 250px;
}
.slider-version-one .item img {
min-height: 250px;
background-size:
}
.slider-version .owl-controls .owl-dots .owl-dot{
display: none;
}
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
/*---------------------------------------
Home Slider
-----------------------------------------*/
.slider-version-one .caption {
margin: auto;
width: 70%;
}
.slider-version-one .caption h1 {
font-size: 28px;
font-weight: 600;
line-height: 30px;
text-shadow: 0 3px 3px rgba(0, 0, 0, 0.5);
}
.slider-version-one .caption p {
font-weight: normal;
font-size: 13px;
text-shadow: 0 3px 3px rgba(0, 0, 0, 0.5);
}
.slider-version-one .item {
min-height: 250px;
}
.slider-version-one .item img {
min-height: 250px;
background-size:
}
}
@media only screen and (min-width: 960px) and (max-width: 1200px) {
}

270
css/woo.css Normal file
View file

@ -0,0 +1,270 @@
.woocommerce ul.products li.product {
overflow: hidden;
}
.woocommerce ul.products li.product a img {
-webkit-transition: all 0.7s ease;
transition: all 0.7s ease;
}
.woocommerce ul.products li.product a img:hover{
-webkit-transform: scale(0.90);
transform: scale(0.90);
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
text-align: center;
}
.woocommerce ul.products li.product .onsale {
margin: 0.5em 0.5em 0 0;
z-index: 1;
}
.woocommerce span.onsale {
top: 0.5em;
left: 0.5em;
}
.woocommerce ul.products li.product a img {
margin: 0 0 3px;
}
.woocommerce ul.products li.product h3 {
font-family: 'Open Sans', sans-serif;
font-size: 15px;
text-align: center;
padding: 3px 0;
}
.woocommerce ul.products li.product .star-rating {
margin: 0 auto;
}
.woocommerce ul.products li.product .price {
text-align: center;
}
.woocommerce a.button,
.woocommerce button.button.alt,
.woocommerce #respond input#submit,
.woocommerce input.button.alt,
.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled],
.woocommerce-cart table.cart input.button,
.woocommerce input.button,
.woocommerce button.button {
background: transparent;
font-family: 'Open Sans', sans-serif;
padding: 18px 20px;
border-radius: 4px;
-webkit-transition: all 200ms ease-out;
-moz-transition: all 200ms ease-out;
-o-transition: all 200ms ease-out;
transition: all 200ms ease-out;
font-size: 13px;
}
.woocommerce a.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce input.button.alt:hover,
.woocommerce button.button.alt.disabled:hover,
.woocommerce-cart table.cart input.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button:hover {
color: #ffffff;
-webkit-transition: all 300ms ease-out 0s;
-moz-transition: all 300ms ease-out 0s;
-o-transition: all 300ms ease-out 0s;
transition: all 300ms ease-out 0s;
}
.woocommerce a.button {
padding: .618em 1em;
}
.woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
width: 100px;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
background: transparent;
font-family: 'Open Sans', sans-serif;
padding: 16px 24px;
border-radius: 4px;
-webkit-transition: all 200ms ease-out;
-moz-transition: all 200ms ease-out;
-o-transition: all 200ms ease-out;
transition: all 200ms ease-out;
font-size: 13px;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
color: #ffffff;
-webkit-transition: all 300ms ease-out 0s;
-moz-transition: all 300ms ease-out 0s;
-o-transition: all 300ms ease-out 0s;
transition: all 300ms ease-out 0s;
}
.woocommerce ul.products li.product .price ins {
font-size: 14px;
}
.woocommerce ul.products li.product .price del {
color: #ff0000;
opacity: .5;
display: inline-block;
font-weight: 500;
}
.woocommerce ul.products li.product .price {
margin: 10px 0 0;
}
.woocommerce ul.products li.product .price {
color: #1c314c;
font-weight: 400;
font-size: 14px;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
padding: 0 0 20px 0;
}
.woocommerce li.product:hover, .woocommerce-page li.product:hover {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
-webkit-transition: all 300ms ease-out 0s;
-moz-transition: all 300ms ease-out 0s;
-o-transition: all 300ms ease-out 0s;
transition: all 300ms ease-out 0s;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
color: #1c314c;
font-family: 'Open Sans', sans-serif;
font-size: 20px;
font-weight: 700;
}
.woocommerce div.product .product_title {
font-size: 24px;
font-family: 'Open Sans', sans-serif;
}
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .cart_totals h2, header.title h3, h3#order_review_heading, h2.woocommerce-Reviews-title, .woocommerce-Tabs-panel h2, .related h2 {
font-size: 26px;
font-family: 'Open Sans', sans-serif;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message {
border: dashed 1px #1c314c;
background: transparent;
line-height: 35px;
}
.woocommerce-message:before, .woocommerce-info:before {
color: #1c314c;
}
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
border-radius: 0;
}
tr.cart-subtotal th, tr.order-total th {
border: 1px solid #e8e7e7;
background: transparent;
color: #747474;
}
.woocommerce-checkout #payment {
background: transparent;
}
.woocommerce-checkout #payment div.payment_box p {
color: #ffffff;
}
#add_payment_method #payment div.payment_box:before, .woocommerce-cart #payment div.payment_box:before, .woocommerce-checkout #payment div.payment_box:before {
content: "";
display: block;
border-right-color: transparent;
border-left-color: transparent;
border-top-color: transparent;
position: absolute;
top: -.75em;
left: 0;
margin: -1em 0 0 2em;
}
.woocommerce a.remove {
display: block;
font-size: 1.5em;
height: 1em;
width: 1em;
text-align: center;
line-height: 1;
border-radius: 100%;
background: #1c314c;
color: #ffffff !important;
text-decoration: none;
font-weight: 700;
border: 0;
}
/* Thankyou Page */
.woocommerce .order_details li {
font-size: 12px;
}
p.woocommerce-thankyou-order-received {
background: #f8f8f8;
font-family: 'Open Sans', sans-serif;
padding: 1em;
border-radius: 3px;
}
/* My Account Page Navigation */
.woocommerce-MyAccount-navigation ul {
margin: 0;
padding: 0 0px 0px 20px;
}
.woocommerce-MyAccount-navigation ul li {
list-style: none;
font-family: 'Open Sans', sans-serif;
padding: 10px 15px;
margin-bottom: 4px;
border-radius: 3px;
}
.woocommerce-MyAccount-navigation ul li a {
color: #ffffff;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
width: 25%;
}
/* WooCommerce Pagination */
.woocommerce nav.woocommerce-pagination {
text-align: center;
}
.woocommerce nav.woocommerce-pagination ul {
display: inline-block;
white-space: nowrap;
padding: 0;
border-right: 0;
margin: 1px;
border: none;
}
.woocommerce nav.woocommerce-pagination ul li {
padding: 0;
margin: 0;
float: left;
display: inline;
overflow: hidden;
border-right: none;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
color: #fff;
padding: 12px 16px;
margin-right: 5px;
border-radius: 4px;
}
.woocommerce nav.woocommerce-pagination ul li a {
padding: 12px 16px;
font-size: 15px;
color: #747474 !important;
border: solid 1px #efe9e9;
background: transparent;
margin-right: 6px;
border-radius: 4px;
}
.woocommerce nav.woocommerce-pagination a.page-numbers:hover {
color: #ffffff !important;
}
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
margin: 0;
color: #ffffff;
text-decoration: none;
margin-right: 5px;
line-height: 1;
font-weight: 400;
min-width: 1em;
display: block;
}

83
footer.php Normal file
View file

@ -0,0 +1,83 @@
<!--======================================
Footer Section
========================================-->
<?php if ( is_active_sidebar( 'footer-widget-area' ) ) { ?>
<footer class="footer-sidebar" role="contentinfo">
<div class="background-overlay">
<div class="container">
<div class="row padding-top-60 padding-bottom-60">
<?php dynamic_sidebar( 'footer-widget-area' ); } ?>
</div>
</div>
</div>
</footer>
<div class="clearfix"></div>
<!--======================================
Footer Copyright
========================================-->
<section class="footer-copyright">
<div class="container">
<div class="row padding-top-20 padding-bottom-10 ">
<div class="col-md-6 text-left">
<?php
$copyright_content= get_theme_mod('copyright_content',__('Your Copyright Text','specia'));
$hide_show_copyright= get_theme_mod('hide_show_copyright','on');
?>
<?php if($hide_show_copyright == 'on') : ?>
<p><?php echo $copyright_content; ?>
<?php endif; ?>
</p>
</div>
<div class="col-md-6">
<?php
$hide_show_payment = get_theme_mod('hide_show_payment','on');
$icon_one= get_theme_mod('icon_one','');
$icon_two= get_theme_mod('icon_two','');
$icon_three= get_theme_mod('icon_three','');
$icon_four= get_theme_mod('icon_four','');
$icon_five= get_theme_mod('icon_five','');
?>
<?php if($hide_show_payment == 'on') { ?>
<ul class="payment-icon">
<?php if($icon_one) { ?>
<li><a href="<?php echo esc_url($icon_one); ?>"><i class="fa fa-cc-paypal"></i></a></li>
<?php } ?>
<?php if($icon_two) { ?>
<li><a href="<?php echo esc_url($icon_two); ?>"><i class="fa fa-cc-visa"></i></a></li>
<?php } ?>
<?php if($icon_three) { ?>
<li><a href="<?php echo esc_url($icon_three); ?>"><i class="fa fa-cc-mastercard"></i></a></li>
<?php } ?>
<?php if($icon_four) { ?>
<li><a href="<?php echo esc_url($icon_four); ?>"><i class="fa fa-cc-amex"></i></a></li>
<?php } ?>
<?php if($icon_five) { ?>
<li><a href="<?php echo esc_url($icon_five); ?>"><i class="fa fa-cc-stripe"></i></a></li>
<?php } ?>
</ul>
<?php } ?>
</div>
</div>
</div>
</section>
<!--======================================
Top Scroller
========================================-->
<a href="#" class="top-scroll"><i class="fa fa-arrow-circle-o-up"></i></a>
</div>
<?php wp_footer(); ?>
</body>
</html>

119
functions.php Normal file
View file

@ -0,0 +1,119 @@
<?php
function fabify_css() {
$parent_style = 'specia-parent-style';
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'fabify-style', get_stylesheet_uri(), array( $parent_style ));
wp_enqueue_style('fabify-default',get_stylesheet_directory_uri() .'/css/colors/default.css');
wp_dequeue_style('specia-default', get_template_directory_uri() . '/css/colors/default.css');
wp_dequeue_style('specia-media-query', get_template_directory_uri() . '/css/media-query.css');
wp_enqueue_style('fabify-media-query', get_template_directory_uri() . '/css/media-query.css');
wp_dequeue_style('woo', get_template_directory_uri() . '/css/woo.css');
wp_enqueue_style('fabify-woo', get_stylesheet_directory_uri() . '/css/woo.css');
wp_dequeue_script('specia-custom-js', get_template_directory_uri() . '/js/custom.js');
wp_enqueue_script('fabify-custom-js', get_stylesheet_directory_uri() . '/js/custom.js');
}
add_action( 'wp_enqueue_scripts', 'fabify_css',999);
function fabify_setup() {
load_child_theme_textdomain( 'fabify', get_stylesheet_directory() . '/languages' );
add_editor_style( array( 'css/editor-style.css', fabify_google_font() ) );
}
add_action( 'after_setup_theme', 'fabify_setup' );
/**
* Register Google fonts for fabify.
*/
function fabify_google_font() {
$get_fonts_url = '';
$font_families = array();
$font_families = array('Open Sans:300,400,600,700,800', 'Raleway:400,700');
$query_args = array(
'family' => urlencode( implode( '|', $font_families ) ),
'subset' => urlencode( 'latin,latin-ext' ),
);
$get_fonts_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' );
return esc_url($get_fonts_url);
}
/**
* Remove Customize Panel from parent theme
*/
function fabify_remove_parent_setting( $wp_customize ) {
$wp_customize->remove_control('slider-page3');
$wp_customize->remove_control('call_action_button_target');
}
add_action( 'customize_register', 'fabify_remove_parent_setting',99 );
function fabify_scripts_styles() {
wp_enqueue_style( 'fabify-fonts', fabify_google_font(), array(), null );
}
add_action( 'wp_enqueue_scripts', 'fabify_scripts_styles' );
require ( get_stylesheet_directory() . '/inc/customize/specia-header-section.php');
require( get_stylesheet_directory() . '/inc/customize/specia-features.php');
require( get_stylesheet_directory() . '/inc/customize/fabify-premium.php');
/**
* Add WooCommerce Cart Icon With Cart Count
*/
function fabify_add_to_cart_fragment( $fragments ) {
ob_start();
$count = WC()->cart->cart_contents_count;
?><a class="cart-icon" href="<?php echo esc_url ( wc_get_cart_url() ); ?>"><i class='fa fa-cart-plus'></i><?php
if ( $count > 0 ) {
?>
<span class="count"><?php echo esc_html( $count ); ?></span>
<?php
} else {
?>
<span class="count"><?php echo "0"; ?></span>
<?php
}
?></a><?php
$fragments['a.cart-icon'] = ob_get_clean();
return $fragments;
}
add_filter( 'woocommerce_add_to_cart_fragments', 'fabify_add_to_cart_fragment' );
function yourtheme_woocommerce_image_dimensions() {
global $pagenow;
if ( ! isset( $_GET['activated'] ) || $pagenow != 'themes.php' ) {
return;
}
$catalog = array(
'width' => '300', // px
'height' => '300', // px
'crop' => 0 // Disabling Hard crop option.
);
$single = array(
'width' => '600', // px
'height' => '600', // px
'crop' => 0 // Disabling Hard crop option.
);
$thumbnail = array(
'width' => '300', // px
'height' => '300', // px
'crop' => 0 // Disabling Hard crop option.
);
// Image sizes
update_option( 'shop_catalog_image_size', $catalog ); // Product category thumbs
update_option( 'shop_single_image_size', $single ); // Single product image
update_option( 'shop_thumbnail_image_size', $thumbnail ); // Image gallery thumbs
}
add_action( 'after_switch_theme', 'yourtheme_woocommerce_image_dimensions', 1 );

28
header.php Normal file
View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php endif; ?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="site">
<a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Skip to content', 'fabify' ); ?></a>
<?php if ( get_header_image() ) : ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="">
</a>
<?php endif; ?>
<?php get_template_part('sections/specia','header'); ?>
<?php get_template_part('sections/specia','navigation'); ?>
<div id="content" class="site-content" role="main">

BIN
images/documentation.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9 KiB

BIN
images/features.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
images/rating.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
images/support.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

View file

@ -0,0 +1,62 @@
<?php
function fabify_premium_setting( $wp_customize ) {
$wp_customize->add_section(
'upgrade_premium',
array(
'title' => __('Upgrade to Premium','fabify'),
'description' =>'',
)
);
/*=========================================
Buttons
=========================================*/
class WP_Buttons_Customize_Control extends WP_Customize_Control {
public $type = 'upgrade_premium';
function render_content() {
?>
<div class="premium_info">
<ul>
<li><a href="https://demo.speciatheme.com/pro/fabify/" class="btn-green" target="_blank"><i class="dashicons dashicons-desktop info-icon"></i><?php _e( 'Premium Demo','fabify' ); ?> </a></li>
<li><a href="https://speciatheme.com/fabify-premium/" class="btn-green"><i class="dashicons dashicons-visibility"></i><?php _e( 'View Details','fabify' ); ?> </a></li>
<li><a href="https://speciatheme.com/fabify-premium/" class="btn-red" target="_blank"><i class="dashicons dashicons-cart"></i><?php _e( 'Buy Now','fabify' ); ?> </a></li>
<li><a href="https://speciatheme.com/themes/" class="btn-green"><i class="dashicons dashicons-visibility"></i><?php _e( 'Our Themes','fabify' ); ?> </a></li>
<li><a href="http://specia.ticksy.com/" class="btn-green" target="_blank"><i class="dashicons dashicons-sos"></i><?php _e( 'Support Center','fabify' ); ?> </a></li>
</ul>
</div>
<div>
<ul>
<li><a href="http://docs.speciatheme.com/themes/fabify-free/" target="_blank"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/documentation.png"></a></li>
<li><a href="https://specia.ticksy.com/submit/#100012779" target="_blank"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/support.png"></a></li>
<li><a href="https://wordpress.org/support/theme/fabify/reviews/#new-post" target="_blank"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/rating.png"></a></li>
</ul>
</div>
<?php
}
}
$wp_customize->add_setting(
'premium_info_buttons',
array(
'capability' => 'edit_theme_options',
'sanitize_callback' => 'specia_sanitize_text',
)
);
$wp_customize->add_control( new WP_Buttons_Customize_Control( $wp_customize, 'premium_info_buttons', array(
'section' => 'upgrade_premium',
'setting' => 'premium_info_buttons',
))
);
}
add_action( 'customize_register', 'fabify_premium_setting',999 );
?>

View file

@ -0,0 +1,155 @@
<?php
function fabify_features_setting( $wp_customize ) {
/*=========================================
Features Section Panel
=========================================*/
$wp_customize->add_panel(
'features_panel',
array(
'priority' => 128,
'capability' => 'edit_theme_options',
'title' => __('Features Section', 'fabify'),
)
);
// Features Settings Section //
$wp_customize->add_section(
'features_setting',
array(
'priority' => 1,
'title' => __('Settings','fabify'),
'panel' => 'features_panel',
)
);
$wp_customize->add_setting(
'hide_show_features' ,
array(
'default' => 'on',
'capability' => 'edit_theme_options',
'sanitize_callback' => 'specia_sanitize_select',
)
);
$wp_customize->add_control(
'hide_show_features' ,
array(
'label' => __( 'Hide / Show Section', 'fabify' ),
'section' => 'features_setting',
'settings' => 'hide_show_features',
'type' => 'radio',
'choices' =>
array(
'on' => __( 'Show', 'fabify' ),
'off' => __( 'Hide', 'fabify' )
)
)
);
// Features Header Section //
$wp_customize->add_section(
'features_header',
array(
'priority' => 2,
'title' => __('Header','fabify'),
'panel' => 'features_panel',
)
);
// Features Title //
$wp_customize->add_setting(
'features_title',
array(
'default' => '',
'capability' => 'edit_theme_options',
'sanitize_callback' => 'specia_sanitize_html',
)
);
$wp_customize->add_control(
'features_title',
array(
'label' => __('Section Title','fabify'),
'section' => 'features_header',
'settings' => 'features_title',
'type' => 'text',
)
);
// Features Description //
$wp_customize->add_setting(
'features_description',
array(
'default' => '',
'capability' => 'edit_theme_options',
'sanitize_callback' => 'specia_sanitize_text',
)
);
$wp_customize->add_control(
'features_description',
array(
'label' => __('Section Description','fabify'),
'section' => 'features_header',
'settings' => 'features_description',
'type' => 'textarea',
)
);
// Features Background Section //
$wp_customize->add_section(
'features_background',
array(
'priority' => 3,
'title' => __('Background','fabify'),
'panel' => 'features_panel',
)
);
// Background Image //
$wp_customize->add_setting(
'features_background_setting' ,
array(
'default' => '',
'capability' => 'edit_theme_options',
'sanitize_callback' => 'specia_sanitize_url',
)
);
$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize , 'features_background_setting' ,
array(
'label' => __( 'Background Image', 'fabify' ),
'section' => 'features_background',
'settings' => 'features_background_setting',
)
));
$wp_customize->add_setting(
'features_background_position' ,
array(
'default' => 'fixed',
'capability' => 'edit_theme_options',
'sanitize_callback' => 'specia_sanitize_select',
)
);
$wp_customize->add_control(
'features_background_position' ,
array(
'label' => __( 'Image Position', 'fabify' ),
'section' => 'features_background',
'settings' => 'features_background_position',
'type' => 'radio',
'choices' =>
array(
'fixed'=> __( 'Fixed', 'fabify' ),
'scroll' => __( 'Scroll', 'fabify' )
)
)
);
}
add_action( 'customize_register', 'fabify_features_setting' );
?>

View file

@ -0,0 +1,115 @@
<?php
function fabify_header_setting( $wp_customize ) {
/*=========================================
Header Settings Panel
=========================================*/
$wp_customize->add_panel(
'header_section',
array(
'priority' => 127,
'capability' => 'edit_theme_options',
'title' => __('Header Section', 'fabify'),
)
);
/*=========================================
Header Cart & Button
=========================================*/
$wp_customize->add_section(
'cart_button',
array(
'priority' => 4,
'title' => __('Header Cart & Button','fabify'),
'description' =>'',
'panel' => 'header_section',
)
);
$wp_customize->add_setting(
'header_cart' ,
array(
'default' => 'on',
'capability' => 'edit_theme_options',
'sanitize_callback' => 'specia_sanitize_select',
)
);
$wp_customize->add_control(
'header_cart' ,
array(
'label' => __( 'Hide/ Show Header Cart', 'fabify' ),
'section' => 'cart_button',
'settings' => 'header_cart',
'type' => 'radio',
'choices' =>
array(
'on' => 'Show',
'off' => 'Hide'
)
)
);
$wp_customize->add_setting(
'button_icon',
array(
'default' => 'fa-clock-o',
'sanitize_callback' => 'sanitize_text_field',
'capability' => 'edit_theme_options',
)
);
$wp_customize->add_control(
'button_icon',
array(
'label' => __('Button Icon','fabify'),
'section' => 'cart_button',
'settings'=> 'button_icon',
'type' => 'text',
'description' => sprintf(__( "Want to get more icons <a href='https://fontawesome.com/v4.7.0/icons/' target='_blank'>Click Here</a>", "fabify" )),
)
);
$wp_customize->add_setting(
'button_label',
array(
'default' => __( 'Book Now', 'fabify' ),
'sanitize_callback' => 'sanitize_text_field',
'capability' => 'edit_theme_options',
)
);
$wp_customize->add_control(
'button_label',
array(
'label' => __('Button Label','fabify'),
'section' => 'cart_button',
'settings'=> 'button_label',
'type' => 'text'
)
);
$wp_customize->add_setting(
'button_url',
array(
'default' => '',
'sanitize_callback' => 'specia_sanitize_url',
'capability' => 'edit_theme_options',
)
);
$wp_customize->add_control(
'button_url',
array(
'label' => __('Button URL','fabify'),
'section' => 'cart_button',
'settings'=> 'button_url',
'type' => 'text'
)
);
}
add_action( 'customize_register', 'fabify_header_setting' );
?>

148
js/custom.js Normal file
View file

@ -0,0 +1,148 @@
/*
* Slider Script
*/
jQuery(document).ready(function() {
var owl = jQuery('.slider-version-one');
owl.owlCarousel({
nav: owl.children().length > 1,
navText: ["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
loop: owl.children().length > 1,
autoplayTimeout: 5000,
margin: 0,
animateIn: "bounceIn",
animateOut: "bounceOut",
autoplay: 7000,
items:1,
smartSpeed:450,
autoHeight: true,
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
}
}
})
})
/*
Text Rotator Function
*/
jQuery(document).ready(function(){
jQuery(".demo1 .rotate").textrotator({
animation: "fade",
speed: 1000
});
});
/*
Sticky Header Function
*/
jQuery(function() {
jQuery('a.page-scroll').bind('click', function(event) {
var $anchor = $(this);
var nav_height = $('.navbar').innerHeight();
jQuery('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top - nav_height
}, 1500, 'easeInOutExpo');
event.preventDefault();
});
jQuery('body').scrollspy({
target: '.sticky-nav',
offset: 60
})
});
jQuery(document).ready(function() {
jQuery(window).load(function(){
jQuery(".sticky-nav").sticky({ topSpacing: 0 });
});
});
/*
Top Scroller Function
*/
jQuery(".top-scroll").hide();
jQuery(function () {
jQuery(window).scroll(function () {
if (jQuery(this).scrollTop() > 500) {
jQuery('.top-scroll').fadeIn();
} else {
jQuery('.top-scroll').fadeOut();
}
});
jQuery('a.top-scroll').click(function () {
jQuery('body,html').animate({
scrollTop: 0
}, 800);
return false;
});
});
/*
//wow-animated
*/
jQuery(document).ready(function() {
wow = new WOW({
boxClass: 'wow', // animated element css class (default is wow)
animateClass: 'animated', // animation css class (default is animated)
offset: 100, // distance to the element when triggering the animation (default is 0)
mobile: true, // trigger animations on mobile devices (true is default)
live: true // consatantly check for new WOW elements on the page (true is default)
})
wow.init();
});
/*
// Search
*/
jQuery(document).ready(function(){
var submitIcon = jQuery('.searchbox-icon');
var inputBox = jQuery('.searchbox-input');
var searchBox = jQuery('.searchbox');
var isOpen = false;
submitIcon.click(function(){
if(isOpen == false){
searchBox.addClass('searchbox-open');
inputBox.focus();
isOpen = true;
} else {
searchBox.removeClass('searchbox-open');
inputBox.focusout();
isOpen = false;
}
});
submitIcon.mouseup(function(){
return false;
});
searchBox.mouseup(function(){
return false;
});
jQuery(document).mouseup(function(){
if(isOpen == true){
jQuery('.searchbox-icon').css('display','block');
submitIcon.click();
}
});
});
function buttonUp(){
var inputVal = jQuery('.searchbox-input').val();
inputVal = jQuery.trim(inputVal).length;
if( inputVal !== 0){
jQuery('.searchbox-icon').css('display','none');
} else {
jQuery('.searchbox-input').val('');
jQuery('.searchbox-icon').css('display','block');
}
}

168
languages/fabify.pot Normal file
View file

@ -0,0 +1,168 @@
msgid ""
msgstr ""
"Project-Id-Version: Fabify\n"
"POT-Creation-Date: 2018-09-05 17:12+0530\n"
"PO-Revision-Date: 2018-09-05 17:12+0530\n"
"Last-Translator: \n"
"Language-Team: Specia\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.5\n"
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
"X-Poedit-Basepath: C:\\xampp\\htdocs\\work\\free\\wp-content\\themes"
"\\fabify\n"
"X-Poedit-SearchPath-0: C:\\xampp\\htdocs\\work\\free\\wp-content\\themes"
"\\fabify\n"
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/footer.php:27
msgid "Your Copyright Text"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/fabify-premium.php:7
msgid "Upgrade to Premium"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/fabify-premium.php:23
msgid "Premium Demo"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/fabify-premium.php:25
msgid "View Details"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/fabify-premium.php:27
msgid "Buy Now"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/fabify-premium.php:29
msgid "Our Themes"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/fabify-premium.php:31
msgid "Support Center"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:12
msgid "Features Section"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:21
msgid "Settings"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:38
msgid "Hide / Show Section"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:44
msgid "Show"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:45
msgid "Hide"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:55
msgid "Header"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:73
msgid "Section Title"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:93
msgid "Section Description"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:105
msgid "Background"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:122
msgid "Background Image"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:140
msgid "Image Position"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:146
msgid "Fixed"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-features.php:147
msgid "Scroll"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-header-section.php:12
msgid "Header Section"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-header-section.php:24
msgid "Header Cart & Button"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-header-section.php:42
msgid "Hide/ Show Header Cart"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-header-section.php:66
msgid "Button Icon"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-header-section.php:70
msgid ""
"Want to get more icons <a href='https://fontawesome.com/v4.7.0/icons/' "
"target='_blank'>Click Here</a>"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-header-section.php:77
msgid "Book Now"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-header-section.php:86
msgid "Button Label"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/inc/customize/specia-header-section.php:105
msgid "Button URL"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/sections/specia-breadcrumb.php:10
#, php-format
msgid "Daily Archives: %s"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/sections/specia-breadcrumb.php:14
#, php-format
msgid "Monthly Archives: %s"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/sections/specia-breadcrumb.php:18
#, php-format
msgid "Yearly Archives: %s"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/sections/specia-breadcrumb.php:22
#, php-format
msgid "Category Archives: %s"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/sections/specia-breadcrumb.php:26
#, php-format
msgid "Tag Archives: %s"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/sections/specia-breadcrumb.php:30
msgid "Error 404"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/sections/specia-breadcrumb.php:34
#, php-format
msgid "Author: %s"
msgstr ""
#: C:\xampp\htdocs\work\free\wp-content\themes\fabify/sections/specia-navigation.php:73
msgid "Toggle navigation"
msgstr ""

191
readme.txt Normal file
View file

@ -0,0 +1,191 @@
=== Fabify ===
Contributors: specia
Requires at least: WordPress 4.4
Tested up to: WordPress 4.9.8
Stable tag: 1.0.32
Version: 1.0.32
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-image-header, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce, education, entertainment, food-and-drink, photography, portfolio, editor-style, grid-layout
Fabify WordPress Theme, Copyright 2018 Specia Theme
Fabify is distributed under the terms of the GNU GPL
=== Description ===
Fabify is a trending WordPress theme with lots of powerful features, instantly giving a professional look to your online presence. It fits for business, portfolio, food & restaurant, gym & fitness, spa salon, medical practitioner & hospitals, landing pages, product pages, corporate business, digital agency, product showcase, financial advisor, accountant, law firm, wealth advisor, photography, personal, and any eCommerce stores. Fabify premium version provides you more than 10 different designs and supports popular plugins WPML, Polylang, WooCommerce, Contact Form 7, Revolution Slider, Elementor, Visual Composer, WP-Forms, Ninja Forms, Jetpack, WP-Featherlight, Give (WordPress Donation Plugin), Gravity Forms, Yoast SEO and many more. View the demo of Fabify Premium https://demo.speciatheme.com/pro/?theme=fabify
== Installation ==
1. In your admin panel, go to Appearance > Themes and click the Add New button.
2. Click Upload and Choose File, then select the theme's .zip file. Click Install Now.
3. Click Activate to use your new theme right away.
=== Frequently Asked Questions ===
1. Get Support - https://specia.ticksy.com/
## Credit & Copyright
Fabify WordPress Theme is child theme of Specia WordPress Theme, Copyright 2018 Specia Theme
Specia is distributed under the terms of the GNU General Public License v2
=== Copyright ===
i) Package Structure
Based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html)
ii) Font Awesome
Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
Source: http://fontawesome.io
iii) Bootstrap Framework
Bootstrap (http://getbootstrap.com/)
Copyright (c) 2011-2014 Twitter, Inc
Licensed - https://github.com/twbs/bootstrap/blob/master/LICENSE
iv) Owl Carousel 2
Owl Carousel 2 - by @David Deutsch - https://github.com/OwlCarousel2
Licensed - https://github.com/OwlCarousel2/OwlCarousel2/blob/develop/LICENSE
v) Simple Text Rotator
Simple Text Rotator - https://github.com/peachananr/simple-text-rotator
Licensed - https://github.com/peachananr/simple-text-rotator/blob/master/LICENSE
vi) Animate Css
Animate Css by @Daniel Eden - https://daneden.me/
License - https://github.com/daneden/animate.css/blob/master/LICENSE (MIT License)
Source: https://github.com/daneden/animate.css
vii) Sticky Js
Sticky Js by @Anthony Garand - http://stickyjs.com/
License - https://github.com/garand/sticky/blob/master/LICENSE.md
Source: http://stickyjs.com/
viii) Modernizr Custom
Modernizr Custom
License - MIT & BSD
Source: http://modernizr.com/download/#-touch-shiv-cssclasses-teststyles-prefixes-load
ix) WOW Js
WOW Js by @matthieu
License - GNU GPL license v3
Source: https://github.com/matthieua/WOW
x) Screenshot Image
Screenshot Image
URL: https://www.pexels.com/photo/group-of-people-in-dress-suits-776615/
Source: https://www.pexels.com/
License: CC0 License
xi) Image Folder Images
All other Images have been used in images folder, Created by Specia Theme. Also they are GPL Licensed and free to use and free to redistribute further.
xii) Admin Detail Image
Admin Detail Image
URL: https://pixabay.com/en/london-cityscape-england-1081820/
Source: http://pixabay.com
License: CC0 Public Domain
=================================================================================================
------------------------------------------------------------------------------------------------------
=== Changelog ===
@version 1.0.31
* Custom Header added to frontend.
@version 1.0.31
* Tags & Description Changed
@version 1.0.30
* Feature image added
@version 1.0.29
* Added Theme Tag (grid-layout)
@version 1.0.28
* Improve Screenshot
@version 1.0.27
* Updated Readme File
@version 1.0.26
* Updated Premium Themes Link
@version 1.0.25
* Added Documentation, Support & Review Buttons
@version 1.0.24
* Cart Error Resolved
@version 1.0.23
* Updated Theme Description
@version 1.0.22
* Updated Theme Description
@version 1.0.21
* Added Premium Themes Link
@version 1.0.20
* Code beautify
@version 1.0.19
* Added Premium Theme Button
@version 1.0.18
* Theme Description Updated
@version 1.0.17
* Copyright Issue Resolved
@version 1.0.16
* Slider Animation Changed
@version 1.0.15
* WordPress 4.9.8 Compatibility Tested.
@version 1.0.14
* Added Portfolio Features
@version 1.0.13
* WordPress 4.9.7 Compatibility Tested.
@version 1.0.12
* Fixed, Header button focus color issue.
@version 1.0.11
* Update code for security purpose
@version 1.0.10
* Added Social Media Icons
@version 1.0.9
* Code beautify
@version 1.0.8
* Screenshot changed
@version 1.0.7
* Added Feature Widget Support to Features Section.
@version 1.0.6
* Added Theme Tag
@version 1.0.4
* Added Theme URI
@version 1.0.3
* Resolved Theme Review Issues.
@version 1.0.2
* Resubmit on WordPress.org
@version 1.0.1
* Submit on WordPress.org

BIN
screenshot.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 KiB

62
search.php Normal file
View file

@ -0,0 +1,62 @@
<?php
get_header(); ?>
<section class="breadcrumb fabify">
<div class="background-overlay">
<div class="container">
<div class="row padding-top-60 padding-bottom-30">
<div class="col-md-7 col-xs-12 col-sm-7">
<h2>
<?php printf( esc_html__( 'Search Results for: %s', 'fabify' ), get_search_query() ); ?>
</h2>
</div>
<div class="col-md-5 col-xs-12 col-sm-5">
<ul class="page-breadcrumb pull-right">
<?php if (function_exists('specia_breadcrumbs')) specia_breadcrumbs();?>
</ul>
</div>
</div>
</div>
</div>
</section>
<div class="clearfix"></div>
<section class="page-wrapper">
<div class="container">
<div class="row padding-top-60 padding-bottom-60">
<div class="<?php specia_post_column(); ?>" >
<?php
if ( have_posts() ) :
/* Start the Loop */
while ( have_posts() ) : the_post();
/**
* Run the loop for the search to output the results.
* If you want to overload this in a child theme then include a file
* called content-search.php and that will be used instead.
*/
get_template_part( 'template-parts/content', 'search' );
endwhile;
the_posts_navigation();
else :
get_template_part( 'template-parts/content', 'none' );
endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
</div>
</section>
<?php
get_footer();

View file

@ -0,0 +1,77 @@
<section class="breadcrumb fabify">
<div class="background-overlay">
<div class="container">
<div class="row padding-top-60 padding-bottom-30">
<div class="col-md-6 col-xs-12 col-sm-6">
<div style="display: none;">
<h2>
<?php
if ( is_day() ) :
printf( __( 'Daily Archives: %s', 'fabify' ), get_the_date() );
elseif ( is_month() ) :
printf( __( 'Monthly Archives: %s', 'fabify' ), (get_the_date( 'F Y' ) ));
elseif ( is_year() ) :
printf( __( 'Yearly Archives: %s', 'fabify' ), (get_the_date( 'Y' ) ) );
elseif ( is_category() ) :
printf( __( 'Category Archives: %s', 'fabify' ), (single_cat_title( '', false ) ));
elseif ( is_tag() ) :
printf( __( 'Tag Archives: %s', 'fabify' ), (single_tag_title( '', false ) ));
elseif ( is_404() ) :
printf( __( 'Error 404', 'fabify' ));
elseif ( is_author() ) :
printf( __( 'Author: %s', 'fabify' ), (get_the_author( '', false ) ));
elseif ( class_exists( 'WooCommerce' ) ) :
if ( is_shop() ) {
woocommerce_page_title();
}
elseif ( is_cart() ) {
the_title();
}
elseif ( is_checkout() ) {
the_title();
}
else {
the_title();
}
else :
the_title();
endif;
?>
</h2>
</div>
</div>
<?php // echo do_shortcode( '[jssor-slider alias="banner.slider" show_on_pages="homepage"]' ); ?>
<div class="col-md-6 col-xs-12 col-sm-6 breadcrumb-position">
<ul class="page-breadcrumb" style="display: none;">
<?php if (function_exists('specia_breadcrumbs')) specia_breadcrumbs();?>
</ul>
</div>
</div>
</div>
</div>
</section>
<div class="clearfix"></div>

View file

@ -0,0 +1,33 @@
<?php
$hide_show_call_actions= get_theme_mod('hide_show_call_actions','on');
$call_action_button_label= get_theme_mod('call_action_button_label');
$call_action_button_link= get_theme_mod('call_action_button_link');
if($hide_show_call_actions == 'on') :
?>
<section class="call-to-action wow fadeInDown">
<div class="background-overlay">
<div class="container">
<div class="row padding-top-25 padding-bottom-25">
<div class="col-md-9">
<?php
$aboutusquery1 = new wp_query('page_id='.get_theme_mod('call_action_page',true));
if( $aboutusquery1->have_posts() )
{ while( $aboutusquery1->have_posts() ) { $aboutusquery1->the_post();
?>
<h2 class="demo1"> <?php the_title(); ?> <span class="rotate"> <?php the_content(); ?></span> </h2>
<?php } } wp_reset_postdata(); ?>
</div>
<?php if($call_action_button_label) :?>
<div class="col-md-3">
<a href="<?php echo esc_url($call_action_button_link); ?>" class="call-btn-1"><?php echo esc_html($call_action_button_label); ?></a>
</div>
<?php endif; ?>
</div>
</div>
</div>
</section>
<div class="clearfix"></div>
<?php wp_reset_postdata(); endif; ?>

View file

@ -0,0 +1,49 @@
<?php
$hide_show_features= get_theme_mod('hide_show_features','on');
$features_title= get_theme_mod('features_title');
$features_description= get_theme_mod('features_description');
$features_background_setting= get_theme_mod('features_background_setting');
$features_background_position= get_theme_mod('features_background_position','fixed');
if($hide_show_features == 'on') {
?>
<?php
if($features_background_setting !== '') {
?>
<section class="features-version-one" style="background: url('<?php echo esc_url($features_background_setting); ?>') no-repeat <?php echo esc_attr($features_background_position); ?> 0 0 / cover rgba(0, 0, 0, 0);">
<?php
} else {
?>
<section class="features-version-one" style="background: url('<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/images/features.jpg') no-repeat fixed 0 0 / cover rgba(0, 0, 0, 0);">
<?php
}
?>
<div class="features-overlay">
<div class="container">
<div class="row text-center padding-top-60 padding-bottom-30">
<div class="col-sm-12">
<?php if ($features_title) : ?>
<h2 class="section-heading wow zoomIn"><?php echo wp_filter_post_kses($features_title); ?></span></h2>
<?php endif; ?>
<?php if ($features_description) : ?>
<p><?php echo esc_attr($features_description); ?></p>
<?php endif; ?>
</div>
</div>
<?php
if( is_active_sidebar('specia_feature_widget') ) :
echo '<div class="row padding-bottom-30">';
dynamic_sidebar( 'specia_feature_widget' );
echo '</div>';
endif;
?>
</div>
</div>
</section>
<div class="clearfix"></div>
<?php } ?>

115
sections/specia-header.php Normal file
View file

@ -0,0 +1,115 @@
<?php
$hide_show_social= get_theme_mod('hide_show_social','off');
$hide_show_contact_infos= get_theme_mod('hide_show_contact_infos','off');
// if ( ($hide_show_social) && ($hide_show_contact_infos) != 'off') :
if (True):
?>
<section class="header-top-info-1">
<div class="container">
<div class="row">
<?php
$hide_show_contact_infos="on";// get_theme_mod('hide_show_contact_infos','off');
$header_email="Gratis Versand nach &Ouml;sterreich und Deutschland ab 40 Euro!"; //get_theme_mod('header_email','');
$header_contact=""; //get_theme_mod('header_contact_num','');
?>
<div class="col-md-6 col-sm-7">
<?php if($hide_show_contact_infos == 'on') { ?>
<!-- Start Contact Info -->
<ul class="info pull-left" style="color: white;">
<?php if($header_email) { ?>
<li><i class="fa fa-truck" style="color: lightgreen;"></i><div style="display: inline; color: white;"><?php echo esc_html($header_email); ?></div></li>
<?php } ?>
<?php if($header_contact) { ?>
<li><a href="tel:<?php echo esc_html($header_contact); ?>"><i class="fa fa-phone"></i> <?php echo esc_html($header_contact); ?></a></li>
<?php } ?>
</ul>
<!-- /End Contact Info -->
<?php } ?>
</div>
<div class="col-md-6 col-sm-5">
<!-- Start Social Media Icons -->
<?php
$hide_show_social= get_theme_mod('hide_show_social','off');
$facebook_link="https://facebook.com/sweedy"; # get_theme_mod('facebook_link','');
$linkedin_link= get_theme_mod('linkedin_link','');
$twitter_link= get_theme_mod('twitter_link','');
$googleplus_link= get_theme_mod('googleplus_link','');
$instagram_link= get_theme_mod('instagram_link','');
$dribble_link= get_theme_mod('dribble_link','');
$github_link= get_theme_mod('github_link','');
$bitbucket_link= get_theme_mod('bitbucket_link','');
$email_link= get_theme_mod('email_link','');
$skype_link= get_theme_mod('skype_link','');
$skype_action_link= get_theme_mod('skype_action_link','');
$vk_link= get_theme_mod('vk_link','');
$pinterest_link= get_theme_mod('pinterest_link','');
?>
<?php if(True or $hide_show_social == 'on') { ?>
<ul class="social pull-right" style="display: inline;">
<?php if($facebook_link) { ?>
<li style="color: white; font-family: 'Open-Sans', sans-serif; font-size: 13px;">Besuchen Sie uns auf Facebook:</li>
<li><a href="<?php echo esc_url($facebook_link); ?>"><i class="fa fa-facebook"></i></a></li>
<?php } ?>
<?php if($linkedin_link) { ?>
<li><a href="<?php echo esc_url($linkedin_link); ?>"><i class="fa fa-linkedin"></i></a></li>
<?php } ?>
<?php if($twitter_link) { ?>
<li><a href="<?php echo esc_url($twitter_link); ?>"><i class="fa fa-twitter"></i></a></li>
<?php } ?>
<?php if($googleplus_link) { ?>
<li><a href="<?php echo esc_url($googleplus_link); ?>"><i class="fa fa-google-plus"></i></a></li>
<?php } ?>
<?php if($instagram_link) { ?>
<li><a href="<?php echo esc_url($instagram_link); ?>"><i class="fa fa-instagram"></i></a></li>
<?php } ?>
<?php if($dribble_link) { ?>
<li><a href="<?php echo esc_url($dribble_link); ?>"><i class="fa fa-dribbble"></i></a></li>
<?php } ?>
<?php if($github_link) { ?>
<li><a href="<?php echo esc_url($github_link); ?>"><i class="fa fa-github-alt"></i></a></li>
<?php } ?>
<?php if($bitbucket_link) { ?>
<li><a href="<?php echo esc_url($bitbucket_link); ?>"><i class="fa fa-bitbucket"></i></a></li>
<?php } ?>
<?php if($email_link) { ?>
<li><a href="mailto:<?php echo esc_attr($email_link); ?>"><i class="fa fa-envelope-o"></i></a></li>
<?php } ?>
<?php if($skype_link) { ?>
<li><a href="<?php echo esc_attr($skype_link); ?>?<?php echo esc_attr($skype_action_link); ?>"><i class="fa fa-skype"></i></a></li>
<?php } ?>
<?php if($vk_link) { ?>
<li><a href="<?php echo esc_url($vk_link); ?>"><i class="fa fa-vk"></i></a></li>
<?php } ?>
<?php if($pinterest_link) { ?>
<li><a href="<?php echo esc_url($pinterest_link); ?>"><i class="fa fa-pinterest-square"></i></a></li>
<?php } ?>
</ul>
<?php } ?>
<!-- /End Social Media Icons-->
</div>
</div>
</div>
</section>
<div class="clearfix"></div>
<?php endif; ?>

View file

@ -0,0 +1,101 @@
<header role="banner">
<div class="container">
<div class="col-md-4 col-sm-4 col-xs-12 header-fabify padding-top-25">
<a class="navbar-brand" href="<?php echo esc_url( home_url( '/' ) ); ?>" class="brand">
<?php
if(has_custom_logo())
{
the_custom_logo();
}
else {
echo bloginfo('name');
}
?>
<?php
$description = get_bloginfo( 'description');
if ($description) : ?><p style="color: white;">|</p>
<p class="site-description"><?php echo $description; ?></p>
<?php endif; ?>
</a>
</div>
<div class="col-md-8 col-sm-8 col-xs-12 header-fabify padding-top-25">
<ul class="search-cart text-right">
<?php
$button_label= get_theme_mod('button_label','Book Now');
$button_url= get_theme_mod('button_url');
$button_icon= get_theme_mod('button_icon','fa-clock-o');
$header_cart= get_theme_mod('header_cart','on');
$header_search= get_theme_mod('header_search','on');
?>
<li>
<form class="searchbox" action="<?php echo esc_url( home_url( '/' ) ); ?>" method="get">
<input type="search" name="s" id="s" placeholder="<?php esc_attr_e( 'Search anything...','fabify' ); ?>" name="search" class="searchbox-input" onkeyup="buttonUp();" required>
<input type="submit" class="searchbox-submit" value="">
<span class="searchbox-icon"><i class="fa fa-search"></i></span>
</form>
</li>
<?php if($header_cart== 'on') :?>
<li>
<div class="fabify-cart">
<a href="" class="cart-icon"><i class="fa fa-cart-plus"></i>
<span class="count">0</span>
</a>
</div>
</li>
<?php endif; ?>
<?php if($button_label) :?>
<li>
<div class="fabify-button">
<a href="<?php echo esc_url($button_url); ?>"><i class="fa <?php echo esc_html($button_icon); ?>"></i> <?php echo esc_html($button_label); ?></a>
</div>
</li>
<?php endif; ?>
</ul>
</div>
</div>
</header>
<div class="container">
<nav class='navbar navbar-default nav-fabify <?php echo specia_sticky_menu(); ?>' role='navigation'>
<div class="container">
<!-- Mobile Display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only"><?php _e('Toggle navigation','fabify');?></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- /Mobile Display -->
<!-- Menu Toggle -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<?php
wp_nav_menu(
array(
'theme_location' => 'primary_menu',
'container' => '',
'menu_class' => 'nav navbar-nav navbar-right',
'fallback_cb' => 'specia_fallback_page_menu',
'walker' => new specia_nav_walker()
)
);
?>
</div>
<!-- Menu Toggle -->
</div>
</nav>
</div>
<div class="clearfix"></div>

View file

@ -0,0 +1,82 @@
<?php
$hide_show_portfolio= get_theme_mod('hide_show_portfolio','on');
$portfolio_title= get_theme_mod('portfolio_title');
$portfolio_description= get_theme_mod('portfolio_description');
if($hide_show_portfolio == 'on') :
?>
<?php
for($portfolio =1; $portfolio<4; $portfolio++)
{
if( get_theme_mod('portfolio-page'.$portfolio))
{
$portfolio_query = new WP_query('page_id='.get_theme_mod('portfolio-page'.$portfolio,true));
while( $portfolio_query->have_posts() )
{
$portfolio_query->the_post();
$image = wp_get_attachment_url( get_post_thumbnail_id($post->ID));
$img_arr[] = $image;
$id_arr[] = $post->ID;
}
}
}
?>
<?php if(!empty($id_arr))
{ ?>
<section class="portfolio-version">
<div class="container">
<div class="portfolio-version-one">
<div class="row text-center padding-top-60 padding-bottom-30">
<div class="col-sm-12">
<?php if ($portfolio_title) : ?>
<h2 class="section-heading wow zoomIn"><?php echo wp_filter_post_kses($portfolio_title); ?></span></h2>
<?php endif; ?>
<?php if ($portfolio_description) : ?>
<p><?php echo esc_attr($portfolio_description); ?></p>
<?php endif; ?>
</div>
</div>
<div class="row padding-bottom-60">
<?php
$i=1;
foreach($id_arr as $id)
{
$title = get_the_title( $id );
$post = get_post($id);
$content = $post->post_content;
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
?>
<div class="col-md-4 col-sm-6">
<div class="grid wow bounceIn">
<figure class="effect-apollo">
<?php
if ( has_post_thumbnail() ) { the_post_thumbnail(); }
?>
<figcaption>
<div>
<h2><?php echo $title; ?></h2>
<p><?php echo $content; ?></p>
</div>
<a href="<?php echo esc_url( get_permalink() ); ?>"></a>
</figcaption>
</figure>
</div>
</div>
<?php $i++; } ?>
</div>
</div>
</div>
</section>
<div class="clearfix"></div>
<?php } wp_reset_postdata(); endif; ?>

View file

@ -0,0 +1,89 @@
<?php
$hide_show_service= get_theme_mod('hide_show_service','on');
$service_title= get_theme_mod('service_title');
$service_description= get_theme_mod('service_description');
if($hide_show_service == 'on') :
?>
<?php
for($service =1; $service<4; $service++)
{
if( get_theme_mod('service-page'.$service))
{
$service_query = new WP_query('page_id='.get_theme_mod('service-page'.$service,true));
while( $service_query->have_posts() )
{
$service_query->the_post();
$image = wp_get_attachment_url( get_post_thumbnail_id($post->ID));
$img_arr[] = $image;
$id_arr[] = $post->ID;
}
}
}
?>
<?php if(!empty($id_arr))
{ ?>
<section class="service-version-one">
<div class="container">
<div class="row text-center padding-top-60 padding-bottom-30">
<div class="col-sm-12">
<?php if ($service_title) : ?>
<h2 class="section-heading wow zoomIn"><?php echo wp_filter_post_kses($service_title); ?></h2>
<?php endif; ?>
<?php if ($service_description) : ?>
<p><?php echo esc_html($service_description); ?></p>
<?php endif; ?>
</div>
</div>
<div class="row text-center padding-bottom-60">
<?php
$i=1;
foreach($id_arr as $id)
{
$title = get_the_title( $id );
$post = get_post($id);
$content = $post->post_content;
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
?>
<div class="col-md-4 col-sm-4 margin-bottom-30">
<div class="service-box wow fadeInUp">
<div class="service-icon-box">
<?php $image = wp_get_attachment_url( get_post_thumbnail_id($post->ID));
if( !empty($image) ) { ?>
<figure>
<img src="<?php echo esc_url($image); ?>" alt="<?php the_title_attribute();?>" >
</figure>
<?php } else { ?>
<?php if( get_post_meta(get_the_ID(),'icons', true ) ): ?>
<div class="service-icon specia-icon-effect-3 specia-icon-effect-3a">
<i class="specia-icon fa <?php echo get_post_meta( get_the_ID(),'icons', true); ?>"></i>
</div>
<?php
endif;
}
?>
</div>
<div class="service-title"><a href="<?php echo esc_url( get_permalink() ); ?>"> <?php echo esc_html($title); ?> </a></div>
<div class="service-description"><p> <?php echo $content; ?> </p></div>
</div>
</div>
<?php $i++;
} ?>
</div>
</div>
</section>
<div class="clearfix"></div>
<?php } wp_reset_postdata(); endif; ?>

View file

@ -0,0 +1,75 @@
<?php
$hide_show_slider= get_theme_mod('hide_show_slider','on');
if( $hide_show_slider == 'on' ):
?>
<?php
for($slide =1; $slide<3; $slide++)
{
if( get_theme_mod('slider-page'.$slide))
{
$slidequery = new WP_query('page_id='.get_theme_mod('slider-page'.$slide,true));
while( $slidequery->have_posts() )
{
$slidequery->the_post();
$image = wp_get_attachment_url( get_post_thumbnail_id($post->ID));
$img_arr[] = $image;
$id_arr[] = $post->ID;
}
}
}
?>
<?php if(!empty($id_arr))
{ ?>
<section class="slider-version">
<div class="slider-version-one">
<?php
$i=1;
foreach($id_arr as $id)
{
$title = get_the_title( $id );
$post = get_post($id);
$content = $post->post_content;
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
?>
<div class="item">
<figure>
<?php $image = wp_get_attachment_url( get_post_thumbnail_id($post->ID));
if( !empty($image) ) { ?>
<img src="<?php echo esc_url( $image ); ?>" alt="<?php the_title_attribute();?>" >
<?php } ?>
</figure>
<div class="specia-slider">
<div class="container inner-table">
<div class="inner-table-cell">
<div class="caption verticle-center text-center wow zoomIn">
<h1 class="wow fadeInDown animated" data-wow-delay="0.4s"><?php echo wp_filter_post_kses($title); ?></span></h1>
<?php echo $content; ?>
<?php if( get_post_meta(get_the_ID(),'fabify_slidebutton', true ) ): ?>
<a href="<?php echo esc_url( get_post_meta( get_the_ID(),'fabify_slidebutton', true) ); ?>" class="specia-btn-1">
<?php echo esc_html_e( 'Read More','fabify' ); ?>
</a>
<?php
endif;
?>
</div>
</div>
</div>
</div>
</div>
<?php $i++; } ?>
</div>
</section>
<div class="clearfix"></div>
<?php } wp_reset_postdata(); endif; ?>

498
style.css Normal file
View file

@ -0,0 +1,498 @@
/*
Theme Name: Sweedy
Theme URI: https://kumig.it/kumisystems/sweedy/
Author: Kumi Systems e.U.
Author URI: https://kumi.systems/
Description: Theme for Sweedy - Original Swedish Candyshop
Template: specia
Version: 1.0.32
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sweedy
Tags: one-column, two-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-image-header, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce, education, entertainment, food-and-drink, photography, portfolio, editor-style, grid-layout
*/
/*---------------------------------------
Header Social Icons
-----------------------------------------*/
.header-top-info-1 .social {
padding: 0px 0;
margin: 0;
line-height: 20px;
padding: 5px 0 4px;
}
.header-top-info-1 .social li {
font-family: 'Awesomefont';
margin-right: 4px;
display: inline-block;
}
.header-top-info-1 .social li {
position: relative;
}
.text-center .social li {
margin: 0 2px;
}
.social li a {
display: table;
position: relative;
-webkit-transition: .3s all;
transition: .3s all;
overflow: hidden;
}
.header-top-info-1 .social li a i {
background: #ffffff;
border-radius: 3px;
text-align: center;
display: table-cell;
vertical-align: middle;
color: #283645;
width: 25px;
height: 25px;
font-size: 12px;
-webkit-transition: all 200ms ease-out;
-moz-transition: all 200ms ease-out;
-o-transition: all 200ms ease-out;
transition: all 200ms ease-out;
}
.header-top-info-1 .social li a i:hover {
color: #ffffff;
-webkit-animation: socialFxD .3s forwards;
animation: socialFxD .3s forwards
}
@-webkit-keyframes socialFxD {
49% {
-webkit-transform: translateX(100%);
transform: translateX(100%)
}
50% {
opacity: 0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
-webkit-transform: translateX(-100%);
transform: translateX(-100%)
}
51% {
opacity: 1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
}
}
@keyframes socialFxD {
49% {
-webkit-transform: translateX(100%);
transform: translateX(100%)
}
50% {
opacity: 0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
-webkit-transform: translateX(-100%);
transform: translateX(-100%)
}
51% {
opacity: 1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
}
}
/*---------------------------------------
Header Contact Details
-----------------------------------------*/
.header-top-info-1{
float: none;
position: relative;
background: #283645;
border-bottom: 1px solid #e6e9ed;
z-index: 0;
padding: 4px 0;
}
.header-top-info-1 .info {
padding-left: 0;
margin: 0;
padding-top: 4px;
}
.header-top-info-1 .info li {
font-size: 13px;
padding-right: 0;
display: inline-block;
}
.header-top-info-1 .info li i {
margin-right: 6px;
font-size: 16px;
line-height: 20px;
}
.header-top-info-1 .info li a {
font-size: 13px;
margin-right: 10px;
color: #ffffff;
}
/*---------------------------------------
Header Menu
-----------------------------------------*/
.navbar {
padding: 10px 2px 9px;
}
.nav-fabify {
position: relative;
top: 32px;
border-radius: 3px;
z-index: 9;
}
.nav-fabify .navbar-nav li a {
color: #ffffff;
}
.nav-fabify .navbar-nav li a:hover {
color: #ffffff !important;
}
.nav-fabify .dropdown-menu > li > a {
color: #747474;
}
.nav-fabify ul {
float: left !important;
}
.header-fabify {
text-align: left;
padding-left: 0;
padding-right: 0;
color: blue;
}
.header-fabify .navbar-brand {
margin: 0;
padding-left: 0;
}
.header-fabify .navbar-brand p.site-description {
margin:0;
color: blue;
}
.site-description {
color: #0AA4E5;
font-style: normal;
font-weight: bold;
font-size: 26px;
}
@media (min-width: 768px) {
.nav-fabify .navbar-nav {
width: 100%;
}
.nav-fabify .navbar-nav > li {
float: none;
display: inline-block;
}
.nav-fabify .navbar-nav > li.navbar-right {
float: right !important;
}
}
/* .navbar-brand { display: block; } */
.navbar-custom .navbar-toggle {text-align: center;}
@media (min-width: 768px) {
.navbar-brand { display: block; }
.navbar-custom .navbar-toggle {text-align: left;}
}
@media only screen and (max-width: 767px) and (min-width: 240px) {
.navbar-toggle {
float: left;
margin: 0 auto;
position: relative;
left: 44%;
}
}
/*---------------------------------------
Service
-----------------------------------------*/
/* Effect 3 */
.specia-icon-effect-3 .specia-icon {
box-shadow: 0 0 0 4px #fff;
-webkit-transition: color 0.3s;
-moz-transition: color 0.3s;
transition: color 0.3s;
}
.specia-icon-effect-3 .specia-icon:after {
top: -2px;
left: -2px;
padding: 2px;
z-index: -1;
background: #1c314c;
-webkit-transition: -webkit-transform 0.2s, opacity 0.3s;
-moz-transition: -moz-transform 0.2s, opacity 0.3s;
transition: transform 0.2s, opacity 0.3s;
}
/* Effect 3a */
.specia-icon-effect-3a .specia-icon {
color: #ffffff;
}
.specia-icon-effect-3a .specia-icon:hover {
color: #ffffff;
}
.specia-icon-effect-3a .specia-icon:hover:after {
-webkit-transform: scale(1.3);
-moz-transform: scale(1.3);
-ms-transform: scale(1.3);
transform: scale(1.3);
opacity: 0;
}
.post_date h6 {
color: #ffffff !important;
}
.breadcrumb.fabify .background-overlay {
background: #283645;
opacity: 9;
}
.breadcrumb.fabify h2, .page-breadcrumb li {
color: #ffffff;
}
/*---------------------------------------
Service
-----------------------------------------*/
figure.effect-apollo {
background: #000000;
}
figure.effect-apollo img {
opacity: 0.95;
-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
transition: opacity 0.35s, transform 0.35s;
-webkit-transform: scale3d(1.05,1.05,1);
transform: scale3d(1.05,1.05,1);
}
figure.effect-apollo figcaption::before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255,255,255,0.1);
content: '';
-webkit-transition: -webkit-transform 0.6s;
transition: transform 0.6s;
-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-100%,0);
transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-100%,0);
}
figure.effect-apollo p {
color: #ffffff;
font-size: 13px;
font-family: 'Open Sans', sans-serif;
font-weight: lighter;
position: absolute;
right: 0;
margin: 0;
padding: 0 30px;
border-left: 5px solid #1490d7;
text-align: center;
opacity: 0;
-webkit-transition: opacity 0.35s;
transition: opacity 0.35s;
}
figure.effect-apollo h2 {
margin-top: 40px;
}
figure.effect-apollo:hover img {
opacity: 0.6;
-webkit-transform: scale3d(1,1,1);
transform: scale3d(1,1,1);
}
figure.effect-apollo:hover figcaption::before {
-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,100%,0);
transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,100%,0);
}
figure.effect-apollo:hover p {
opacity: 1;
-webkit-transition-delay: 0.1s;
transition-delay: 0.1s;
}
/*---------------------------------------
Header Search
-----------------------------------------*/
form.searchbox > input[type="search"], input[type="submit"] {
/* border: 0 !important; */
border-radius: 30px;
}
form.searchbox > input[type="submit"] {
border: none !important;
}
form.searchbox-open > input[type="search"] {
border: solid 1px #1490d7;
border-radius: 30px;
padding: 0 30px;
}
.searchbox{
position:relative;
min-width:52px;
width:0%;
height:50px;
float:right;
overflow:hidden;
border:0;
-webkit-transition: width 0.3s;
-moz-transition: width 0.3s;
-ms-transition: width 0.3s;
-o-transition: width 0.3s;
transition: width 0.3s;
}
.searchbox-input{
top:0;
right:0;
border:0;
outline:0;
background:#dcddd8;
width:100%;
height:50px;
margin:0;
padding:0px 55px 0px 20px;
font-size:20px;
color:red;
}
.searchbox-input::-webkit-input-placeholder {
color: #1490d7;
}
.searchbox-input:-moz-placeholder {
color: #1490d7;
}
.searchbox-input::-moz-placeholder {
color: #1490d7;
}
.searchbox-input:-ms-input-placeholder {
color: #1490d7;
}
.searchbox-icon,
.searchbox-submit,
.searchbox-open .searchbox-icon,
.searchbox-open .searchbox-submit{
width:50px;
height:50px;
display:block;
position:absolute;
top:0;
font-family:verdana;
font-size:22px;
right:0;
padding:0;
margin:0;
border:0;
outline:0;
line-height:50px;
text-align:center;
cursor:pointer;
color:#dcddd8;
background:#172b3c;
border-radius: 50%;
}
span.searchbox-icon:hover {
background: #1490d7;
}
.searchbox-open{
width:100%;
}
/*---------------------------------------
Header Cart
-----------------------------------------*/
ul.search-cart {
margin: 0;
}
ul.search-cart li {
display: inline-block;
margin-left: 6px;
}
.fabify-cart {
background: transparent;
width: 50px;
border: solid 1px #283645;
height: 50px;
position: relative;
right: 0;
border-radius: 50%;
}
.fabify-cart a.cart-icon {
position: relative;
left: 8px;
top: 14px;
}
.fabify-cart a.cart-icon i {
font-size: 20px;
color: #283645;
}
.fabify-cart a.cart-icon span {
position: relative;
font-size: 11px;
bottom: 20px;
left: -5px;
color: #ffffff;
padding: 2px 6px;
border-radius: 50%;
}
/*---------------------------------------
Header Button
-----------------------------------------*/
.fabify-button a {
padding: 16px 32px;
line-height: 49px;
border-radius: 30px;
color: #fff;
}
.fabify-button a:hover, .fabify-button a:focus {
color: #ffffff;
}
.features-version-six {
height: 100%;
overflow: hidden;
width: 100%;
background: #fbfbfb;
}
.features-version-six p {
color: #747474;
}
/*---------------------------------------
Top Scroller
-----------------------------------------*/
.top-scroll {
bottom: 2%;
display: none;
height: 40px;
opacity: 1;
overflow: hidden;
position: fixed;
right: 12px;
text-align: center;
width: 40px;
z-index: 9999;
border-radius: 3px;
border-width: 2px;
border-style: solid;
animation: none;
}
.top-scroll i {
color: #ffffff;
}
@media only screen and (min-device-width: 200px) and (max-device-width: 480px) {
.search-cart {
text-align: center;
}
.textwidget .woocommerce .products ul, .woocommerce ul.products {
padding: 0 17px;
}
}

View file

@ -0,0 +1,57 @@
<?php
/**
Template Name: Blog Left Sidebar
**/
get_header();
get_template_part('sections/specia','breadcrumb'); ?>
<!-- Blog & Sidebar Section -->
<section class="page-wrapper">
<div class="container">
<div class="row padding-top-60 padding-bottom-60">
<!--Blog Detail-->
<?php get_sidebar(); ?>
<div class="<?php specia_post_column(); ?>" >
<?php
$paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
$args = array( 'post_type' => 'post','paged'=>$paged );
$loop = new WP_Query( $args );
?>
<?php if( $loop->have_posts() ): ?>
<?php while( $loop->have_posts() ): $loop->the_post(); ?>
<?php get_template_part('template-parts/content','page'); ?>
<?php endwhile; ?>
<div class="paginations">
<?php
$GLOBALS['wp_query']->max_num_pages = $loop->max_num_pages;
// Previous/next page navigation.
the_posts_pagination( array(
'prev_text' => '<i class="fa fa-angle-double-left"></i>',
'next_text' => '<i class="fa fa-angle-double-right"></i>',
) ); ?>
</div>
<?php
wp_reset_postdata();
endif;
?>
</div>
<!--/End of Blog Detail-->
</div>
</div>
</section>
<!-- End of Blog & Sidebar Section -->
<div class="clearfix"></div>
<?php get_footer(); ?>

View file

@ -0,0 +1,26 @@
<?php
/**
Template Name: Page Fullwidth
**/
get_header();
get_template_part('sections/specia','breadcrumb'); ?>
<section class="page-wrapper">
<div class="container">
<div class="row padding-top-60 padding-bottom-60">
<div class="col-md-12 col-sm-12" >
<div class="site-content">
<?php the_post(); the_content(); ?>
</div>
<?php comments_template( '', true ); // show comments ?>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- /.container -->
</section>
<?php wp_reset_postdata(); ?>
<?php get_footer(); ?>

View file

@ -0,0 +1,14 @@
<?php
/**
Template Name: Homepage One
*/
get_header();
get_template_part('sections/specia','slider');
get_template_part('sections/specia','call-action');
get_template_part('sections/specia','service');
get_template_part('sections/specia','portfolio');
get_template_part('sections/specia','features');
get_template_part('sections/specia','blog');
get_footer();

View file

@ -0,0 +1,13 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><?php echo $this->get_title(); ?></title>
<style type="text/css"><?php $this->template_styles(); ?></style>
<style type="text/css"><?php do_action( 'wpo_wcpdf_custom_styles', $this->get_type(), $this ); ?></style>
</head>
<body class="<?php echo $this->get_type(); ?>">
<?php echo $content; ?>
</body>
</html>

View file

@ -0,0 +1,149 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php do_action( 'wpo_wcpdf_before_document', $this->type, $this->order ); ?>
<table class="head container">
<tr>
<td class="header">
<?php
if( $this->has_header_logo() ) {
$this->header_logo();
} else {
echo $this->get_title();
}
?>
</td>
<td class="shop-info">
<div class="shop-name"><h3><?php $this->shop_name(); ?></h3></div>
<div class="shop-address"><?php $this->shop_address(); ?></div>
</td>
</tr>
</table>
<h1 class="document-type-label">
<?php if( $this->has_header_logo() ) echo $this->get_title(); ?>
</h1>
<?php do_action( 'wpo_wcpdf_after_document_label', $this->type, $this->order ); ?>
<table class="order-data-addresses">
<tr>
<td class="address billing-address">
<!-- <h3><?php _e( 'Billing Address:', 'woocommerce-pdf-invoices-packing-slips' ); ?></h3> -->
<?php do_action( 'wpo_wcpdf_before_billing_address', $this->type, $this->order ); ?>
<?php $this->billing_address(); ?>
<?php do_action( 'wpo_wcpdf_after_billing_address', $this->type, $this->order ); ?>
<?php if ( isset($this->settings['display_email']) ) { ?>
<div class="billing-email"><?php $this->billing_email(); ?></div>
<?php } ?>
<?php if ( isset($this->settings['display_phone']) ) { ?>
<div class="billing-phone"><?php $this->billing_phone(); ?></div>
<?php } ?>
</td>
<td class="address shipping-address">
<?php if ( isset($this->settings['display_shipping_address']) && $this->ships_to_different_address()) { ?>
<h3><?php _e( 'Ship To:', 'woocommerce-pdf-invoices-packing-slips' ); ?></h3>
<?php do_action( 'wpo_wcpdf_before_shipping_address', $this->type, $this->order ); ?>
<?php $this->shipping_address(); ?>
<?php do_action( 'wpo_wcpdf_after_shipping_address', $this->type, $this->order ); ?>
<?php } ?>
</td>
<td class="order-data">
<table>
<?php do_action( 'wpo_wcpdf_before_order_data', $this->type, $this->order ); ?>
<?php if ( isset($this->settings['display_number']) ) { ?>
<tr class="invoice-number">
<th><?php _e( 'Invoice Number:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
<td><?php $this->invoice_number(); ?></td>
</tr>
<?php } ?>
<?php if ( isset($this->settings['display_date']) ) { ?>
<tr class="invoice-date">
<th><?php _e( 'Invoice Date:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
<td><?php $this->invoice_date(); ?></td>
</tr>
<?php } ?>
<tr class="order-number">
<th><?php _e( 'Order Number:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
<td><?php $this->order_number(); ?></td>
</tr>
<tr class="order-date">
<th><?php _e( 'Order Date:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
<td><?php $this->order_date(); ?></td>
</tr>
<tr class="payment-method">
<th><?php _e( 'Payment Method:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
<td><?php $this->payment_method(); ?></td>
</tr>
<?php do_action( 'wpo_wcpdf_after_order_data', $this->type, $this->order ); ?>
</table>
</td>
</tr>
</table>
<?php do_action( 'wpo_wcpdf_before_order_details', $this->type, $this->order ); ?>
<table class="order-details">
<thead>
<tr>
<th class="product"><?php _e('Product', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
<th class="quantity"><?php _e('Quantity', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
<th class="price"><?php _e('Price', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
</tr>
</thead>
<tbody>
<?php $items = $this->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item_id => $item ) : ?>
<tr class="<?php echo apply_filters( 'wpo_wcpdf_item_row_class', $item_id, $this->type, $this->order, $item_id ); ?>">
<td class="product">
<?php $description_label = __( 'Description', 'woocommerce-pdf-invoices-packing-slips' ); // registering alternate label translation ?>
<span class="item-name"><?php echo $item['name']; ?></span>
<?php do_action( 'wpo_wcpdf_before_item_meta', $this->type, $item, $this->order ); ?>
<span class="item-meta"><?php echo $item['meta']; ?></span>
<dl class="meta">
<?php $description_label = __( 'SKU', 'woocommerce-pdf-invoices-packing-slips' ); // registering alternate label translation ?>
<?php if( !empty( $item['sku'] ) ) : ?><dt class="sku"><?php _e( 'SKU:', 'woocommerce-pdf-invoices-packing-slips' ); ?></dt><dd class="sku"><?php echo $item['sku']; ?></dd><?php endif; ?>
<?php if( !empty( $item['weight'] ) ) : ?><dt class="weight"><?php _e( 'Weight:', 'woocommerce-pdf-invoices-packing-slips' ); ?></dt><dd class="weight"><?php echo $item['weight']; ?><?php echo get_option('woocommerce_weight_unit'); ?></dd><?php endif; ?>
</dl>
<?php do_action( 'wpo_wcpdf_after_item_meta', $this->type, $item, $this->order ); ?>
</td>
<td class="quantity"><?php echo $item['quantity']; ?></td>
<td class="price"><?php echo $item['order_price']; ?></td>
</tr>
<?php endforeach; endif; ?>
</tbody>
<tfoot>
<tr class="no-borders">
<td class="no-borders">
<div class="customer-notes">
<?php do_action( 'wpo_wcpdf_before_customer_notes', $this->type, $this->order ); ?>
<?php if ( $this->get_shipping_notes() ) : ?>
<h3><?php _e( 'Customer Notes', 'woocommerce-pdf-invoices-packing-slips' ); ?></h3>
<?php $this->shipping_notes(); ?>
<?php endif; ?>
<?php do_action( 'wpo_wcpdf_after_customer_notes', $this->type, $this->order ); ?>
</div>
</td>
<td class="no-borders" colspan="2">
<table class="totals">
<tfoot>
<?php foreach( $this->get_woocommerce_totals() as $key => $total ) : ?>
<tr class="<?php echo $key; ?>">
<td class="no-borders"></td>
<th class="description"><?php echo $total['label']; ?></th>
<td class="price"><span class="totals-price"><?php echo $total['value']; ?></span></td>
</tr>
<?php endforeach; ?>
</tfoot>
</table>
</td>
</tr>
</tfoot>
</table>
<?php do_action( 'wpo_wcpdf_after_order_details', $this->type, $this->order ); ?>
<?php if ( $this->get_footer() ): ?>
<div id="footer">
<?php $this->footer(); ?>
</div><!-- #letter-footer -->
<?php endif; ?>
<?php do_action( 'wpo_wcpdf_after_document', $this->type, $this->order ); ?>

View file

@ -0,0 +1,118 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php do_action( 'wpo_wcpdf_before_document', $this->type, $this->order ); ?>
<table class="head container">
<tr>
<td class="header">
<?php
if( $this->has_header_logo() ) {
$this->header_logo();
} else {
echo $this->get_title();
}
?>
</td>
<td class="shop-info">
<div class="shop-name"><h3><?php $this->shop_name(); ?></h3></div>
<div class="shop-address"><?php $this->shop_address(); ?></div>
</td>
</tr>
</table>
<h1 class="document-type-label">
<?php if( $this->has_header_logo() ) echo $this->get_title(); ?>
</h1>
<?php do_action( 'wpo_wcpdf_after_document_label', $this->type, $this->order ); ?>
<table class="order-data-addresses">
<tr>
<td class="address shipping-address">
<!-- <h3><?php _e( 'Shipping Address:', 'woocommerce-pdf-invoices-packing-slips' ); ?></h3> -->
<?php do_action( 'wpo_wcpdf_before_shipping_address', $this->type, $this->order ); ?>
<?php $this->shipping_address(); ?>
<?php do_action( 'wpo_wcpdf_after_shipping_address', $this->type, $this->order ); ?>
<?php if ( isset($this->settings['display_email']) ) { ?>
<div class="billing-email"><?php $this->billing_email(); ?></div>
<?php } ?>
<?php if ( isset($this->settings['display_phone']) ) { ?>
<div class="billing-phone"><?php $this->billing_phone(); ?></div>
<?php } ?>
</td>
<td class="address billing-address">
<?php if ( isset($this->settings['display_billing_address']) && $this->ships_to_different_address()) { ?>
<h3><?php _e( 'Billing Address:', 'woocommerce-pdf-invoices-packing-slips' ); ?></h3>
<?php do_action( 'wpo_wcpdf_before_billing_address', $this->type, $this->order ); ?>
<?php $this->billing_address(); ?>
<?php do_action( 'wpo_wcpdf_after_billing_address', $this->type, $this->order ); ?>
<?php } ?>
</td>
<td class="order-data">
<table>
<?php do_action( 'wpo_wcpdf_before_order_data', $this->type, $this->order ); ?>
<tr class="order-number">
<th><?php _e( 'Order Number:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
<td><?php $this->order_number(); ?></td>
</tr>
<tr class="order-date">
<th><?php _e( 'Order Date:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
<td><?php $this->order_date(); ?></td>
</tr>
<tr class="shipping-method">
<th><?php _e( 'Shipping Method:', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
<td><?php $this->shipping_method(); ?></td>
</tr>
<?php do_action( 'wpo_wcpdf_after_order_data', $this->type, $this->order ); ?>
</table>
</td>
</tr>
</table>
<?php do_action( 'wpo_wcpdf_before_order_details', $this->type, $this->order ); ?>
<table class="order-details">
<thead>
<tr>
<th class="product"><?php _e('Product', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
<th class="quantity"><?php _e('Quantity', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
</tr>
</thead>
<tbody>
<?php $items = $this->get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item_id => $item ) : ?>
<tr class="<?php echo apply_filters( 'wpo_wcpdf_item_row_class', $item_id, $this->type, $this->order, $item_id ); ?>">
<td class="product">
<?php $description_label = __( 'Description', 'woocommerce-pdf-invoices-packing-slips' ); // registering alternate label translation ?>
<span class="item-name"><?php echo $item['name']; ?></span>
<?php do_action( 'wpo_wcpdf_before_item_meta', $this->type, $item, $this->order ); ?>
<span class="item-meta"><?php echo $item['meta']; ?></span>
<dl class="meta">
<?php $description_label = __( 'SKU', 'woocommerce-pdf-invoices-packing-slips' ); // registering alternate label translation ?>
<?php if( !empty( $item['sku'] ) ) : ?><dt class="sku"><?php _e( 'SKU:', 'woocommerce-pdf-invoices-packing-slips' ); ?></dt><dd class="sku"><?php echo $item['sku']; ?></dd><?php endif; ?>
<?php if( !empty( $item['weight'] ) ) : ?><dt class="weight"><?php _e( 'Weight:', 'woocommerce-pdf-invoices-packing-slips' ); ?></dt><dd class="weight"><?php echo $item['weight']; ?><?php echo get_option('woocommerce_weight_unit'); ?></dd><?php endif; ?>
</dl>
<?php do_action( 'wpo_wcpdf_after_item_meta', $this->type, $item, $this->order ); ?>
</td>
<td class="quantity"><?php echo $item['quantity']; ?></td>
</tr>
<?php endforeach; endif; ?>
</tbody>
</table>
<?php do_action( 'wpo_wcpdf_after_order_details', $this->type, $this->order ); ?>
<?php do_action( 'wpo_wcpdf_before_customer_notes', $this->type, $this->order ); ?>
<div class="customer-notes">
<?php if ( $this->get_shipping_notes() ) : ?>
<h3><?php _e( 'Customer Notes', 'woocommerce-pdf-invoices-packing-slips' ); ?></h3>
<?php $this->shipping_notes(); ?>
<?php endif; ?>
</div>
<?php do_action( 'wpo_wcpdf_after_customer_notes', $this->type, $this->order ); ?>
<?php if ( $this->get_footer() ): ?>
<div id="footer">
<?php $this->footer(); ?>
</div><!-- #letter-footer -->
<?php endif; ?>
<?php do_action( 'wpo_wcpdf_after_document', $this->type, $this->order ); ?>

View file

@ -0,0 +1,267 @@
/* Main Body */
@page {
margin-top: 1cm;
margin-bottom: 3cm;
margin-left: 2cm;
margin-right: 2cm;
}
body {
background: #fff;
color: #000;
margin: 0cm;
font-family: 'Open Sans', sans-serif;
/* want to use custom fonts? http://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/using-custom-fonts/ */
font-size: 9pt;
line-height: 100%; /* fixes inherit dompdf bug */
}
h1, h2, h3, h4 {
font-weight: bold;
margin: 0;
}
h1 {
font-size: 16pt;
margin: 5mm 0;
}
h2 {
font-size: 14pt;
}
h3, h4 {
font-size: 9pt;
}
ol,
ul {
list-style: none;
margin: 0;
padding: 0;
}
li,
ul {
margin-bottom: 0.75em;
}
p {
margin: 0;
padding: 0;
}
p + p {
margin-top: 1.25em;
}
a {
border-bottom: 1px solid;
text-decoration: none;
}
/* Basic Table Styling */
table {
border-collapse: collapse;
border-spacing: 0;
page-break-inside: always;
border: 0;
margin: 0;
padding: 0;
}
th, td {
vertical-align: top;
text-align: left;
}
table.container {
width:100%;
border: 0;
}
tr.no-borders,
td.no-borders {
border: 0 !important;
border-top: 0 !important;
border-bottom: 0 !important;
padding: 0 !important;
width: auto;
}
/* Header */
table.head {
margin-bottom: 12mm;
}
td.header img {
max-height: 3cm;
width: auto;
}
td.header {
font-size: 16pt;
font-weight: 700;
}
td.shop-info {
width: 40%;
}
.document-type-label {
text-transform: uppercase;
}
/* Recipient addressses & order data */
table.order-data-addresses {
width: 100%;
margin-bottom: 10mm;
}
td.order-data {
width: 40%;
}
.invoice .shipping-address {
width: 30%;
}
.packing-slip .billing-address {
width: 30%;
}
td.order-data table th {
font-weight: normal;
padding-right: 2mm;
}
/* Order details */
table.order-details {
width:100%;
margin-bottom: 8mm;
}
.quantity,
.price {
width: 20%;
}
.order-details tr {
page-break-inside: always;
page-break-after: auto;
}
.order-details td,
.order-details th {
border-bottom: 1px #ccc solid;
border-top: 1px #ccc solid;
padding: 0.375em;
}
.order-details th {
font-weight: bold;
text-align: left;
}
.order-details thead th {
color: white;
background-color: black;
border-color: black;
}
/* product bundles compatibility */
.order-details tr.bundled-item td.product {
padding-left: 5mm;
}
.order-details tr.product-bundle td,
.order-details tr.bundled-item td {
border: 0;
}
/* item meta formatting for WC2.6 and older */
dl {
margin: 4px 0;
}
dt, dd, dd p {
display: inline;
font-size: 7pt;
line-height: 7pt;
}
dd {
margin-left: 5px;
}
dd:after {
content: "\A";
white-space: pre;
}
/* item-meta formatting for WC3.0+ */
.wc-item-meta {
margin: 4px 0;
font-size: 7pt;
line-height: 7pt;
}
.wc-item-meta p {
display: inline;
}
.wc-item-meta li {
margin: 0;
margin-left: 5px;
}
/* Notes & Totals */
.customer-notes {
margin-top: 5mm;
}
table.totals {
width: 100%;
margin-top: 5mm;
}
table.totals th,
table.totals td {
border: 0;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
table.totals th.description,
table.totals td.price {
width: 50%;
}
table.totals tr.order_total td,
table.totals tr.order_total th {
border-top: 2px solid #000;
border-bottom: 2px solid #000;
font-weight: bold;
}
table.totals tr.payment_method {
display: none;
}
/* Footer Imprint */
#footer {
position: absolute;
bottom: -2cm;
left: 0;
right: 0;
height: 2cm; /* if you change the footer height, don't forget to change the bottom (=negative height) and the @page margin-bottom as well! */
text-align: center;
border-top: 0.1mm solid gray;
margin-bottom: 0;
padding-top: 2mm;
}
/* page numbers */
.pagenum:before {
content: counter(page);
}
.pagenum,.pagecount {
font-family: sans-serif;
}

View file

@ -0,0 +1,7 @@
<?php
/**
* Use this file for all your template filters and actions.
* Requires WooCommerce PDF Invoices & Packing Slips 1.4.13 or higher
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly