diff --git a/README.txt b/README.txt index 2f227a1..519d3c9 100644 --- a/README.txt +++ b/README.txt @@ -56,11 +56,17 @@ Absolutely, the admin dashboard allows you to modify button texts, pricing, colo 3. Customizable PayButton Paywall Settings 4. PayButton Paywall Shortcode 5. Transaction Tracking and Analytics +6. PayButton Generator == Changelog == = 3.0.0 (2025/03/18) = -* +* Enhanced admin wallet address configuration flow. +* Implemented wallet address validation feature using the ecashaddrjs library. +* Refactored all eCash related identifiers (variables, CSS classes, DB fields) to generic terms. +* Improved the styling of the Unlocked Content Indicator with added customization support. +* Added native support for a streamlined PayButton generator that lets WordPress admins easily create and embed custom XEC/BCH donation buttons (e.g., "donate," "buy me a coffee") via shortcode. +* Improved admin dashboard UI/UX. = 2.3.0 (2025/03/04) = * Created a new paybutton-admin.css file to centralize admin styles. @@ -91,6 +97,6 @@ Absolutely, the admin dashboard allows you to modify button texts, pricing, colo == Upgrade Notice == -= 2.2.0+ = -Upgrade to version 2.2.0+ for improved compatibility and reliability. -======= += 3.0.0+ = +Upgrade to version 3.0.0+ for improved compatibility and reliability. +======= \ No newline at end of file diff --git a/assets/css/paybutton-admin.css b/assets/css/paybutton-admin.css index d5deeac..f45d29a 100644 --- a/assets/css/paybutton-admin.css +++ b/assets/css/paybutton-admin.css @@ -4,6 +4,29 @@ Dashboard page styles ------------------------------ */ +/* Adds a blue top-border below the admin-bar*/ +.pb-header { + margin-top: 0 !important; + box-sizing: border-box; +} + +.pb-header::before { + content: ""; + position: absolute; + top: 0 !important; + left: -20px !important; + right: -0px !important; + height: 5px !important; + background: #0074C2; +} + +.paybutton-logo { + max-width: 250px; + height: 40px; + margin-top: 0.8rem; + padding-bottom: 0px; +} + /* Container for the dashboard buttons */ .paybutton-dashboard-buttons { display: flex; @@ -62,6 +85,14 @@ /* ------------------------------ Button Generator Page Styles ------------------------------ */ +.pb-menu-new{ + color: #FF21D0; + vertical-align: super; + font-size: 9px; + font-weight: 600; + padding-left: 2px; +} + .pb-generator-container { display: flex; gap: 2rem; diff --git a/assets/paybutton-logo.png b/assets/paybutton-logo.png new file mode 100644 index 0000000..31cf995 Binary files /dev/null and b/assets/paybutton-logo.png differ diff --git a/assets/screenshot-1.png b/assets/screenshot-1.png index c218088..c3fb4ca 100644 Binary files a/assets/screenshot-1.png and b/assets/screenshot-1.png differ diff --git a/assets/screenshot-3.png b/assets/screenshot-3.png index 22f3762..0118acb 100644 Binary files a/assets/screenshot-3.png and b/assets/screenshot-3.png differ diff --git a/assets/screenshot-5.png b/assets/screenshot-5.png index d3ecb37..34ae6bd 100644 Binary files a/assets/screenshot-5.png and b/assets/screenshot-5.png differ diff --git a/assets/screenshot-6.png b/assets/screenshot-6.png new file mode 100644 index 0000000..35ec5b9 Binary files /dev/null and b/assets/screenshot-6.png differ diff --git a/includes/class-paybutton-admin.php b/includes/class-paybutton-admin.php index 174e111..e181861 100644 --- a/includes/class-paybutton-admin.php +++ b/includes/class-paybutton-admin.php @@ -36,7 +36,7 @@ public function add_admin_menus() { add_submenu_page( 'paybutton', 'Button Generator', - 'Button Generator', + 'Button Generator ', 'manage_options', 'paybutton-generator', array( $this, 'button_generator_page' ) diff --git a/templates/admin/content.php b/templates/admin/content.php index 6af1964..6ca1c63 100644 --- a/templates/admin/content.php +++ b/templates/admin/content.php @@ -4,6 +4,9 @@ ?>
+ Total Content Unlocks:
Total Earned: XEC
diff --git a/templates/admin/customers.php b/templates/admin/customers.php index 5d668b7..42380bc 100644 --- a/templates/admin/customers.php +++ b/templates/admin/customers.php @@ -5,6 +5,9 @@
+