﻿{"id":357,"date":"2026-09-22T14:17:30","date_gmt":"2026-09-22T14:17:30","guid":{"rendered":"https:\/\/cgstagingsites.com\/slaphappynews-wp\/?page_id=357"},"modified":"2026-09-22T14:25:30","modified_gmt":"2026-09-22T14:25:30","slug":"register","status":"publish","type":"page","link":"https:\/\/cgstagingsites.com\/slaphappynews-wp\/register\/","title":{"rendered":"Register"},"content":{"rendered":"\t<div class=\"shn-auth mx-auto w-full\" data-shn-auth style=\"max-width:440px\">\n\t\t<div class=\"border border-[#E1E4E7] bg-white p-[18px] shadow-[0_10px_30px_rgba(0,0,0,0.06)] sm:p-[25px]\">\n\t\t\t\t\t\t<!-- TABS: the active tab's red underline is an inline border -- border-b-2 \/\n\t\t\t     border-transparent aren't in the compiled output.css, so as classes\n\t\t\t     the underline never showed and the two tabs looked identical. -->\n\t\t\t<div class=\"flex\" role=\"tablist\" style=\"border-bottom:1px solid #E1E4E7\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" data-shn-auth-tab=\"login\" role=\"tab\" aria-selected=\"true\"\n\t\t\t\t\tstyle=\"margin-bottom:-1px;border-bottom:2px solid var(--color-button-red)\"\n\t\t\t\t\tclass=\"flex-1 pb-[12px] font-fredoka text-[16px] font-semibold transition-colors duration-300 text-[var(--color-text)]\">\n\t\t\t\t\tLog In\t\t\t\t<\/button>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" data-shn-auth-tab=\"register\" role=\"tab\" aria-selected=\"false\"\n\t\t\t\t\tstyle=\"margin-bottom:-1px;border-bottom:2px solid transparent\"\n\t\t\t\t\tclass=\"flex-1 pb-[12px] font-fredoka text-[16px] font-semibold transition-colors duration-300 text-[var(--color-text-grey)]\">\n\t\t\t\t\tRegister\t\t\t\t<\/button>\n\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\n\t\t\t<!-- LOGIN FORM -->\n\t\t\t<form method=\"post\" data-shn-auth-panel=\"login\" class=\"mt-[20px]\">\n\t\t\t\t<input type=\"hidden\" id=\"shn_login_nonce\" name=\"shn_login_nonce\" value=\"4c930b8abb\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/slaphappynews-wp\/wp-json\/wp\/v2\/pages\/357\" \/>\t\t\t\t<input type=\"hidden\" name=\"shn_auth_action\" value=\"login\">\n\t\t\t\t<input type=\"hidden\" name=\"shn_auth_redirect\" value=\"https:\/\/cgstagingsites.com\/slaphappynews-wp\/submit-a-video\/\">\n\t\t\t\t<label for=\"shn_username\" class=\"sr-only\">Username or Email<\/label>\n\t\t\t\t<input id=\"shn_username\" name=\"shn_username\" type=\"text\" required autocomplete=\"username\"\n\t\t\t\t\tplaceholder=\"Username or Email\" class=\"h-[44px] w-full border border-[#DDE1E5] bg-white px-[13px] font-manrope text-[12px] text-[var(--color-text)] outline-none transition-colors duration-300 placeholder:text-[#858B94] focus:border-[var(--color-button-red)]\">\n\t\t\t\t<label for=\"shn_password\" class=\"sr-only\">Password<\/label>\n\t\t\t\t<input id=\"shn_password\" name=\"shn_password\" type=\"password\" required autocomplete=\"current-password\"\n\t\t\t\t\tplaceholder=\"Password\" class=\"mt-[10px] h-[44px] w-full border border-[#DDE1E5] bg-white px-[13px] font-manrope text-[12px] text-[var(--color-text)] outline-none transition-colors duration-300 placeholder:text-[#858B94] focus:border-[var(--color-button-red)]\">\n\t\t\t\t<label class=\"mt-[12px] flex cursor-pointer items-center gap-[8px] font-manrope text-[11px] text-[var(--color-text-grey)]\">\n\t\t\t\t\t<input type=\"checkbox\" name=\"shn_remember\" value=\"1\" class=\"h-[14px] w-[14px] accent-[var(--color-button-red)]\">\n\t\t\t\t\tRemember Me\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<div class=\"mt-[14px] g-recaptcha\" data-sitekey=\"6LerbMktAAAAANbkI55KEBoclRZYbPsS3FIa9YJ5\"><\/div>\n\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"mt-[16px] inline-flex h-[46px] w-full items-center justify-center bg-[var(--color-button-red)] font-manrope text-[14px] font-semibold leading-none text-white transition-all duration-300 hover:bg-[var(--color-button-red-hover)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--color-button-red)]\">\n\t\t\t\t\tLog In\t\t\t\t<\/button>\n\t\t\t\t<p class=\"mt-[10px] text-center font-manrope text-[11px] text-[var(--color-text-grey)]\">\n\t\t\t\t\t<a class=\"font-semibold text-[var(--color-button-red)] hover:underline\" href=\"https:\/\/cgstagingsites.com\/slaphappynews-wp\/register\/?action=lostpassword&#038;redirect_to=https%3A%2F%2Fcgstagingsites.com%2Fslaphappynews-wp%2Fsubmit-a-video%2F\">\n\t\t\t\t\t\tForgot your password?\t\t\t\t\t<\/a>\n\t\t\t\t<\/p>\n\t\t\t<\/form>\n\n\t\t\t<!-- REGISTER FORM -->\n\t\t\t<form method=\"post\" data-shn-auth-panel=\"register\" class=\"mt-[20px] hidden\">\n\t\t\t\t<input type=\"hidden\" id=\"shn_register_nonce\" name=\"shn_register_nonce\" value=\"4ad2ef82c7\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/slaphappynews-wp\/wp-json\/wp\/v2\/pages\/357\" \/>\t\t\t\t<input type=\"hidden\" name=\"shn_auth_action\" value=\"register\">\n\t\t\t\t<input type=\"hidden\" name=\"shn_auth_redirect\" value=\"https:\/\/cgstagingsites.com\/slaphappynews-wp\/submit-a-video\/\">\n\t\t\t\t<div class=\"grid grid-cols-1 gap-[10px] sm:grid-cols-2\">\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<label for=\"shn_reg_first_name\" class=\"sr-only\">First Name<\/label>\n\t\t\t\t\t\t<input id=\"shn_reg_first_name\" name=\"shn_reg_first_name\" type=\"text\" required autocomplete=\"given-name\"\n\t\t\t\t\t\t\tplaceholder=\"First Name\" class=\"h-[44px] w-full border border-[#DDE1E5] bg-white px-[13px] font-manrope text-[12px] text-[var(--color-text)] outline-none transition-colors duration-300 placeholder:text-[#858B94] focus:border-[var(--color-button-red)]\">\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<label for=\"shn_reg_last_name\" class=\"sr-only\">Last Name<\/label>\n\t\t\t\t\t\t<input id=\"shn_reg_last_name\" name=\"shn_reg_last_name\" type=\"text\" required autocomplete=\"family-name\"\n\t\t\t\t\t\t\tplaceholder=\"Last Name\" class=\"h-[44px] w-full border border-[#DDE1E5] bg-white px-[13px] font-manrope text-[12px] text-[var(--color-text)] outline-none transition-colors duration-300 placeholder:text-[#858B94] focus:border-[var(--color-button-red)]\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<label for=\"shn_reg_username\" class=\"sr-only\">Username<\/label>\n\t\t\t\t<input id=\"shn_reg_username\" name=\"shn_reg_username\" type=\"text\" required autocomplete=\"username\"\n\t\t\t\t\tplaceholder=\"Username\" class=\"mt-[10px] h-[44px] w-full border border-[#DDE1E5] bg-white px-[13px] font-manrope text-[12px] text-[var(--color-text)] outline-none transition-colors duration-300 placeholder:text-[#858B94] focus:border-[var(--color-button-red)]\">\n\t\t\t\t<label for=\"shn_reg_email\" class=\"sr-only\">Email<\/label>\n\t\t\t\t<input id=\"shn_reg_email\" name=\"shn_reg_email\" type=\"email\" required autocomplete=\"email\"\n\t\t\t\t\tplaceholder=\"Email Address\" class=\"mt-[10px] h-[44px] w-full border border-[#DDE1E5] bg-white px-[13px] font-manrope text-[12px] text-[var(--color-text)] outline-none transition-colors duration-300 placeholder:text-[#858B94] focus:border-[var(--color-button-red)]\">\n\t\t\t\t<label for=\"shn_reg_password\" class=\"sr-only\">Password<\/label>\n\t\t\t\t<input id=\"shn_reg_password\" name=\"shn_reg_password\" type=\"password\" required minlength=\"8\" autocomplete=\"new-password\"\n\t\t\t\t\tdata-shn-reg-password placeholder=\"Password (min. 8 characters)\" class=\"mt-[10px] h-[44px] w-full border border-[#DDE1E5] bg-white px-[13px] font-manrope text-[12px] text-[var(--color-text)] outline-none transition-colors duration-300 placeholder:text-[#858B94] focus:border-[var(--color-button-red)]\">\n\t\t\t\t<label for=\"shn_reg_password_confirm\" class=\"sr-only\">Confirm Password<\/label>\n\t\t\t\t<input id=\"shn_reg_password_confirm\" name=\"shn_reg_password_confirm\" type=\"password\" required minlength=\"8\" autocomplete=\"new-password\"\n\t\t\t\t\tdata-shn-reg-password-confirm placeholder=\"Confirm Password\" class=\"mt-[10px] h-[44px] w-full border border-[#DDE1E5] bg-white px-[13px] font-manrope text-[12px] text-[var(--color-text)] outline-none transition-colors duration-300 placeholder:text-[#858B94] focus:border-[var(--color-button-red)]\">\n\t\t\t\t\t\t\t\t<div class=\"mt-[14px] g-recaptcha\" data-sitekey=\"6LerbMktAAAAANbkI55KEBoclRZYbPsS3FIa9YJ5\"><\/div>\n\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"mt-[16px] inline-flex h-[46px] w-full items-center justify-center bg-[var(--color-button-red)] font-manrope text-[14px] font-semibold leading-none text-white transition-all duration-300 hover:bg-[var(--color-button-red-hover)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--color-button-red)]\">\n\t\t\t\t\tCreate Account\t\t\t\t<\/button>\n\t\t\t\t<p class=\"mt-[10px] text-center font-manrope text-[11px] leading-[1.5] text-[var(--color-text-grey)]\">\n\t\t\t\t\tBy registering, you agree to be contacted about your video submissions.\t\t\t\t<\/p>\n\t\t\t<\/form>\n\t\t\t\t\t<\/div>\n\t<\/div>\n\t\t\t<script>\n\t\tdocument.addEventListener( 'click', function ( event ) {\n\t\t\tvar tabButton = event.target.closest( '[data-shn-auth-tab]' );\n\t\t\tif ( ! tabButton ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar wrap = tabButton.closest( '[data-shn-auth]' );\n\t\t\tif ( ! wrap ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar tab = tabButton.getAttribute( 'data-shn-auth-tab' );\n\n\t\t\twrap.querySelectorAll( '[data-shn-auth-tab]' ).forEach( function ( button ) {\n\t\t\t\tvar active = button.getAttribute( 'data-shn-auth-tab' ) === tab;\n\t\t\t\tbutton.setAttribute( 'aria-selected', active ? 'true' : 'false' );\n\t\t\t\tbutton.style.borderBottomColor = active ? 'var(--color-button-red)' : 'transparent';\n\t\t\t\tbutton.classList.toggle( 'text-[var(--color-text)]', active );\n\t\t\t\tbutton.classList.toggle( 'text-[var(--color-text-grey)]', ! active );\n\t\t\t} );\n\n\t\t\twrap.querySelectorAll( '[data-shn-auth-panel]' ).forEach( function ( panel ) {\n\t\t\t\tpanel.classList.toggle( 'hidden', panel.getAttribute( 'data-shn-auth-panel' ) !== tab );\n\t\t\t} );\n\t\t} );\n\n\t\t\/\/ Register form: live \"passwords don't match\" feedback (native validation bubble on\n\t\t\/\/ submit) -- the server-side check in shn_handle_shn_auth_submission() is the real\n\t\t\/\/ guard, this is just so a mismatch is caught before the round trip.\n\t\tdocument.addEventListener( 'input', function ( event ) {\n\t\t\tif ( ! event.target.matches( '[data-shn-reg-password], [data-shn-reg-password-confirm]' ) ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar form = event.target.closest( 'form' );\n\t\t\tif ( ! form ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar pass    = form.querySelector( '[data-shn-reg-password]' );\n\t\t\tvar confirm = form.querySelector( '[data-shn-reg-password-confirm]' );\n\t\t\tif ( ! pass || ! confirm ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconfirm.setCustomValidity( confirm.value && pass.value !== confirm.value ? \"Passwords do not match.\" : '' );\n\t\t} );\n\t\t<\/script>\n\t\t\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-default.php","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-357","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/cgstagingsites.com\/slaphappynews-wp\/wp-json\/wp\/v2\/pages\/357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cgstagingsites.com\/slaphappynews-wp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cgstagingsites.com\/slaphappynews-wp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cgstagingsites.com\/slaphappynews-wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cgstagingsites.com\/slaphappynews-wp\/wp-json\/wp\/v2\/comments?post=357"}],"version-history":[{"count":1,"href":"https:\/\/cgstagingsites.com\/slaphappynews-wp\/wp-json\/wp\/v2\/pages\/357\/revisions"}],"predecessor-version":[{"id":358,"href":"https:\/\/cgstagingsites.com\/slaphappynews-wp\/wp-json\/wp\/v2\/pages\/357\/revisions\/358"}],"wp:attachment":[{"href":"https:\/\/cgstagingsites.com\/slaphappynews-wp\/wp-json\/wp\/v2\/media?parent=357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}