• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Modifying the default WordPress password protected content form in Genesis

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Modifying the default WordPress password protected content form in Genesis

This topic is: not resolved

Tagged: genesis, Password form, SeoThemes

  • This topic has 1 reply, 2 voices, and was last updated 3 years, 3 months ago by Anita.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • October 15, 2019 at 2:37 am #494004
    ilkweb
    Member

    This question relates to the default content password-protection used by WordPress.

    I created WordPress password-protected pages that all use the same password.

    When a user clicks an article title, they are prompted for the password. They enter it, and gain access to the article.

    I lifted the HTML of the password login form and created a single login page of sorts.

    Here it is:

    Client Login Page

    Entering the password in this form works - it subsequently unlocks all the articles that are password protected.

    My question is, when the user clicks "submit" after entering their password on the login page I posted, is it possible that I can direct them to a custom page? In this case, it would be the "Insights" page, where all the content would now be unlocked.

    Here's the HTML I'm using for the login form. I haven't changed anything. This is the default code, which works - to an extent. I'm hoping I can modify it:

    <div class="entry-content" itemprop="text"><form action="http://localhost/governancesolutionsmulti/en/wp-login.php?action=postpass" method="post">
    <p class="password-prompt">Password: 
    
    <input name="post_password" id="pwbox-enter" type="password" size="20" maxlength="20"><input type="submit" id="pwbox-submit" name="Submit" value="Submit"><br>
        
    </form>
    </div>
    October 15, 2019 at 1:22 pm #494026
    Anita
    Keymaster

    That sounds like you would need a member plugin to do that or maybe a plugin like Peter's Login Redirect.


    Love coffee, chocolate and my Bella!

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble