Skip to content

"Create new page" button in dashboard widget not working if page can't use Elementor #3491

@tristanleboss

Description

@tristanleboss

Description

On the dashboard home page, there is an elementor widget. In this widget, there is a button "Create new page". When you click this button and Elementor is not enabled for the post_type = page, you get an error "Do you really want to do that?".

The best would be to show a list of post_type able to use Elementor when you click on the button; a bit like the "+ New" button on th WP admin bar.

Steps to reproduce

Disable Elementor for the post_type = page in the "Settings" section of the plugin.
Click the "Create new page" button on the dashboard home page Elementor widget.

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates a bug with one or multiple components.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions