First test
This commit is contained in:
commit
4e5ca7f605
13
.idea/.gitignore
generated
vendored
Normal file
13
.idea/.gitignore
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Rider ignored files
|
||||||
|
/modules.xml
|
||||||
|
/contentModel.xml
|
||||||
|
/projectSettingsUpdater.xml
|
||||||
|
/.idea.WP_Template.iml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
8
.idea/indexLayout.xml
generated
Normal file
8
.idea/indexLayout.xml
generated
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="UserContentModel">
|
||||||
|
<attachedFolders />
|
||||||
|
<explicitIncludes />
|
||||||
|
<explicitExcludes />
|
||||||
|
</component>
|
||||||
|
</project>
|
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
BIN
bootstrap-4.2.1-dist.zip
Normal file
BIN
bootstrap-4.2.1-dist.zip
Normal file
Binary file not shown.
34
kankys-theme/404.php
Normal file
34
kankys-theme/404.php
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<?php get_header(); ?>
|
||||||
|
|
||||||
|
<div id="primary" class="content-area col-8">
|
||||||
|
|
||||||
|
<main id="main" class="site-main" role="main">
|
||||||
|
|
||||||
|
<div class="error-404 not-found">
|
||||||
|
|
||||||
|
<header class="page-header">
|
||||||
|
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'theme' ); ?></h1>
|
||||||
|
</header><!-- .page-header -->
|
||||||
|
|
||||||
|
<div class="page-content">
|
||||||
|
|
||||||
|
<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'theme' ); ?></p>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
get_search_form();
|
||||||
|
?>
|
||||||
|
|
||||||
|
</div><!-- .page-content -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-4">
|
||||||
|
|
||||||
|
<?php get_sidebar(); ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php get_footer();
|
61
kankys-theme/archive.php
Normal file
61
kankys-theme/archive.php
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
<?php get_header(); ?>
|
||||||
|
|
||||||
|
<div id="primary" class="content-area col-8">
|
||||||
|
|
||||||
|
<main id="main" class="site-main" role="main">
|
||||||
|
<?php if (have_posts()) : ?>
|
||||||
|
|
||||||
|
<h1 class="archive-title"><?php
|
||||||
|
if ( is_day() ) :
|
||||||
|
printf( __( 'Daily Archives: %s', 'theme' ), '<span>' . get_the_date() . '</span>' );
|
||||||
|
elseif ( is_month() ) :
|
||||||
|
printf( __( 'Monthly Archives: %s', 'theme' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'theme' ) ) . '</span>' );
|
||||||
|
elseif ( is_year() ) :
|
||||||
|
printf( __( 'Yearly Archives: %s', 'theme' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'theme' ) ) . '</span>' );
|
||||||
|
else :
|
||||||
|
_e( 'Archives', 'theme' );
|
||||||
|
endif;
|
||||||
|
?>
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<?php while (have_posts()) : the_post(); ?>
|
||||||
|
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<h2 class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="post-content">
|
||||||
|
<?php echo the_excerpt();?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
endwhile;
|
||||||
|
?>
|
||||||
|
<!--BEGIN .navigation -->
|
||||||
|
<div class="navigation">
|
||||||
|
<?php posts_nav_link( '', __('Previous page','theme'), __('Next page','theme') ); ?>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
else:
|
||||||
|
?>
|
||||||
|
<div id="post-0" class="post error404 not-found">
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title"><?php _e( 'Not Found', 'theme' ); ?></h1>
|
||||||
|
</header>
|
||||||
|
<div class="entry-content">
|
||||||
|
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'theme' ); ?></p>
|
||||||
|
</div><!-- .entry-content -->
|
||||||
|
</div><!-- #post-0 -->
|
||||||
|
|
||||||
|
<?php endif; ?>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-4">
|
||||||
|
|
||||||
|
<?php get_sidebar(); ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php get_footer();
|
3719
kankys-theme/assets/css/bootstrap-grid.css
vendored
Normal file
3719
kankys-theme/assets/css/bootstrap-grid.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
kankys-theme/assets/css/bootstrap-grid.css.map
Normal file
1
kankys-theme/assets/css/bootstrap-grid.css.map
Normal file
File diff suppressed because one or more lines are too long
7
kankys-theme/assets/css/bootstrap-grid.min.css
vendored
Normal file
7
kankys-theme/assets/css/bootstrap-grid.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
kankys-theme/assets/css/bootstrap-grid.min.css.map
Normal file
1
kankys-theme/assets/css/bootstrap-grid.min.css.map
Normal file
File diff suppressed because one or more lines are too long
319
kankys-theme/assets/css/bootstrap-reboot.css
vendored
Normal file
319
kankys-theme/assets/css/bootstrap-reboot.css
vendored
Normal file
@ -0,0 +1,319 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap Reboot v4.2.1 (https://getbootstrap.com/)
|
||||||
|
* Copyright 2011-2018 The Bootstrap Authors
|
||||||
|
* Copyright 2011-2018 Twitter, Inc.
|
||||||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
|
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||||
|
*/
|
||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
font-family: sans-serif;
|
||||||
|
line-height: 1.15;
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 1.5;
|
||||||
|
color: #212529;
|
||||||
|
text-align: left;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
[tabindex="-1"]:focus {
|
||||||
|
outline: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
box-sizing: content-box;
|
||||||
|
height: 0;
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
abbr[title],
|
||||||
|
abbr[data-original-title] {
|
||||||
|
text-decoration: underline;
|
||||||
|
-webkit-text-decoration: underline dotted;
|
||||||
|
text-decoration: underline dotted;
|
||||||
|
cursor: help;
|
||||||
|
border-bottom: 0;
|
||||||
|
text-decoration-skip-ink: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
address {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
font-style: normal;
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
ol,
|
||||||
|
ul,
|
||||||
|
dl {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
ol ol,
|
||||||
|
ul ul,
|
||||||
|
ol ul,
|
||||||
|
ul ol {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
dt {
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
dd {
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
margin: 0 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
b,
|
||||||
|
strong {
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub,
|
||||||
|
sup {
|
||||||
|
position: relative;
|
||||||
|
font-size: 75%;
|
||||||
|
line-height: 0;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub {
|
||||||
|
bottom: -.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
sup {
|
||||||
|
top: -.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #007bff;
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #0056b3;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not([href]):not([tabindex]) {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not([href]):not([tabindex]):focus {
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre,
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
samp {
|
||||||
|
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 0 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
vertical-align: middle;
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
svg {
|
||||||
|
overflow: hidden;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
caption {
|
||||||
|
padding-top: 0.75rem;
|
||||||
|
padding-bottom: 0.75rem;
|
||||||
|
color: #6c757d;
|
||||||
|
text-align: left;
|
||||||
|
caption-side: bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
text-align: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: inline-block;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:focus {
|
||||||
|
outline: 1px dotted;
|
||||||
|
outline: 5px auto -webkit-focus-ring-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
input,
|
||||||
|
button,
|
||||||
|
select,
|
||||||
|
optgroup,
|
||||||
|
textarea {
|
||||||
|
margin: 0;
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: inherit;
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
input {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
select {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
[type="button"],
|
||||||
|
[type="reset"],
|
||||||
|
[type="submit"] {
|
||||||
|
-webkit-appearance: button;
|
||||||
|
}
|
||||||
|
|
||||||
|
button::-moz-focus-inner,
|
||||||
|
[type="button"]::-moz-focus-inner,
|
||||||
|
[type="reset"]::-moz-focus-inner,
|
||||||
|
[type="submit"]::-moz-focus-inner {
|
||||||
|
padding: 0;
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"],
|
||||||
|
input[type="checkbox"] {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="date"],
|
||||||
|
input[type="time"],
|
||||||
|
input[type="datetime-local"],
|
||||||
|
input[type="month"] {
|
||||||
|
-webkit-appearance: listbox;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
overflow: auto;
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
min-width: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
legend {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
line-height: inherit;
|
||||||
|
color: inherit;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
progress {
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="number"]::-webkit-inner-spin-button,
|
||||||
|
[type="number"]::-webkit-outer-spin-button {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="search"] {
|
||||||
|
outline-offset: -2px;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="search"]::-webkit-search-decoration {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-file-upload-button {
|
||||||
|
font: inherit;
|
||||||
|
-webkit-appearance: button;
|
||||||
|
}
|
||||||
|
|
||||||
|
output {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
summary {
|
||||||
|
display: list-item;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
template {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[hidden] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
1
kankys-theme/assets/css/bootstrap-reboot.css.map
Normal file
1
kankys-theme/assets/css/bootstrap-reboot.css.map
Normal file
File diff suppressed because one or more lines are too long
8
kankys-theme/assets/css/bootstrap-reboot.min.css
vendored
Normal file
8
kankys-theme/assets/css/bootstrap-reboot.min.css
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap Reboot v4.2.1 (https://getbootstrap.com/)
|
||||||
|
* Copyright 2011-2018 The Bootstrap Authors
|
||||||
|
* Copyright 2011-2018 Twitter, Inc.
|
||||||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
|
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||||
|
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
|
||||||
|
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
1
kankys-theme/assets/css/bootstrap-reboot.min.css.map
Normal file
1
kankys-theme/assets/css/bootstrap-reboot.min.css.map
Normal file
File diff suppressed because one or more lines are too long
9887
kankys-theme/assets/css/bootstrap.css
vendored
Normal file
9887
kankys-theme/assets/css/bootstrap.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
kankys-theme/assets/css/bootstrap.css.map
Normal file
1
kankys-theme/assets/css/bootstrap.css.map
Normal file
File diff suppressed because one or more lines are too long
7
kankys-theme/assets/css/bootstrap.min.css
vendored
Normal file
7
kankys-theme/assets/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
kankys-theme/assets/css/bootstrap.min.css.map
Normal file
1
kankys-theme/assets/css/bootstrap.min.css.map
Normal file
File diff suppressed because one or more lines are too long
6818
kankys-theme/assets/js/bootstrap.bundle.js
vendored
Normal file
6818
kankys-theme/assets/js/bootstrap.bundle.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
kankys-theme/assets/js/bootstrap.bundle.js.map
Normal file
1
kankys-theme/assets/js/bootstrap.bundle.js.map
Normal file
File diff suppressed because one or more lines are too long
7
kankys-theme/assets/js/bootstrap.bundle.min.js
vendored
Normal file
7
kankys-theme/assets/js/bootstrap.bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
kankys-theme/assets/js/bootstrap.bundle.min.js.map
Normal file
1
kankys-theme/assets/js/bootstrap.bundle.min.js.map
Normal file
File diff suppressed because one or more lines are too long
4249
kankys-theme/assets/js/bootstrap.js
vendored
Normal file
4249
kankys-theme/assets/js/bootstrap.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
kankys-theme/assets/js/bootstrap.js.map
Normal file
1
kankys-theme/assets/js/bootstrap.js.map
Normal file
File diff suppressed because one or more lines are too long
7
kankys-theme/assets/js/bootstrap.min.js
vendored
Normal file
7
kankys-theme/assets/js/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
kankys-theme/assets/js/bootstrap.min.js.map
Normal file
1
kankys-theme/assets/js/bootstrap.min.js.map
Normal file
File diff suppressed because one or more lines are too long
50
kankys-theme/author.php
Normal file
50
kankys-theme/author.php
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
<?php get_header(); ?>
|
||||||
|
|
||||||
|
<div id="primary" class="content-area col-8">
|
||||||
|
|
||||||
|
<main id="main" class="site-main" role="main">
|
||||||
|
<?php if (have_posts()) : ?>
|
||||||
|
|
||||||
|
<h1 class="archive-title"><?php printf( __( 'Author Archives: %s', 'theme' ), ' <a href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a>' ); ?></h1>
|
||||||
|
|
||||||
|
<?php while (have_posts()) : the_post(); ?>
|
||||||
|
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<h2 class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="post-content">
|
||||||
|
<?php echo the_excerpt();?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
endwhile;
|
||||||
|
?>
|
||||||
|
<!--BEGIN .navigation -->
|
||||||
|
<div class="navigation">
|
||||||
|
<?php posts_nav_link( '', __('Previous page','theme'), __('Next page','theme') ); ?>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
else:
|
||||||
|
?>
|
||||||
|
<div id="post-0" class="post error404 not-found">
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title"><?php _e( 'Not Found', 'theme' ); ?></h1>
|
||||||
|
</header>
|
||||||
|
<div class="entry-content">
|
||||||
|
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'theme' ); ?></p>
|
||||||
|
</div><!-- .entry-content -->
|
||||||
|
</div><!-- #post-0 -->
|
||||||
|
|
||||||
|
<?php endif; ?>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-4">
|
||||||
|
|
||||||
|
<?php get_sidebar(); ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php get_footer();
|
0
kankys-theme/category.php
Normal file
0
kankys-theme/category.php
Normal file
32
kankys-theme/content.php
Normal file
32
kankys-theme/content.php
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
|
||||||
|
<?php
|
||||||
|
if ( is_search()|| is_home() || is_archive()
|
||||||
|
|| is_tag() || is_category() ) :
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
|
||||||
|
<div class="entry-thumbnail">
|
||||||
|
<?php the_post_thumbnail(); ?>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<h2 class="title">
|
||||||
|
<a href="<?php the_permalink() ?>"
|
||||||
|
title="<?php the_title(); ?>">
|
||||||
|
<?php the_title(); ?>
|
||||||
|
</a>
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<div class="post-content">
|
||||||
|
<?php echo the_excerpt();?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php else: ?>
|
||||||
|
|
||||||
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||||
|
<div class="post-content">
|
||||||
|
<?php the_content(__('Read more...', 'theme')); ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php endif: ?>
|
||||||
|
</div>
|
17
kankys-theme/footer.php
Normal file
17
kankys-theme/footer.php
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
</div><!-- end row class -->
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
<div class="copyrights">
|
||||||
|
Copyright © <?php echo date("Y") ?> | Všechna práva vyhrazena |
|
||||||
|
<a href="<?php echo home_url(); ?>/" title="<?php bloginfo('description'); ?>">
|
||||||
|
<?php bloginfo('name'); ?></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- Theme Hook -->
|
||||||
|
<?php wp_footer(); ?>
|
||||||
|
|
||||||
|
<!--END body-->
|
||||||
|
</body>
|
||||||
|
<!--END html -->
|
||||||
|
</html>
|
62
kankys-theme/functions.php
Normal file
62
kankys-theme/functions.php
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
<?php
|
||||||
|
if ( ! function_exists( 'dummy_theme_setup' ) ){
|
||||||
|
|
||||||
|
function dummy_theme_setup() {
|
||||||
|
|
||||||
|
// Add theme supports
|
||||||
|
add_theme_support( 'automatic-feed-links' );
|
||||||
|
add_theme_support( 'title-tag' );
|
||||||
|
add_theme_support( 'post-thumbnails' );
|
||||||
|
add_theme_support( 'html5', array(
|
||||||
|
'search-form',
|
||||||
|
'comment-form',
|
||||||
|
'comment-list',
|
||||||
|
'gallery',
|
||||||
|
'caption',
|
||||||
|
) );
|
||||||
|
|
||||||
|
register_nav_menu( 'primary-menu', esc_html__( 'Primary Menu','theme' ) );
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
add_action( 'after_setup_theme', 'dummy_theme_setup' );
|
||||||
|
|
||||||
|
|
||||||
|
function dummy_theme_widgets_init() {
|
||||||
|
register_sidebar( array(
|
||||||
|
'name' => esc_html__( 'Main Sidebar', 'theme' ),
|
||||||
|
'id' => 'main-sidebar',
|
||||||
|
'description' => esc_html__( 'Add widgets here.', 'theme' ),
|
||||||
|
'before_widget' => '<section id="%1$s" class="widget %2$s">',
|
||||||
|
'after_widget' => '</section>',
|
||||||
|
'before_title' => '<h2 class="widget-title">',
|
||||||
|
'after_title' => '</h2>',
|
||||||
|
) );
|
||||||
|
}
|
||||||
|
add_action( 'widgets_init', 'dummy_theme_widgets_init' );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enqueue scripts and styles.
|
||||||
|
*/
|
||||||
|
function dummy_theme_scripts() {
|
||||||
|
|
||||||
|
wp_enqueue_style( 'bootstrap', get_template_directory_uri() . '/assets/css/bootstrap.min.css' );
|
||||||
|
wp_enqueue_style( 'dummy-theme-style', get_stylesheet_uri() );
|
||||||
|
|
||||||
|
wp_enqueue_script( 'slim', 'https://code.jquery.com/jquery-3.3.1.slim.min.js', array( 'jquery' ), '30122018', true );
|
||||||
|
wp_enqueue_script( 'popper', 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js', array( 'jquery' ), '30122018', true );
|
||||||
|
wp_enqueue_script( 'bootstrap', get_template_directory_uri() . '/assets/js/bootstrap.min.js', array(), '30122018', true );
|
||||||
|
|
||||||
|
}
|
||||||
|
add_action( 'wp_enqueue_scripts', 'dummy_theme_scripts' );
|
||||||
|
|
||||||
|
|
||||||
|
if ( function_exists( 'add_theme_support' ) ) {
|
||||||
|
add_theme_support( 'post-thumbnails' );
|
||||||
|
set_post_thumbnail_size( 56, 56, true ); // Normal post thumbnails
|
||||||
|
add_image_size( 'sidebar', 50, 50, true ); // Sidebar thumbnail
|
||||||
|
add_image_size( 'blog', 619, 300, true ); // Blog thumbnail
|
||||||
|
|
||||||
|
}
|
38
kankys-theme/header.php
Normal file
38
kankys-theme/header.php
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<!-- BEGIN html -->
|
||||||
|
<html <?php language_attributes(); ?>>
|
||||||
|
|
||||||
|
<!-- BEGIN head -->
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="profile" href="https://gmpg.org/xfn/11">
|
||||||
|
|
||||||
|
<?php wp_head(); ?>
|
||||||
|
|
||||||
|
<!-- END head -->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<!-- BEGIN body -->
|
||||||
|
<body <?php body_class(); ?>>
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<div class="header">
|
||||||
|
<h1><a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
||||||
|
<div id="site-description"><?php bloginfo( 'description' ); ?></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="header-menu">
|
||||||
|
<?php if ( has_nav_menu( 'primary-menu' ) ) { ?>
|
||||||
|
<?php wp_nav_menu( array( 'theme_location' => 'primary-menu') ); ?>
|
||||||
|
<?php } else { ?>
|
||||||
|
<ul class="sf-menu">
|
||||||
|
<li><a href="/">Home</a></li>
|
||||||
|
<li><a href="/?page_id=2">Sample Page</a></li>
|
||||||
|
<li><a href="/?p=1">Sample post</a></li>
|
||||||
|
</ul>
|
||||||
|
<?php } ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
40
kankys-theme/index.php
Normal file
40
kankys-theme/index.php
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
<?php get_header(); ?>
|
||||||
|
|
||||||
|
<div id="primary" class="content-area col-8">
|
||||||
|
|
||||||
|
<main id="main" class="site-main" role="main">
|
||||||
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||||
|
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<h2 class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="post-content">
|
||||||
|
<?php echo the_excerpt();?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
endwhile;
|
||||||
|
else:
|
||||||
|
?>
|
||||||
|
<div id="post-0" class="post error404 not-found">
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title"><?php _e( 'Not Found', 'theme' ); ?></h1>
|
||||||
|
</header>
|
||||||
|
<div class="entry-content">
|
||||||
|
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'theme' ); ?></p>
|
||||||
|
</div><!-- .entry-content -->
|
||||||
|
</div><!-- #post-0 -->
|
||||||
|
|
||||||
|
<?php endif; ?>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-4">
|
||||||
|
|
||||||
|
<?php get_sidebar(); ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php get_footer();
|
27
kankys-theme/page.php
Normal file
27
kankys-theme/page.php
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?php get_header(); ?>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8">
|
||||||
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||||
|
<!--BEGIN .hentry -->
|
||||||
|
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
|
||||||
|
<h1 class="page-title"><?php the_title(); ?></h1>
|
||||||
|
<div class="entry-content">
|
||||||
|
<?php the_content(); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php endwhile; else: ?>
|
||||||
|
<div id="post-0" <?php post_class() ?>>
|
||||||
|
<h1 class="entry-title"><?php _e('Error 404 -
|
||||||
|
Not Found', 'theme') ?></h1>
|
||||||
|
<div class="entry-content">
|
||||||
|
<p><?php _e("Sorry, but you are looking for
|
||||||
|
something that isn't here.", "theme") ?></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
<div class="span4">
|
||||||
|
<?php get_sidebar(); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php get_footer(); ?>
|
BIN
kankys-theme/screenshot.png
Normal file
BIN
kankys-theme/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
50
kankys-theme/search.php
Normal file
50
kankys-theme/search.php
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
<?php get_header(); ?>
|
||||||
|
|
||||||
|
<div id="primary" class="content-area col-8">
|
||||||
|
|
||||||
|
<main id="main" class="site-main" role="main">
|
||||||
|
<?php if (have_posts()) : ?>
|
||||||
|
|
||||||
|
<h1 class="archive-title"><?php printf( __( 'Search Results for: "%s"', 'theme' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
|
||||||
|
|
||||||
|
<?php while (have_posts()) : the_post(); ?>
|
||||||
|
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<h2 class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="post-content">
|
||||||
|
<?php echo the_excerpt();?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
endwhile;
|
||||||
|
?>
|
||||||
|
<!--BEGIN .navigation -->
|
||||||
|
<div class="navigation">
|
||||||
|
<?php posts_nav_link( '', __('Previous page','theme'), __('Next page','theme') ); ?>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
else:
|
||||||
|
?>
|
||||||
|
<div id="post-0" class="post error404 not-found">
|
||||||
|
<header>
|
||||||
|
<h1 class="entry-title"><?php _e( 'Not Found', 'theme' ); ?></h1>
|
||||||
|
</header>
|
||||||
|
<div class="entry-content">
|
||||||
|
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'theme' ); ?></p>
|
||||||
|
</div><!-- .entry-content -->
|
||||||
|
</div><!-- #post-0 -->
|
||||||
|
|
||||||
|
<?php endif; ?>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="col-4">
|
||||||
|
|
||||||
|
<?php get_sidebar(); ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php get_footer();
|
6
kankys-theme/searchform.php
Normal file
6
kankys-theme/searchform.php
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<form method="get" id="searchform" action="<?php echo home_url(); ?>/">
|
||||||
|
<fieldset>
|
||||||
|
<input type="text" name="s" id="s" placeholder="<?php _e('Search...', 'theme') ?>" />
|
||||||
|
<input type="submit" name="submit" value="Search" id="s-submit">
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
17
kankys-theme/sidebar.php
Normal file
17
kankys-theme/sidebar.php
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?php if ( ! is_active_sidebar( 'main-sidebar' ) ) : ?>
|
||||||
|
|
||||||
|
<div class="widget widget_search"><!--BEGIN #searchform-->
|
||||||
|
<form method="get" id="searchform" action="/">
|
||||||
|
<fieldset>
|
||||||
|
<input type="text" name="s" id="s" value="search" onfocus="if(this.value=='search')this.value='';" onblur="if(this.value=='')this.value='search';" />
|
||||||
|
<input type="submit" name="submit" value="" id="s-submit">
|
||||||
|
</fieldset>
|
||||||
|
<!--END #searchform-->
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php else:
|
||||||
|
|
||||||
|
dynamic_sidebar( 'main-sidebar' );
|
||||||
|
|
||||||
|
endif;
|
31
kankys-theme/single.php
Normal file
31
kankys-theme/single.php
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?php get_header(); ?>
|
||||||
|
<div class="row-fluid">
|
||||||
|
<div class="span8">
|
||||||
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||||
|
<!--BEGIN .hentry -->
|
||||||
|
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
|
||||||
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||||
|
<!--BEGIN .entry-content -->
|
||||||
|
<div class="entry-content">
|
||||||
|
<?php the_content(__('Read more...', 'theme')); ?>
|
||||||
|
</div>
|
||||||
|
<!--END .hentry-->
|
||||||
|
</div>
|
||||||
|
<?php endwhile; else: ?>
|
||||||
|
<div id="post-0" <?php post_class() ?>>
|
||||||
|
<h1 class="entry-title">
|
||||||
|
<?php _e('Error 404 - Not Found', 'theme') ?>
|
||||||
|
</h1>
|
||||||
|
<!--BEGIN .entry-content-->
|
||||||
|
<div class="entry-content">
|
||||||
|
<p><?php _e("Sorry, but you are looking for
|
||||||
|
something that isn't here.", "theme") ?></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
<div class="span4">
|
||||||
|
<?php get_sidebar(); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php get_footer(); ?>
|
11
kankys-theme/style.css
Normal file
11
kankys-theme/style.css
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
/*
|
||||||
|
Theme Name: Kankys Theme
|
||||||
|
Theme URI:
|
||||||
|
Author: TKankys
|
||||||
|
Author URI: https://lukas.kanka.cz/
|
||||||
|
Description: Theme for Metal Trade eshop
|
||||||
|
Version: 1.0
|
||||||
|
License: GNU General Public License v2 or later
|
||||||
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
Text Domain: Kankys-theme
|
||||||
|
*/
|
0
kankys-theme/tag.php
Normal file
0
kankys-theme/tag.php
Normal file
Loading…
Reference in New Issue
Block a user