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

[ Latest Posts block] Option to always show the [Read more ...] link #22269

Open
draganescu opened this issue May 11, 2020 · 6 comments
Open
Assignees
Labels
[Block] Latest Posts Affects the Latest Posts Block Good First Issue An issue that's suitable for someone looking to contribute for the first time [Type] Enhancement A suggestion for improvement.

Comments

@draganescu
Copy link
Contributor

Is your feature request related to a problem? Please describe.
In #20313 ( comment ) there was a discussion to have the block always show the link, even if:

  • the theme does not add it
  • the excerpt is not trimmed

Describe the solution you'd like
An option in the Block Inspector that shows only if excerpt is selected as the post content to be displayed. When this option is set, the link always is displayed after the excerpt.

cc @raQai

@draganescu draganescu added [Type] Enhancement A suggestion for improvement. Good First Issue An issue that's suitable for someone looking to contribute for the first time [Block] Latest Posts Affects the Latest Posts Block labels May 11, 2020
@youknowriad youknowriad changed the title [ Latest Posts ] Option to always show the [Read more ...] link [ Latest Posts block] Option to always show the [Read more ...] link Jun 4, 2020
@jasomdotnet
Copy link

jasomdotnet commented Jun 9, 2020

Also option to add custom class to "Read More" button would be useful.

@kathrynwp
Copy link

I agree that this would be a very good enhancement, particularly as I noticed that in a theme that does not display the "Read more" link on the front end – Twenty Twenty – the "Read more" link is still visible in the editor.

This creates confusion for the user, as the editor view does not match the front end.

Editor view example showing "Read more":

Edit_Page_‹Global_Styles_Demo—_WordPress

Front-end view of the same block

Latest_Posts_Block_–_Global_Styles_Demo

@thune
Copy link

thune commented Nov 11, 2021

I agree. This is missing and I have to use an external block to show posts with Read more. I like to use the blocks included in Wordpress. More futureproof :-)

@lefavilla
Copy link

lefavilla commented Jan 20, 2022

+1. I would love to see this feature. I initally thought its a bug that read more is missing.

@draganescu
Copy link
Contributor Author

Should we, now that WordPress 5.9 is out there, migrate Latest Posts to be based on a Query Loop block? Adding more features to it seems to be pointless as most of what this does the other one does also, possibly better.

@ghorivipul97
Copy link
Contributor

Hello @draganescu
I'm intrested to work on this issues. if is open then assign to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Latest Posts Affects the Latest Posts Block Good First Issue An issue that's suitable for someone looking to contribute for the first time [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

6 participants