Forum Replies Created
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
frankj
Participantyes its a custom theme, that template is the template for the protected page.
https://developer.wordpress.org/themes/basics/template-hierarchy/
https://en.support.wordpress.com/pages/page-options/
if i switch back to default template, then i see “This post is protected” if not it just shows it, so theres a trigger not happening, i disabled caching to be sure, and cleared cookies.
what i need to do is force that php to call the get auth part ?
frankj
Participantyes but not the issue, if i move the post back to default template it works..
so theres a auth ? function not being read in my custom template ?
here is all of the template.
<?php /** * Template Name: Template Membres Accueil * @package underscores */ ?> <?php get_header(); $champs_customs = get_fields(); ?> <main class="contact section"> <div class="bglignes"> <div class="lignesblanches"> </div> <div class="lignesblanches"> </div> <div class="lignesblanches"> </div> <div class="lignesblanches"> </div> <div class="lignesblanches"> </div> </div> <section class="section-contact group" id="contactsection"> </section> <section class="sectionformulaire"> <div class="formulaireinfos span_6_of_10"> <h2>Zone Employés</h2> Lien vers boutique </div> </section> </main> <?php get_footer(); ?> -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)