Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor: Update post excerpt panel with new designs #60894

Merged
merged 10 commits into from
Apr 25, 2024
Prev Previous commit
Next Next commit
Template description help text
  • Loading branch information
jameskoster committed Apr 24, 2024
commit acbebc3b7e07468bd6e4a5223c37ce5d4a5ec2f2
4 changes: 3 additions & 1 deletion packages/editor/src/components/post-excerpt/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,16 @@ function PostExcerpt( { hideLabelFromVision = false } ) {
}
value={ excerpt }
help={
! shouldUseDescriptionLabel && (
! shouldUseDescriptionLabel ? (
<ExternalLink
href={ __(
'https://wordpress.org/documentation/article/page-post-settings-sidebar/#excerpt'
) }
>
{ __( 'Learn more about manual excerpts' ) }
</ExternalLink>
) : (
__( 'Give the template a description' )
)
}
/>
Expand Down
Loading