-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add search template Add missing search template, including a "no-results" message. See #7662 * Update theme.json Add values to top and bottom spacing to fix the mobile nav spacing issues. See #7662 * Update archive.html Add query navigation on the archive pages. See #7231 * Update style.css * Add spacing to comment reply heading * Try fixing the underline issue in navigation * Add spacing to the search input field, to bring the styling in line with subscription block.
- Loading branch information
Showing
5 changed files
with
76 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
/** | ||
* Title: Hidden No Results Content | ||
* Slug: lettre/hidden-no-results-content | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:paragraph --> | ||
<p><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'lettre' ); ?></p> | ||
<!-- /wp:paragraph --> |
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,46 @@ | ||
<!-- wp:template-part {"slug":"header-archive","tagName":"header"} /--> | ||
|
||
<!-- wp:group {"tagName":"main"} --> | ||
<main class="wp-block-group"><!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:search {"showLabel":false,"width":100,"widthUnit":"%","buttonText":"Search","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"radius":"190px","width":"1px"}},"borderColor":"primary","backgroundColor":"primary","textColor":"secondary"} /--> | ||
|
||
<!-- wp:spacer {"height":"70px"} --> | ||
<div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true}} --> | ||
<div class="wp-block-query"><!-- wp:post-template --> | ||
<!-- wp:columns --> | ||
<div class="wp-block-columns"><!-- wp:column {"width":"33.33%"} --> | ||
<div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:post-featured-image {"height":"200px"} /--></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"width":"66.66%"} --> | ||
<div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:post-title {"isLink":true,"fontSize":"large"} /--> | ||
|
||
<!-- wp:post-excerpt {"showMoreOnNewLine":false,"fontSize":"small"} /--> | ||
|
||
<!-- wp:group {"layout":{"type":"flex","allowOrientation":false}} --> | ||
<div class="wp-block-group"><!-- wp:post-author-name {"fontSize":"small"} /--> | ||
|
||
<!-- wp:post-date {"format":"F j, Y","fontSize":"small"} /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
|
||
<!-- wp:separator {"backgroundColor":"tertiary","className":"is-style-wide"} --> | ||
<hr class="wp-block-separator has-text-color has-tertiary-color has-alpha-channel-opacity has-tertiary-background-color has-background is-style-wide"/> | ||
<!-- /wp:separator --> | ||
<!-- /wp:post-template --> | ||
|
||
<!-- wp:query-no-results --> | ||
<!-- wp:pattern {"slug":"lettre/hidden-no-results-content"} /--> | ||
<!-- /wp:query-no-results --> | ||
|
||
</div> | ||
<!-- /wp:query --></div> | ||
<!-- /wp:group --></main> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /--> |
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