themes-wordpress/pieria/patterns/404.php
Vicente Canales 33a5881dd9
Pieria: add theme (#7202)
* Add pieria theme

A theme created by @henriqueiamarino

* Make only the sidebar a pattern

* Remove theme attribute

* Update pieria/readme.txt

Co-authored-by: Sarah Norris <1645628+mikachan@users.noreply.github.com>

* Update pieria/style.css

Co-authored-by: Sarah Norris <1645628+mikachan@users.noreply.github.com>

* Update pieria/style.css

Co-authored-by: Sarah Norris <1645628+mikachan@users.noreply.github.com>

* Update pieria/style.css

Co-authored-by: Sarah Norris <1645628+mikachan@users.noreply.github.com>

* Translate 404 template, move to pattern

* Remove unused styles

* Make sidebar credit text translatable

* Replace separator paragraph with separator block

* Remove unused fonts

* Add asset licenses to readme file

* Add missing closing p tag

* Convert embedded image to webp

* Move translators comment according to style rules

* fix separator

---------

Co-authored-by: Sarah Norris <1645628+mikachan@users.noreply.github.com>
2023-07-07 15:38:21 -04:00

31 lines
No EOL
848 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* Title: 404
* Slug: pieria/404
* Categories: featured, 404
*/
?>
<!-- wp:heading {"textAlign":"left","level":1} -->
<h1 class="wp-block-heading has-text-align-left" id="oops-that-page-can-t-be-found">
<?php
/* Translators: 404 message. */
echo sprintf(
esc_html__( 'Oops! That page cant be found.', 'pieria' )
);
?>
</h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>
<?php
/* Translators: suggest a search */
echo sprintf(
esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'pieria' )
);
?>
</p>
<!-- /wp:paragraph -->
<!-- wp:search {"label":"","showLabel":false,"width":75,"widthUnit":"%","buttonText":"Search","buttonPosition":"button-inside","style":{"border":{"radius":"0px","width":"1px"}},"borderColor":"background","fontSize":"small"} /-->