$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>plugins - Gutenberg Blocks and Elementor|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

plugins - Gutenberg Blocks and Elementor

matteradmin9PV0评论

I have just built a custom plugin with several blocks. It is super intuitive when editing in Wordpress base. But it turns out my client is using elementor to build out their site. I was wondering if there is an easy way to use the Wordpress core blocks (and my custom) with elementor.

I know I can turn the blocks into shortcodes, but that would push me past my deadline. I also have looked into the 'blocks' built into elementor and they don't seem like the solution. Please help.

I have also tried going into their site and using the base editor to add the block, but this forces everything into a column on the side of the site.

I have just built a custom plugin with several blocks. It is super intuitive when editing in Wordpress base. But it turns out my client is using elementor to build out their site. I was wondering if there is an easy way to use the Wordpress core blocks (and my custom) with elementor.

I know I can turn the blocks into shortcodes, but that would push me past my deadline. I also have looked into the 'blocks' built into elementor and they don't seem like the solution. Please help.

I have also tried going into their site and using the base editor to add the block, but this forces everything into a column on the side of the site.

Share Improve this question asked Apr 22 at 22:38 griff123griff123 112 bronze badges 1
  • 1 Elementor is off-topic here, you'll need to consult their own support forum. – Chris Cox Commented Apr 23 at 10:03
Add a comment  | 

1 Answer 1

Reset to default 0

I had the same problem months ago but there is not an other way. You should integrate your blocks into Elementor, creating a custom Elementor widget for your blocks or you can just use the Custom HTML widget temporarily to show your blocks but you need to make sure it aligns with how the block is styled in the front-end, it may not show properly. Or You could embed Gutenberg blocks directly, depending on the exact setup of your site.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far