-
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.
Merge pull request #5 from Shoptet/menuCaret
Redesign menu to accomodate clickable link with submenu by removing
- Loading branch information
Showing
11 changed files
with
104 additions
and
24 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
Submodule scaffolding
updated
6 files
+1 −1 | shoptet.css | |
+1 −1 | shoptet.css.map | |
+44 −30 | shoptet/_navigation.scss | |
+5 −0 | shoptet/_section.scss | |
+13 −0 | shoptet/_wp.scss | |
+0 −112 | 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
<section class="section section-primary"> | ||
<div class="section-inner container"> | ||
<?php the_content(); ?> | ||
<?php get_template_part( 'template-parts/page/content', 'widget' ); ?> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<article> | ||
<?php if ( get_the_post_thumbnail() !== '' && ! is_single() ) : ?> | ||
<div class="row"> | ||
<div class="entry-thumbnail col-sm-12 col-md-4 col-lg-4"> | ||
<a href="<?php the_permalink(); ?>"> | ||
<?php the_post_thumbnail(); ?> | ||
</a> | ||
</div> | ||
<div class="col-sm-12 col-md-8 col-lg-8"> | ||
<?php endif; ?> | ||
|
||
<?php if ( is_front_page() && ! is_home() ) { | ||
|
||
// The excerpt is being displayed within a front page section, so it's a lower hierarchy than h2. | ||
the_title( sprintf( '<h3 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h3>' ); | ||
} else { | ||
the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); | ||
} ?> | ||
|
||
<?php get_template_part( 'template-parts/post/content', 'meta' ); ?> | ||
|
||
<div class="entry-summary"> | ||
<?php the_excerpt(); ?> | ||
</div> | ||
|
||
<div class="entry-more"> | ||
<a href="<?php the_permalink(); ?>" class="btn btn-secondary">Přečíst celé</a> | ||
</div> | ||
|
||
<?php if ( get_the_post_thumbnail() !== '' && ! is_single() ) : ?> | ||
</div> <!-- !.col --> | ||
</div> <!-- !.row --> | ||
<?php endif; ?> | ||
</article> |
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,9 @@ | ||
<?php if ( is_active_sidebar( 'page_bottom_widget' )) { ?> | ||
|
||
<div class="row"> | ||
<div class="col-12"> | ||
<?php dynamic_sidebar( 'page_bottom_widget' ); ?> | ||
</div> | ||
</div> | ||
|
||
<?php } ?> |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php if ( is_active_sidebar( 'post_bottom_widget' )) { ?> | ||
|
||
<div class="row"> | ||
<div class="col-12"> | ||
<?php dynamic_sidebar( 'post_bottom_widget' ); ?> | ||
</div> | ||
</div> | ||
|
||
<?php } ?> |
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,9 @@ | ||
<?php | ||
if ( function_exists('yoast_breadcrumb') ) { | ||
yoast_breadcrumb(' | ||
<div class="breadcrumb">','</div> | ||
'); | ||
} else { | ||
shp_breadcrumb(); | ||
} | ||
?> |
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