-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- templates with the same innards has new tpl - created tpl utils - created basic templates for pages - removed redundant template
- Loading branch information
Showing
26 changed files
with
309 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
<?php get_header(); ?> | ||
|
||
<?php | ||
while ( have_posts() ) : the_post(); ?> | ||
<?php get_template_part( 'template-parts/page/content', 'title' ); ?> | ||
<?php get_template_part( 'template-parts/page/content', 'content' ); ?> | ||
<?php | ||
endwhile; | ||
?> | ||
|
||
<?php get_footer(); | ||
<section class="section section-primary"> | ||
<div class="section-inner container"> | ||
<?php get_template_part( 'template-parts/utils/content', 'breadcrumb' ); ?> | ||
|
||
<?php | ||
/* Start the Loop */ | ||
while ( have_posts() ) : the_post(); | ||
|
||
get_template_part( 'template-parts/page/content', 'content' ); | ||
|
||
// If comments are open or we have at least one comment, load up the comment template. | ||
if ( comments_open() || get_comments_number() ) : | ||
comments_template(); | ||
endif; | ||
|
||
endwhile; // End of the loop. | ||
?> | ||
|
||
</div> | ||
</section> | ||
|
||
<?php get_footer(); ?> |
Submodule scaffolding
updated
12 files
+2 −2 | shoptet.css | |
+1 −1 | shoptet.css.map | |
+9 −1 | shoptet/_claim.scss | |
+57 −8 | shoptet/_common.scss | |
+0 −4 | shoptet/_content-box.scss | |
+10 −3 | shoptet/_header.scss | |
+14 −8 | shoptet/_navigation.scss | |
+10 −4 | shoptet/_section.scss | |
+5 −6 | shoptet/_variables-bootstrap.scss | |
+3 −1 | shoptet/_variables-shoptet.scss | |
+27 −37 | shoptet/_wp.scss | |
+106 −0 | shoptet/js/shoptet.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
<section class="section section-primary"> | ||
<div class="section-inner container"> | ||
<?php the_content(); ?> | ||
<?php get_template_part( 'template-parts/page/content', 'widget' ); ?> | ||
</div> | ||
</section> | ||
<?php | ||
|
||
echo '<h1>' . get_the_title() . '</h1>'; | ||
|
||
the_content(); | ||
|
||
get_template_part( 'template-parts/post/content', 'widget' ); | ||
|
||
?> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<section class="section section-primary"> | ||
<div class="section-inner container"> | ||
<?php | ||
if ( have_posts() ) : | ||
while ( have_posts() ) : the_post(); | ||
get_template_part( 'template-parts/post/content', 'excerpt' ); | ||
endwhile; | ||
|
||
get_template_part( 'template-parts/utils/content', 'pagination' ); | ||
|
||
else : ?> | ||
<h2><?php _e( 'Je nám líto, ale požadovaná stránka nebyla nalezena.', 'shp' ); ?></h2> | ||
<p><?php _e( 'Zkuste prosím použít vyhledávání', 'shp' ); ?></p> | ||
|
||
<?php get_template_part( 'template-parts/search/content', 'search' ); ?> | ||
<?php | ||
endif; | ||
?> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.