themes-wordpress/course/patterns/search.php
Donna Peplinskie f31c58bdaf
Add Course theme (#6888)
* Add Course theme

This theme is meant to be used with Sensei LMS, but can also be used standalone.

* Remove .pot file

* Remove obsolete CSS

* Remove color on search button

* Remove custom Sensei footer.

* Fix path of the Inter font

On the default and `blue` style.

* Fix line height

* Make image captions smaller than post content

---------

Co-authored-by: Mikey Arce <mikeyarce@gmail.com>
Co-authored-by: Jake Oehler Morrison <s+github@jom.im>
2023-04-03 10:20:15 -04:00

13 lines
538 B
PHP

<?php
/**
* Title: Default Search
* Slug: course/search
* Inserter: no
*/
?>
<!-- wp:heading {"level":1,"style":{"typography":{"lineHeight":".9"},"spacing":{"padding":{"bottom":"30px"}}}} -->
<h1 style="padding-bottom:30px;line-height:.9"><?php echo esc_html__( 'Search', 'course' ) ?></h1>
<!-- /wp:heading -->
<!-- wp:search {"label":" ","showLabel":false,"placeholder":"<?php echo esc_html__( 'Search...', 'course' ) ?>","width":100,"widthUnit":"%","buttonText":"","buttonUseIcon":true,"style":{"border":{"radius":"4px"}}} /-->