• Resolved Rufus87

    (@rufus87)


    Hello.

    Thank you for the great plugin.

    There is a confirmation popup if you have more than one demo configured in some way.
    Your plugin use jQueryUI Dialog ( https://api.jqueryui.com/dialog ) to show popup. There are many option in dialog ( for example ‘width’, ‘min-width’, etc ), and it will be good to have possibility to overwrite some options for dialog popup.

    Please let me know what you think about this.

    Thank you in advance.
    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi,

    thanks!

    Yeah, this can be added in the next version of the plugin… Please open a github issue here: https://github.com/proteusthemes/one-click-demo-import/issues, so I don’t forget about this feature request.

    This will probably be just a WP filter, where you will be able to specify these options. That would work ok, right?

    It would be really nice, if you would write the things you would like to change in the GH issue…

    Since we are talking about the popup… I did add one filter in the 2.0.0, which allows you to disable this popup. If you want to do that, you can use this code: add_filter( 'pt-ocdi/enable_grid_layout_import_popup_confirmation', '__return_false' );

    Just wanted to mention this here…

    Take care!

    Thread Starter Rufus87

    (@rufus87)

    Hi.

    Thank you for the quick response. Yes it will be very nice and correct solution to have a filter for customizing that popup.

    I have already created an issue at github for you yo not forget about it.

    Yes, I have already noticed that filter for popup disabling and it is very good.

    Anyway.

    Thank you very much for support.

    Take care.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi,

    thanks @rufus87 for the PR. ??

    This is now available in the version 2.1.0

    Take care!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Confirmation Popup’ is closed to new replies.