Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact
You are here: Home

frankj

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 23, 2018 at 10:44 am in reply to: Pages accessed if not logged in #14483
    frankj
    Participant

    yes 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 ?

    May 22, 2018 at 10:17 pm in reply to: Pages accessed if not logged in #14478
    frankj
    Participant

    yes 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&eacute;s</h2>
    
    Lien vers boutique
    
        </div>
    
      </section>
    
    </main>
    
    <?php get_footer(); ?>
    
    
  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Next Page »

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy