Notifications
Clear all

[Closed] Is there a Gutenberg Block to display the latest topics in a blog post or page?

5 Posts
4 Users
0 Reactions
2,040 Views
Posts: 1
Topic starter
(@lazilaz)
New Member
Joined: 2 years ago

I use and love the Recent Topics block in the forum's sidebar, and that's precisely the block I want to use but in a WordPress post or page or any Gutenberg Editor (e.g., custom post type's content).

How can that widget/block appear in the Gutenberg editor of posts and pages?

4 Replies
Chris
Posts: 3650
(@chris)
Famed Member
Joined: 3 years ago

Hi @lazilaz,

You can use amr shortcode any widget plugin to create a shortcode of the needed widget and then create a shortcode block in the post content and insert the widgets shortcode there.

Jarvis
Posts: 3
(@jarvis)
New Member
Joined: 5 years ago

@chris,

Looks like that plugin has been removed.  Any other suggestions?

1 Reply
dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2610

Posted by: @jarvis

@chris,

Looks like that plugin has been removed.  Any other suggestions?

Maybe

Content Blocks (Custom Post Widget)

 

Jarvis
Posts: 3
(@jarvis)
New Member
Joined: 5 years ago

For anyone else who stumbles onto this in the future, I followed this post from WPMU.

https://wpmudev.com/blog/widgetize-page-post-template-wordpress/

I'd rather use a Gutenberg block but I settled with modifying my template and adding widget areas. It's a little technical and doesn't have the flexibility of a block but it works.