WordPress.org

Make WordPress Core

Opened 11 months ago

Last modified 10 days ago

#52683 new defect (bug)

Twenty Twenty-One: Block "more" text in link can't be changed

Reported by: neokendev Owned by:
Milestone: 6.0 Priority: normal
Severity: normal Version: 5.6.2
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description

Hi team,
Hope you are well.
I am on basic theme 5.6.2

Quick TT about the block "more" that we can add in article to have the link read more on the home page.

When I add this block I can change the text of the link but for some reason it doesn't show up on home page. Doesn't matter what I change I have always "Poursuivre la lecture de" as a link on my home page. I am on french version.

I didn't find any fix on your doc.

Regards

Attachments (4)

wp2.PNG (37.6 KB) - added by neokendev 11 months ago.
wp.PNG (33.6 KB) - added by neokendev 11 months ago.
52683.diff (1.8 KB) - added by sabernhardt 10 days ago.
checking for user-defined "more" text in the_content_more_link, updating comments and docs
content-more-link-standard-and-custom.png (47.2 KB) - added by sabernhardt 10 days ago.

Download all attachments as: .zip

Change History (9)

@neokendev
11 months ago

@neokendev
11 months ago

#1 @neokendev
11 months ago

When I try with other version than 5.6.2 it's working well

#2 @neokendev
11 months ago

Sorry quick correction: wordpress version is 5.6.2
but theme is Twenty Twenty-One

#3 @sabernhardt
11 months ago

  • Component changed from Editor to Bundled Theme
  • Summary changed from Block "more" text in link can't be changed to Twenty Twenty-One: Block "more" text in link can't be changed

#4 @sabernhardt
11 months ago

There are a few issues here:

  1. Showing excerpts created by the "more" tag requires the "Full text" option for Twenty Twenty-One's Excerpt Settings, not the "Summary" setting. So if you use the more tag/block regularly, you will want to go to Customize > Excerpt Settings to switch to Full text. https://live.staticflickr.com/65535/51015137443_da552df5dc_z.jpg
  1. However, Twenty Twenty-One does not support my special more text, and I haven't figured out why not. The other bundled themes worked fine with it, though.
  1. Twenty Twenty-One's translator comment does not explain that the post title is visually hidden. (The comment currently is %s: Name of current post.; Twenty Nineteen's comment is %s: Post title. Only visible to screen readers.) I suggested a French translation without "de" before the post title, which will need to be approved or improved.
Last edited 10 days ago by sabernhardt (previous) (diff)

@sabernhardt
10 days ago

checking for user-defined "more" text in the_content_more_link, updating comments and docs

#5 @sabernhardt
10 days ago

  • Keywords has-patch added; needs-patch removed
  • Milestone changed from Awaiting Review to 6.0

I expect the patch needs some polishing, but it worked with my test.

Note: See TracTickets for help on using tickets.