I was wondering if there's a way to call an Advanced gutenberg block directly into some php theme template.
i'd like to call the "Recent posts" block into my front-page.php, displaying as a slider.
I thought i could do something like this (using the function from advanced-gutenberg/assets/blocks/recent-posts/block.php), but it is not working.
$recent_posts = wp_get_recent_posts(
'numberposts' => 8,
'post_status' => 'publish',
'order' => 'desc',
'orderby' => 'date',
'category' => 'une',
Does anyone can help me to call that function into my php file?
Thank you all.