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

Gutenberg Block #249

Closed
bricedupuy opened this issue Feb 19, 2020 · 3 comments
Closed

Gutenberg Block #249

bricedupuy opened this issue Feb 19, 2020 · 3 comments
Assignees
Milestone

Comments

@bricedupuy
Copy link

Any chance you could make a Gutenberg Block with the features you already have?
Allowing for easy customisation :

  • layout (show/hide featured image, author, category, date, etc.)
  • Category/Taxonomy picker
  • CPT picker
  • Date range
  • etc.
@cabrerahector
Copy link
Owner

Hi @bricedupuy,

There are plans to do this sometime in the future. The reason why there isn't a WPP Gutenberg block as of yet (and I'm going to quote myself from a comment I left on the support forums here) is this:

(...) the WordPress team is planning to make everything -including widgets- a Gutenberg block (...) I’d rather wait a bit and see where things go.

Since I don't know how exactly the Gutenberg team is planning to do this it'd be a waste of time for me to go and implement a WPP block to then later realize -for example- that the widget can be used as a Gutenberg block as it is now without me having to do any code changes (unlikely IMO but who knows?)

So, as stated in the comment, I'd rather wait and see.

@cabrerahector
Copy link
Owner

It's been a while but figured I'd post an update here since you (and everyone else reading this) might be interested.

Since Full-Site Editing is coming soon I decided it was time to give Gutenberg another try. It turns out that there's a Legacy Widget block (recently introduced) that provides some compatibility with existing non-block based, third-party widgets. Unfortunately though at the time of writing it doesn't work very well with WordPress Popular Posts.

Due to the above and since I was curious anyways I started coding a custom WPP block. You can see a small preview here: https://www.buymeacoffee.com/cabrerahector/playing-around-gutenberg

There's still a lot of work ahead before I can share it publicly (the animated preview in that post is already "old", I added more changes & features within the past few days). So far progress has been promising, it's been more fun than I expected.

If everything goes well I might publish the new block and label it as experimental / expect-minor-issues for everyone to try out. Hopefully before FSE launches, that's if work / life allows it haha.

@cabrerahector cabrerahector pinned this issue Jun 8, 2021
@cabrerahector cabrerahector added this to the 5.4.0 milestone Jun 19, 2021
@cabrerahector
Copy link
Owner

The WPP block is now available to everyone without needing to enable the experimental features option (see 218abca) so I'm closing this now.

@cabrerahector cabrerahector unpinned this issue Sep 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants