-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Theme: Add content feedback link to lesson and quiz
Closes #1860
- Loading branch information
1 parent
a3b2835
commit bae71d7
Showing
5 changed files
with
48 additions
and
18 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
wp-content/themes/pub/wporg-learn-2024/patterns/content-feedback.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,26 @@ | ||
<?php | ||
/** | ||
* Title: Content Feedback | ||
* Slug: wporg-learn-2024/content-feedback | ||
* Inserter: no | ||
*/ | ||
|
||
?> | ||
|
||
<!-- wp:heading {"level":2,"fontSize":"large"} --> | ||
<h2 class="wp-block-heading has-large-font-size"> | ||
<?php esc_html_e( 'Suggestions', 'wporg-learn' ); ?> | ||
</h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"400,"lineHeight":"26px"}},"fontSize":"normal","fontFamily":"inter"} --> | ||
<p class="has-inter-font-family has-normal-font-size" style="font-style:normal;font-weight:400;line-height:26px"> | ||
<?php echo wp_kses_post( | ||
sprintf( | ||
/* translators: 1: Report content feedback link */ | ||
__( 'Found a typo, grammar error or outdated screenshot? <a href="%s">Contact us</a>.', 'wporg-learn' ), | ||
'https://learn.wordpress.org/report-content-feedback/', | ||
) | ||
); ?> | ||
</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
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