diff --git a/admin_credentials.txt b/admin_credentials.txt index 9c242f8..63ec338 100644 --- a/admin_credentials.txt +++ b/admin_credentials.txt @@ -1,4 +1,4 @@ WordPress Admin Credentials: URL: http://localhost/wp-admin Username: admin -Password: qhpYYAHPC3qKPM9vB7 +Password: 4CAZLaREyIU3VRzN diff --git a/assets/pasted-20260416-154653-20b44028.png b/assets/pasted-20260416-154653-20b44028.png new file mode 100644 index 0000000..1370315 Binary files /dev/null and b/assets/pasted-20260416-154653-20b44028.png differ diff --git a/assets/vm-shot-2026-04-16T15-16-15-604Z.jpg b/assets/vm-shot-2026-04-16T15-16-15-604Z.jpg new file mode 100644 index 0000000..3ce2f30 Binary files /dev/null and b/assets/vm-shot-2026-04-16T15-16-15-604Z.jpg differ diff --git a/wp-content/mu-plugins/coaching-admin-setup-guide.php b/wp-content/mu-plugins/coaching-admin-setup-guide.php index 73e7321..b4aebc9 100644 --- a/wp-content/mu-plugins/coaching-admin-setup-guide.php +++ b/wp-content/mu-plugins/coaching-admin-setup-guide.php @@ -118,32 +118,48 @@ class Coaching_Admin_Setup_Guide { echo ''; } + private function relative_admin_url( $path ) { + $absolute = admin_url( ltrim( $path, '/' ) ); + $parts = wp_parse_url( $absolute ); + $relative = $parts['path'] ?? '/wp-admin/'; + + if ( ! empty( $parts['query'] ) ) { + $relative .= '?' . $parts['query']; + } + + if ( ! empty( $parts['fragment'] ) ) { + $relative .= '#' . $parts['fragment']; + } + + return $relative; + } + private function setup_guide_url() { - return admin_url( 'index.php?page=' . self::PAGE_SLUG ); + return $this->relative_admin_url( 'index.php?page=' . self::PAGE_SLUG ); } private function ssa_main_url() { - return admin_url( 'admin.php?page=simply-schedule-appointments' ); + return $this->relative_admin_url( 'admin.php?page=simply-schedule-appointments' ); } private function ssa_types_url() { - return admin_url( 'admin.php?page=simply-schedule-appointments-types' ); + return $this->relative_admin_url( 'admin.php?page=simply-schedule-appointments-types' ); } private function ssa_settings_url() { - return admin_url( 'admin.php?page=simply-schedule-appointments-settings' ); + return $this->relative_admin_url( 'admin.php?page=simply-schedule-appointments-settings' ); } private function stripe_products_url() { - return admin_url( 'edit.php?post_type=asp-products' ); + return $this->relative_admin_url( 'edit.php?post_type=asp-products' ); } private function stripe_settings_url() { - return admin_url( 'edit.php?post_type=asp-products&page=stripe-payments-settings#general' ); + return $this->relative_admin_url( 'edit.php?post_type=asp-products&page=stripe-payments-settings#general' ); } private function stripe_email_settings_url() { - return admin_url( 'edit.php?post_type=asp-products&page=stripe-payments-settings#email' ); + return $this->relative_admin_url( 'edit.php?post_type=asp-products&page=stripe-payments-settings#email' ); } } diff --git a/wp-content/mu-plugins/speedrun-course-overrides.php b/wp-content/mu-plugins/speedrun-course-overrides.php new file mode 100644 index 0000000..faeb84c --- /dev/null +++ b/wp-content/mu-plugins/speedrun-course-overrides.php @@ -0,0 +1,337 @@ + div:first-child, +body.coaching-mvp-active.speedrun-course-site .coach-booking-layout > div:last-child > * { + background: linear-gradient(180deg, rgba(16,25,43,.94), rgba(10,16,28,.94)); + border-color: rgba(124,92,255,.16) !important; + box-shadow: var(--coach-shadow-card); +} +body.coaching-mvp-active.speedrun-course-site .coach-eyebrow, +body.coaching-mvp-active.speedrun-course-site .coach-badge, +body.coaching-mvp-active.speedrun-course-site .speedrun-chip { + color: #d9f8ff !important; + background: rgba(0,231,255,.12) !important; + border: 1px solid rgba(0,231,255,.24) !important; + box-shadow: none !important; +} +body.coaching-mvp-active.speedrun-course-site .coach-badge.dark { + background: rgba(124,92,255,.14) !important; + border-color: rgba(124,92,255,.30) !important; +} +body.coaching-mvp-active.speedrun-course-site .wp-block-button__link, +body.coaching-mvp-active.speedrun-course-site .asp_product_buy_btn { + border-radius: 14px !important; + border: 1px solid rgba(255,255,255,.06) !important; + box-shadow: 0 14px 30px rgba(0,0,0,.24); +} +body.coaching-mvp-active.speedrun-course-site .wp-block-button:not(.is-style-outline) .wp-block-button__link, +body.coaching-mvp-active.speedrun-course-site .asp_product_buy_btn { + background: linear-gradient(135deg, #00e7ff 0%, #7c5cff 100%) !important; + color: #04101d !important; + font-weight: 700 !important; +} +body.coaching-mvp-active.speedrun-course-site .wp-block-button.is-style-outline .wp-block-button__link { + background: rgba(255,255,255,.02) !important; + color: var(--coach-text) !important; + border-color: rgba(124,92,255,.24) !important; +} +body.coaching-mvp-active.speedrun-course-site .wp-block-button__link:hover, +body.coaching-mvp-active.speedrun-course-site .asp_product_buy_btn:hover, +body.coaching-mvp-active.speedrun-course-site .coach-inline-link:hover { + filter: brightness(1.06); +} +body.coaching-mvp-active.speedrun-course-site .coach-inline-link { + color: #86f7ff !important; +} +body.coaching-mvp-active.speedrun-course-site .speedrun-hero-card { + position: relative; + padding: clamp(1.4rem, 3vw, 2rem); + border-radius: 28px; + border: 1px solid rgba(124,92,255,.22); + background: + radial-gradient(circle at top right, rgba(0,231,255,.16), transparent 24%), + linear-gradient(180deg, rgba(17,28,49,.98), rgba(8,13,24,.98)); + box-shadow: var(--coach-shadow-lg); + overflow: hidden; +} +body.coaching-mvp-active.speedrun-course-site .speedrun-pulse { + position: absolute; + inset: auto -40px -40px auto; + width: 180px; + height: 180px; + border-radius: 999px; + background: radial-gradient(circle, rgba(255,88,199,.28), transparent 60%); +} +body.coaching-mvp-active.speedrun-course-site .speedrun-tier-list { + margin: 1rem 0 0; + padding-left: 1.1rem; + display: grid; + gap: .55rem; +} +body.coaching-mvp-active.speedrun-course-site .speedrun-tier-list li { + color: #dbe6ff; +} +body.coaching-mvp-active.speedrun-course-site .speedrun-stat-row { + display: grid; + grid-template-columns: repeat(3, minmax(0,1fr)); + gap: .8rem; + margin-top: 1.25rem; +} +body.coaching-mvp-active.speedrun-course-site .speedrun-stat-row div { + padding: .9rem; + border-radius: 18px; + background: rgba(255,255,255,.03); + border: 1px solid rgba(255,255,255,.06); +} +body.coaching-mvp-active.speedrun-course-site .speedrun-stat-row strong { + display: block; + font-size: 1.7rem; + line-height: 1; + color: #86f7ff; +} +body.coaching-mvp-active.speedrun-course-site .speedrun-stat-row span { + display: block; + margin-top: .28rem; + color: var(--coach-muted); + font-size: .92rem; +} +body.coaching-mvp-active.speedrun-course-site .speedrun-grid { + display: grid; + gap: 1rem; +} +body.coaching-mvp-active.speedrun-course-site .speedrun-grid-3 { + grid-template-columns: repeat(3, minmax(0, 1fr)); +} +body.coaching-mvp-active.speedrun-course-site .speedrun-grid-2, +body.coaching-mvp-active.speedrun-course-site .speedrun-program-grid { + grid-template-columns: repeat(2, minmax(0, 1fr)); +} +body.coaching-mvp-active.speedrun-course-site .speedrun-bonus-strip { + display: grid; + gap: 1rem; + grid-template-columns: repeat(3, minmax(0, 1fr)); +} +body.coaching-mvp-active.speedrun-course-site .coach-cta-band, +body.coaching-mvp-active.speedrun-course-site .speedrun-final-cta { + background: linear-gradient(135deg, rgba(124,92,255,.16), rgba(0,231,255,.10)); + border: 1px solid rgba(124,92,255,.22); +} +body.coaching-mvp-active.speedrun-course-site .coach-faq-item summary::after, +body.coaching-mvp-active.speedrun-course-site .coach-icon-dot { + color: #86f7ff !important; +} +body.coaching-mvp-active.speedrun-course-site .coach-post-card, +body.coaching-mvp-active.speedrun-course-site .coach-testimonial-card { + background: linear-gradient(180deg, rgba(17,28,49,.96), rgba(9,14,24,.96)); + border: 1px solid rgba(124,92,255,.16); +} +body.coaching-mvp-active.speedrun-course-site .coach-testimonial-meta, +body.coaching-mvp-active.speedrun-course-site .coach-quote-role { + color: #86f7ff; +} +body.coaching-mvp-active.speedrun-course-site .coach-payment-grid, +body.coaching-mvp-active.speedrun-course-site .coach-payment-grid > .wp-block-group__inner-container { + display: grid !important; + grid-template-columns: repeat(3, minmax(0,1fr)); + gap: 1rem; +} +body.coaching-mvp-active.speedrun-course-site .coach-payment-grid .asp_product_item { + margin: 0 !important; + padding: 1.35rem !important; + min-height: 100%; + display: flex; + flex-direction: column; + gap: .8rem; + border-radius: 24px !important; + background: linear-gradient(180deg, rgba(17,28,49,.98), rgba(8,13,24,.98)) !important; + border: 1px solid rgba(124,92,255,.18) !important; + box-shadow: var(--coach-shadow-card) !important; +} +body.coaching-mvp-active.speedrun-course-site .coach-payment-grid .asp_product_item:nth-child(2) { + border-color: rgba(0,231,255,.30) !important; + box-shadow: 0 24px 60px rgba(0,231,255,.10) !important; +} +body.coaching-mvp-active.speedrun-course-site .coach-payment-grid .asp_product_name, +body.coaching-mvp-active.speedrun-course-site .coach-payment-grid .asp_price_amount { + color: var(--coach-text) !important; +} +body.coaching-mvp-active.speedrun-course-site .coach-payment-grid .asp_product_description { + color: var(--coach-copy) !important; +} +body.coaching-mvp-active.speedrun-course-site input, +body.coaching-mvp-active.speedrun-course-site textarea, +body.coaching-mvp-active.speedrun-course-site select { + color: var(--coach-text); + background: rgba(7,11,23,.78); + border: 1px solid rgba(124,92,255,.24); +} +body.coaching-mvp-active.speedrun-course-site input::placeholder, +body.coaching-mvp-active.speedrun-course-site textarea::placeholder { + color: var(--coach-muted); +} +body.coaching-mvp-active.speedrun-course-site .coach-payment-grid .asp_product_item_thumbnail, +body.coaching-mvp-active.speedrun-course-site .coach-payment-grid .asp_under_price_line, +body.coaching-mvp-active.speedrun-course-site .coach-payment-grid .asp_product_item > div[style*="clear:both"] { + display: none !important; +} +body.coaching-mvp-active.speedrun-course-site .coach-payment-grid .asp_product_name { + font-size: 1.3rem !important; + font-weight: 700 !important; +} +body.coaching-mvp-active.speedrun-course-site .coach-payment-grid .asp_price_amount { + font-size: 2.3rem !important; + font-weight: 800 !important; + letter-spacing: -.03em !important; +} +body.coaching-mvp-active.speedrun-course-site .speedrun-admin-footer { + width: min(100%, 1280px); + margin: 0 auto 2rem; + padding: 0 20px; +} +body.coaching-mvp-active.speedrun-course-site .speedrun-admin-footer__inner { + display: flex; + gap: 1rem; + align-items: center; + justify-content: space-between; + padding: 1rem 1.1rem; + border-radius: 18px; + border: 1px solid rgba(124,92,255,.18); + background: rgba(10,16,28,.92); +} +body.coaching-mvp-active.speedrun-course-site .speedrun-admin-footer__inner span { + color: var(--coach-muted); + font-size: .95rem; +} +body.coaching-mvp-active.speedrun-course-site .speedrun-admin-footer__inner a { + color: #86f7ff; + text-decoration: none; + font-weight: 700; +} +@media (max-width: 900px) { + body.coaching-mvp-active.speedrun-course-site .speedrun-grid-3, + body.coaching-mvp-active.speedrun-course-site .speedrun-grid-2, + body.coaching-mvp-active.speedrun-course-site .speedrun-bonus-strip, + body.coaching-mvp-active.speedrun-course-site .coach-payment-grid, + body.coaching-mvp-active.speedrun-course-site .coach-payment-grid > .wp-block-group__inner-container, + body.coaching-mvp-active.speedrun-course-site .speedrun-stat-row { + grid-template-columns: 1fr; + } + body.coaching-mvp-active.speedrun-course-site .speedrun-admin-footer__inner { + flex-direction: column; + align-items: flex-start; + } +} +CSS; + + wp_add_inline_style('speedrun-course-overrides', $css); +}, 40); + +add_action('wp_footer', function () { + if (is_admin()) { + return; + } + + echo ''; +}, 100); diff --git a/wp-content/themes/twentytwentyfive/patterns/header.php b/wp-content/themes/twentytwentyfive/patterns/header.php index 254c0b7..6901f75 100644 --- a/wp-content/themes/twentytwentyfive/patterns/header.php +++ b/wp-content/themes/twentytwentyfive/patterns/header.php @@ -12,10 +12,11 @@ */ $home_page = get_page_by_path('home', OBJECT, 'page'); -$services_page = get_page_by_path('services', OBJECT, 'page'); -$testimonials_page = get_page_by_path('testimonials', OBJECT, 'page'); +$course_page = get_page_by_path('course', OBJECT, 'page'); +$pricing_page = get_page_by_path('pricing', OBJECT, 'page'); +$results_page = get_page_by_path('results', OBJECT, 'page'); $about_page = get_page_by_path('about', OBJECT, 'page'); -$blog_page = get_page_by_path('blog', OBJECT, 'page'); +$resources_page = get_page_by_path('resources', OBJECT, 'page'); $contact_page = get_page_by_path('contact', OBJECT, 'page'); $book_session_page = get_page_by_path('book-session', OBJECT, 'page'); $book_session_url = $book_session_page ? get_permalink($book_session_page) : home_url('/book-session/'); @@ -32,27 +33,31 @@ $book_session_url = $book_session_page ? get_permalink($book_session_page) : hom - - + + - - + + + + + + + + - - - +
-
Book Session
+
Free Run Review