Title: Smart Passworded Pages
Author: Brian Layman
Published: <strong>2012-06-08</strong>
Last modified: 2015-08-01

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/smart-passworded-pages.svg)

# Smart Passworded Pages

 By [Brian Layman](https://profiles.wordpress.org/brianlayman/)

[Download](https://downloads.wordpress.org/plugin/smart-passworded-pages.zip)

 * [Details](https://tt.wordpress.org/plugins/smart-passworded-pages/#description)
 * [Reviews](https://tt.wordpress.org/plugins/smart-passworded-pages/#reviews)
 *  [Installation](https://tt.wordpress.org/plugins/smart-passworded-pages/#installation)
 * [Development](https://tt.wordpress.org/plugins/smart-passworded-pages/#developers)

 [Support](https://wordpress.org/support/plugin/smart-passworded-pages/)

## Description

The Smart Passworded Pages plugin enhances WordPress by allowing the creation of
central login pages that grant access to any number of passworded child pages. In
this fashion you can give each client/member/organization a central place to enter
a password and they will be taken to the page that has only their information.

The password field is displayed as a field followed by a button with customizable
text. The form is can be uniquely stylized with CSS. The child pages can in turn
link to other pages protected with the same password and the password will not need
to be re-entered.

To add the password field to a parent page, simply enter the short code
 [smartpwpages]

If you wish to assign a unique label to the submit button or give the form a unique
ID for CSS identification, the attributes in the following example can be used:
[
smartpwpages label=\”Login\” ID=\”sppForm1\”]

This plugin doesn’t add the ability to add passwords to pages. WordPress has that
built in. On the right hand side of the page editing screen in WordPress, you can
change the visibility to Password protected and enter in a password. If you are 
unfamiliar with using passwords in WordPress, you might want to read this page first:
https://codex.wordpress.org/Using_Password_Protection

This plugin does make the password handling smarter and enhances it so that you 
can enter one password on a parent page and gain access to all the children pages
using that password. If you don’t know what children pages or sub-pages are, you
might want to read about it here: https://codex.wordpress.org/Pages#Creating_Pages

You can find out more about the Smart Passworded Pages plugin here: http://thecodecave.
com/smart-passworded-pages-plugin/

## Screenshots

 * [[
 * A login form can be added to any page. That login form will take you to the newest
   child page that has a matching password.
 * [[
 * The plugin is activated through the simple use of a shortcode in a post.
 * [[
 * On the right hand side of the page editing screen in WordPress, you can change
   the visibility to Password protected and enter in a password.

## Installation

Extract the zip file and just drop the contents in the wp-content/plugins/ directory
of your WordPress installation and then activate the Plugin from Plugins page.

## FAQ

  Installation Instructions

Extract the zip file and just drop the contents in the wp-content/plugins/ directory
of your WordPress installation and then activate the Plugin from Plugins page.

  There’s no dashboard page for this plugin. Is it working? What do I do now?

There’s no need for options, just create a parent page that is NOT passworded and
include the shotcode somewhere in the text: [smartpwpages]
 Then create child pages
that ARE password protected using the normal WordPress process for adding a password.
It’s that simple. The user will be taken to the first passworded child page that
matches the password the reader entered.

If you don’t know what children pages or sub-pages are, you might want to read about
it here: https://codex.wordpress.org/Pages#Creating_Pages

  Your documentation doesn’t say how to enter the password into your plugin. How
do you do it?

This plugin doesn’t add the ability to add passwords to pages. WordPress already
has that built in. On the right hand side of the page editing screen in WordPress,
near the top, you can change the \”Visibility\” value to “Password protected” and
enter a password into the field that appears. Remember! Do this only for the child
pages and not the parent pages!

If you are unfamiliar with using passwords in WordPress, you might want to read 
this page first: https://codex.wordpress.org/Using_Password_Protection

  I get a password prompt when I visit my page. I enter the password, then I see
my page with the password prompt on it. What’s up with that?!?

You’ve password protected the parent page. Remember, you WANT people to see the 
page with the smart password prompt. Remove the password from that page and you’ll
be fine.

  Can I put the smart password prompt in a sidebar or on the home page?

Yes, as of version 2.0. You still have to create a parent page and password protect
the child pages. Then you can specify the ID of the parent page in the prompt.

In this fashion, you can create a central password page, or widget that takes you
to multiple locations.

Here is an example of the contents of such a widget or page…

View Scores:
 [smartpwpages parent=\”491\” label=\”Enter Team PW:\” ID=\”uniqueName1\”]

View Team Notes:
 [smartpwpages parent=\”507\” label=\”Enter Team PW:\” ID=\”uniqueName2\”]

  Can I style my password prompts or the wrong password error?

Of course! You can even use the ID parameter on the short code change the ID of 
each entry form you use and make custom CSS for each.

Here is an example of some CSS that makes the entry field, button and password error
message all really ugly…
 (!! NOTE: There are slashes in the following text to make
it appear correctly online. Do not include the slashes () in your css file !!)

p#smartPWError {
 border: 4px solid red; width: 258px; padding: 5px; background-
color: aqua; font-weight: bolder; }

#smartPWLogin input[type=\”submit\”] {
 background-color: coral; color: navy; font-
size: large; }

input#smartPassword {
 display: block; background-color: yellowgreen; color: cadetblue;
margin-bottom: 12px; }

## Reviews

![](https://secure.gravatar.com/avatar/135b4008bd2db1806ff2abba1556b7dcc3ec0ce902aab47063b47b9e493f9e45?
s=60&d=retro&r=g)

### 󠀁[Old but still works amazingly well](https://wordpress.org/support/topic/old-but-still-works-amazingly-well/)󠁿

 [ncase](https://profiles.wordpress.org/ncase/) 2023-08-07

I’m really happy to have found this plugin. It’s great in all its simplicity. Well
done.

![](https://secure.gravatar.com/avatar/dcc48e9c96c9ee54c358ad65a85e30e4c1777d8dd7111bcb16255962c2df165d?
s=60&d=retro&r=g)

### 󠀁[Not uptodate… but it works!!](https://wordpress.org/support/topic/not-tested-but-it-works/)󠁿

 [Jakours2](https://profiles.wordpress.org/jakours2/) 2019-10-17

Add the shotcode on parent page, create child page (under parent page who have the
shortcode….) with password protected option on and it’s done! As easy as is! Thanks
a lot! Where can i contibute?

![](https://secure.gravatar.com/avatar/1f416798809ec5a20e4e47cedfc08d5d0ac4118b394523dc21724453273d270e?
s=60&d=retro&r=g)

### 󠀁[Simple and effective](https://wordpress.org/support/topic/simple-and-effective-845/)󠁿

 [](https://profiles.wordpress.org/bexvlad/) 2018-02-25

Just works!

![](https://secure.gravatar.com/avatar/91a58f6613debb85b18a5031e7c2f033688921b46d6ef0c58acd9d336cfe82d6?
s=60&d=retro&r=g)

### 󠀁[Works like a charm.](https://wordpress.org/support/topic/works-like-a-charm-1033/)󠁿

 [fcontell](https://profiles.wordpress.org/fcontell/) 2017-05-10

Plain an simple does what it says. Hopefully it keeps working over time because 
it hasn’t been updated for 2 years.

![](https://secure.gravatar.com/avatar/627366825d5aa844c1b5ff3e5ccd7bc0cc775c014f94a41f361970f64c955459?
s=60&d=retro&r=g)

### 󠀁[Exactly what I needed](https://wordpress.org/support/topic/exactly-what-i-needed-400/)󠁿

 [Cris Ta](https://profiles.wordpress.org/cris-ta/) 2017-01-30

Simple and functional. Works great!

![](https://secure.gravatar.com/avatar/f590c058a6bed24d7f85b70ba540ac59355b9789ffef2b8d83faa7603fad6dc4?
s=60&d=retro&r=g)

### 󠀁[Savior!!!](https://wordpress.org/support/topic/savior-1/)󠁿

 [unboundpixel](https://profiles.wordpress.org/unboundpixel/) 2016-09-03

I’ve been looking for something like this for a long time. LIFE SAVER! Thanks so
much for making this, works like a charm and so simple!

 [ Read all 21 reviews ](https://wordpress.org/support/plugin/smart-passworded-pages/reviews/)

## Contributors & Developers

“Smart Passworded Pages” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Brian Layman ](https://profiles.wordpress.org/brianlayman/)

[Translate “Smart Passworded Pages” into your language.](https://translate.wordpress.org/projects/wp-plugins/smart-passworded-pages)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/smart-passworded-pages/),
check out the [SVN repository](https://plugins.svn.wordpress.org/smart-passworded-pages/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/smart-passworded-pages/)
by [RSS](https://plugins.trac.wordpress.org/log/smart-passworded-pages/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0

 * Updated to current version of WordPress
 * Addressed FAQs
 * Added ability to specify the parent form in the short code
 * Escaped some variables to make the shortcode more secure

#### 1.1.7

 * Fixed another warning.

#### 1.1.6

 * Fixed several warnings and possible version compatibility issues.

#### 1.1.5

 * Fixed an error on the Invalid Password response

#### 1.1.4

 * Updated header to 3.8.1 compatibility
 * Improved documentation
 * NOTE: Released on the same day 1.1.3 was publicly checked in. This made 3.6+ 
   compatibility universally available.

#### 1.1.3

 * Added 3.6 compatiblity
 * Improved internationalization
 * Added support for plugins that replace the default hashing protocol

#### 1.1.2

 * Tweeked the Exclude Pages plugin compatibilty

#### 1.1.1

 * The version labeled 1.1.0 hadn’t included my final fixes and did not work actually
   work with 3.4. 1.1.1 simply includes the code that was intended to be 1.1.0.
 * Updated the styling of the changelog section of the readme file to allow it to
   parse correctly on WordPress.org

#### 1.1.0

 * Updated the plugin to include the security enhancements added in WordPress 3.4

#### 1.0.1

 * Added compatiblity with the exclude pages plugin

#### 1.0

 * Initial Release

## Meta

 *  Version **2.0.0**
 *  Last updated **8 ел ago**
 *  Active installations **2 000+**
 *  WordPress version ** 2.5 or higher **
 *  Tested up to **4.2.39**
 *  Language
 * [English (US)](https://wordpress.org/plugins/smart-passworded-pages/)
 * Tags
 * [login](https://tt.wordpress.org/plugins/tags/login/)[member](https://tt.wordpress.org/plugins/tags/member/)
   [page](https://tt.wordpress.org/plugins/tags/page/)[password](https://tt.wordpress.org/plugins/tags/password/)
   [security](https://tt.wordpress.org/plugins/tags/security/)
 *  [Advanced View](https://tt.wordpress.org/plugins/smart-passworded-pages/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  19 5-star reviews     ](https://wordpress.org/support/plugin/smart-passworded-pages/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/smart-passworded-pages/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/smart-passworded-pages/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/smart-passworded-pages/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/smart-passworded-pages/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/smart-passworded-pages/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/smart-passworded-pages/reviews/)

## Contributors

 *   [ Brian Layman ](https://profiles.wordpress.org/brianlayman/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/smart-passworded-pages/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://thecodecave.com/donate)