diff --git a/README.md b/README.md index 2fc7466..ce63884 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# [![Formality](https://formality.dev/download/logo-github.svg)](https://formality.dev) ![license](https://img.shields.io/github/license/michelegiorgi/formality?color=%231B4DDB&style=flat-square) ![license](https://img.shields.io/github/v/release/michelegiorgi/formality?color=%231B4DDB&style=flat-square) +[![Formality](https://formality.dev/download/logo-github-2.svg)](https://formality.dev) +# Formality ![license](https://img.shields.io/github/license/michelegiorgi/formality?color=%230A01B3&style=flat-square) ![license](https://img.shields.io/github/v/release/michelegiorgi/formality?color=%230A01B3&style=flat-square) **[New plugin website](https://formality.dev)** | [Wordpress.org page](https://wordpress.org/plugins/formality) | [Donate link](https://www.paypal.me/michelegiorgi/) Designless, multistep, conversational, secure, all-in-one WordPress forms plugin. @@ -10,7 +11,7 @@ If you are not a developer, please download the latest release of the Formality ## Requirements -* [WordPress](https://wordpress.org/) >= 5.6 +* [WordPress](https://wordpress.org/) >= 5.7 ## Plugin setup diff --git a/admin/class-formality-admin.php b/admin/class-formality-admin.php index 25e9160..a9cb9e6 100755 --- a/admin/class-formality-admin.php +++ b/admin/class-formality-admin.php @@ -95,68 +95,103 @@ public function link_website( $links, $file ) { return $links; } - public function welcome_notice() { + public function admin_header() { global $pagenow, $typenow; - if ('edit.php' === $pagenow && strpos($typenow, 'formality_') !== false) { + if(strpos($typenow, 'formality_') !== false) { global $wp_post_types; $labels = $wp_post_types[$typenow]->labels; ?>
generate a couple of sample forms to practice with', 'formality'), $samplelink); ?>
-import your forms with the WordPress import tool', 'formality'), admin_url('admin.php?import=wordpress')); ?>
- - - - -making a donation, or rate this plugin with a 5 stars review on the WordPress plugin directory. You can also subscribe to our newsletter (max once a month).', 'formality'), 'https://www.paypal.me/michelegiorgi/" target="_blank', 'https://wordpress.org/support/plugin/formality/reviews/?filter=5#new-post" target="_blank'); ?>
- +generate a couple of sample forms to practice with', 'formality'), $samplelink); ?>
+import your forms with the WordPress import tool', 'formality'), admin_url('admin.php?import=wordpress')); ?>
+ + + + +making a donation, or rate this plugin with a 5 stars review on the WordPress plugin directory. You can also subscribe to our newsletter (max once a month).', 'formality'), 'https://www.paypal.me/michelegiorgi/" target="_blank', 'https://wordpress.org/support/plugin/formality/reviews/?filter=5#new-post" target="_blank'); ?>
+ +'.$notice[1].'