gutenberg-blocks Questions
2
Using core WP Gutenberg blocks is fantastic, but in certain cases I would like to refine the available options to improve my clients user experience, and avoid them having too many options.
For ex...
Saltus asked 2/5, 2019 at 10:59
2
The Gutenberg Code blocks are for display blocks of code within your WordPress posts and pages. In ideal situations, most people just copy and paste code directly into these blocks. But I'd like to...
Literary asked 31/1, 2020 at 17:34
5
For the life of me, I can't find anything on how to do this: simply output a reusable gutenberg block via php in a theme template. Seems like it should be doable. Anyone?
Daigle asked 27/3, 2019 at 16:33
1
Solved
I am creating a few custom blocks in a theme, and I have a problem. Sometimes I have a need to pass some custom data to my blocks in the blocks editor.
In other words, I need data to be available i...
Theis asked 17/4, 2023 at 15:14
3
EDIT I: I have found the file where the old plugin Woocommerce Blocks sets the blocks: https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/master/src/BlockTypes/FeaturedCategor...
Elbe asked 7/4, 2020 at 21:0
2
Solved
Basically I want to develop a wordpress block theme.For easy to customize I want to add some custom block in my theme.But I don't want to create a plugin for this.Custom block will be inside my the...
Cholecyst asked 1/6, 2022 at 14:26
3
Solved
I am creating very simple text block. The block works fine when I add this for the first time. If I refresh the page and try to edit the block it show me the message "This block contains unexpected...
Thankful asked 19/12, 2018 at 8:30
2
Solved
I've created a custom block plugin with @wordpress/create-block (https://developer.wordpress.org/block-editor/reference-guides/packages/packages-create-block/)
It works as a plugin, but when i move...
Aqualung asked 7/9, 2021 at 1:9
3
Solved
I am trying to make custom columns block since the wordpress default used by gutenberg is not what I need.
So i have looked up how it works, its uses InnerBlocks block with a layout definition, b...
Heraclid asked 27/6, 2018 at 22:41
2
Solved
I would like to generate a Gutenberg block in PHP.
I'm currently developing a WordPress plugin that import videos from YouTube and create a post for each video.
I can insert the YouTube video insid...
Supplejack asked 20/10, 2019 at 13:51
1
I am completely new to Gutenberg and I need to add a new tab in the setting section Please check this screenshot
I Have created some blocks for Gutenberg but no experience in this. I tried this co...
Ethelred asked 19/10, 2020 at 11:3
1
Solved
I have created a "Tabbed Panels" (tabbed content) block that is essentially just an InnerBlocks component that only allows the block "Panel". When you create a Panel you must give the Panel a headi...
Auria asked 23/1, 2020 at 18:17
2
Solved
I created a Wordpress theme and now I am working on an editor-stylesheet for the block editor to better reflect the look of the theme in the editor. For this, I need to be able to address different...
Alamo asked 7/2, 2020 at 14:57
2
I'm trying to use "getEntityRecords" to get custom post types from specific terms of taxonomy. For "post" I can use "categories" attribute in "query" object,...
Asuncionasunder asked 10/9, 2019 at 21:59
1
Solved
I want to make a Section block in WordPress Gutenberg. I have created a section block and used Gutenberg <InnerBlocks> component as inner/child blocks. It is working fine but Section block it...
Rufusrug asked 3/11, 2019 at 7:0
2
Solved
I'm trying to display the gutenberg blocks from a specific post ID inside another one.
The question is, does exist a function that I can get all blocks from one post and display it anywhere in the...
Awl asked 18/7, 2019 at 15:56
2
Solved
How can I scroll a newly inserted block into the view in the wordpress gutenberg editor?
I am creating the block with
const nextBlock = createBlock( 'core/paragraph' );
wp.data.dispatch( 'core/ed...
Ionic asked 9/6, 2019 at 11:26
0
I'm using ACF Blocks and have the following block.
acf_register_block_type(array(
'name' => 'columns',
'title' => __('Columns'),
'description' => __('For complex multi colomn rows.'),
...
Weintraub asked 3/6, 2019 at 17:42
1
I have several robots, written in Node.js, to auto-generate HTML contents and put them into several Wordpress sites using REST API. Recently Wordpress 5.0 has been officially released, and Gutenber...
Disembarrass asked 8/12, 2018 at 4:21
1
Solved
I have been searching everywhere to figure out how to add an event inside a gutenberg block. I am working to add an accordion system using ACF and Foundation. I have created a block and fields and ...
Cracking asked 30/10, 2018 at 20:49
2
Solved
Gutenberg is still pretty new, but I'm still hoping someone has encountered this issue and found a solution.
I've used create-guten-block to boilerplate a project and created a test block. The pro...
Asuncion asked 9/8, 2018 at 15:41
1
Solved
I am using Gutenberg's withSelect package to try to get all of the post types belonging to the site. Here is my code:
export default withSelect( select => {
// shorthand
const { getEntityReco...
Subtype asked 21/11, 2018 at 1:25
2
Solved
Gutenberg's API is quiet obscure and I can't figure how to create and append a block to a post.
I've found the wp.blocks.createBlock('core/paragraph', {content: "blabla"}); which returns a pretty...
Exaggerated asked 27/4, 2018 at 15:37
1
© 2022 - 2024 — McMap. All rights reserved.