custom post widget and elementor compatibility
-
Hi, I am willing to manage custom blocks using custom post widget plugin, that creates a new custom post type. I have managed to let Elementor acknowledge the new custom post type by making the latter public (code below), but Elementor seems to bug with this custom post type, when clicking “edit with elementor” in the custom post edit page, it displays the home page instead of the custom content, url is the following, without the post id : https://dev.local/?content_block=footer&elementor
any idea how to solve this ? thanks
code to make custom post widget public and acceptable by elementor config page:
function filter_content_block_init() { $content_block_public = true; return $content_block_public; } add_filter('content_block_post_type','filter_content_block_init');
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘custom post widget and elementor compatibility’ is closed to new replies.