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

"Read more" link of WP Gutenberg latest-posts block is not shown #661

Closed
albig opened this issue Jul 15, 2024 · 0 comments · Fixed by #662
Closed

"Read more" link of WP Gutenberg latest-posts block is not shown #661

albig opened this issue Jul 15, 2024 · 0 comments · Fixed by #662

Comments

@albig
Copy link
Member

albig commented Jul 15, 2024

Describe the bug

Using the WordPress Gutenberg latest-block together with Sunflower theme removes the "read more" link in the frontend. The behaviour seems strange, but the latest-block tries to find the string […] which is replaced by Sunflower in

add_filter( 'excerpt_more', 'sunflower_read_more_link', 910 );

Solution

Remove the filter excerpt_more from Sunflower as this is not really important. Replace by a JavaScript solution if anybody really needs it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant