themes-wordpress/lettre/patterns/newsletter-in-post.php
Sarah Norris f2d6a5f7a6
Add Lettre (#6792)
* Add Lettre

* Move patterns out of inc

* Remove unused font face

* Remove index.php

* Remove alignment CSS

* Update newsletter bold

* Update hidden subscription form

* Update about single

* Update categories

* Update about multiple

* Update hidden 404

* Add missing echos

* Update hidden footer

* Update patterns

* Update remaining patterns

* Remove image ids

* Add footer to 404 template

* Use global padding

* Fix typo!

* Update all subscribe block markup

* Remove blank template

* Remove reference to .com

* Move CSS to theme.json

* Add Newsreader font

* Manual version bump

* Remove page title

* Add temp fix for Jetpack issue

* Update min version

* Remove archive search content

* Add search template

* Remove content from search block

* Remove buttonText attribute

* Fix media and text pattern

* Remove link hover CSS

* Fix button padding

* Remove Jetpack CSS fix

* Add Jetpack fix back

Needed until Jetpack 11.7 is released

* Update opacity GB issue link

* Add container element to index; remove search template

* Enable root padding

* Remove top and bottom global padding

* Add core/button styles back

* Add load_theme_textdomain

* Change tested up to versions to 6.1

* Exclude editor from Jetpack fix

The fix doesn't need to be applied in the editor, only on the front end

* Remove stable tag

* Update readme and style.css

* Fix echo typos

* Version bump
2023-01-04 15:59:46 +00:00

27 lines
1.2 KiB
PHP

<?php
/**
* Title: In-post newsletter signup
* Slug: lettre/newsletter-in-post
* Categories: featured, newsletter
*/
?>
<!-- wp:separator {"color":"tertiary","className":"is-style-wide"} -->
<hr class="wp-block-separator has-text-color has-background has-tertiary-background-color has-tertiary-color is-style-wide"/>
<!-- /wp:separator -->
<!-- wp:spacer {"height":"5px"} -->
<div style="height:5px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:paragraph {"align":"center","fontSize":"small"} -->
<p class="has-text-align-center has-small-font-size"><?php echo esc_html__( 'Subscribe for more posts like this', 'lettre' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:jetpack/subscriptions {"buttonBackgroundColor":"primary","textColor":"secondary","borderRadius":50,"borderColor":"primary","className":"is-style-compact"} /-->
<!-- wp:spacer {"height":"5px"} -->
<div style="height:5px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:separator {"color":"tertiary","className":"is-style-wide"} -->
<hr class="wp-block-separator has-text-color has-background has-tertiary-background-color has-tertiary-color is-style-wide"/>
<!-- /wp:separator -->