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

Show Featured Images on the “Latest Posts” block #17472

Closed
kaispriestersbach opened this issue Sep 18, 2019 · 11 comments
Closed

Show Featured Images on the “Latest Posts” block #17472

kaispriestersbach opened this issue Sep 18, 2019 · 11 comments
Labels
[Block] Latest Posts Affects the Latest Posts Block [Type] Enhancement A suggestion for improvement.

Comments

@kaispriestersbach
Copy link

I would like to build an AMP first website with the latest posts as part of my homepage.

Could you add a way to show the featured image on the “Latest Posts” block?

The page I need help with: https://staging.search-one.de/ - currently I can only display title, excerpt and the date.

@swissspidy swissspidy added [Block] Latest Posts Affects the Latest Posts Block [Type] Enhancement A suggestion for improvement. labels Sep 19, 2019
@HardeepAsrani
Copy link
Contributor

If we are moving forward with this, I can take over this and send a PR. :)

@franzikusderreine
Copy link

I'm interested as well.

I just can't seem to figure out how to extend the core block "latest-posts" :/

@mrmakadia94
Copy link

mrmakadia94 commented Sep 27, 2019

I'm interested as well and do some research on it .

First we request for rest api call for media through

https://example.com/wp-json/wp/v2/posts?_embed

in that query find the media list then we can do that.

@mrmakadia94
Copy link

mrmakadia94 commented Sep 27, 2019

Hello @swissspidy

Here i share one design request for the feature image

latest-post-feature-image-design-2

Needs Design Feedback

@HardeepAsrani
Copy link
Contributor

Why have three different panels when we can have them in a single panel? They’re mostly related. We can also think if we should give an option to choose image size?

We’ve done similar in our plugin and I’m happy to contribute here and take this further, if we decide to add option.

@swissspidy swissspidy added the Needs Design Needs design efforts. label Oct 1, 2019
@karmatosed
Copy link
Member

Why have three different panels when we can have them in a single panel? They’re mostly related. We can also think if we should give an option to choose image size?

I would encourage thinking about grouping here and what is needed or having everything there.

@mapk
Copy link
Contributor

mapk commented Dec 27, 2019

There is an existing draft PR for this: #17151

@mapk mapk removed the Needs Design Needs design efforts. label Dec 27, 2019
@strarsis
Copy link
Contributor

What can I use in the meantime? Are there plugins that offer such a block with featured thumbnail images?

@shaunguimond
Copy link

What can I use in the meantime? Are there plugins that offer such a block with featured thumbnail images?

My solution was to use a plugin used Getwid. I've found it to work very well, but it does come with many other features which you may, or may not appreciate. You could also try programming it yourself obviously, but I as I wanted to save time, I chose to use Getwid.

Hope this helps 😀

@strarsis
Copy link
Contributor

strarsis commented Feb 21, 2020

@Tikio88: Apparently this feature had been already merged. I can find the thumbnails option for the recent posts block with latest Gutenberg plugin installed.

@shaunguimond
Copy link

@strarsis That's great, I'll need to check the new Gutenberg version!

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 [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

10 participants