One tap Sign in with Google errors in custom template pages
-
i have successfully setup One tap Sign in with Google+Sign in with Google button on all pages.
it’s working fine as expected.
however, i have a custom page template, in which One tap Sign in with Google isn’t showing up. but if i changes to default template it shows up.
context of the template is that, if a visitor is logged in then they are told to update their profile (my site users). for non-logged-in user they see messages to login/image with loging/registration url linked.
Most importantly i used Gemini to create/debug the custom template, and there is possibility that do not keep traditional WordPress header/footer from Astra theme. even though my template has these code:
and end with:
<?php
// Template Name: Update Contact Info
get_header();
if (!is_user_logged_in()) {
// Display login prompt and message for non-logged-in users
// messages+other necessary codes
get_footer();
?>what is the problem?
could it be that site kit plugins isn’t loading on that custom template/ page?
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.