Questions tagged [gutenberg-reusable-block]

2 questions
1
vote
3 answers

Simple error : Wordpress Gutenberg Block not outputting php variable in javascript console. Any help appreciated

I'm creating a gutenberg dynamic block. The problem is my I can't access the attributes value outside of render.php , even in my main plugin random-jokes.php file. My console is just outputting this not the concatenated value that I want it to give…
0
votes
1 answer

How to get Gutenberg Reusable Block content when retrieving post content?

I’ve created a WordPress plugin that converts post content to speech. It’s not a surprise that on of the basic requirements for such plugin is reliable retrieving post content. I’m using get_post_field('post_content') and everything seems to work…