<h1>Subway - Private WordPress Site Option</h1>

[![SensioLabsInsight](https://insight.sensiolabs.com/projects/e85826fc-c1cb-47f1-9448-2a04b7b00eb1/big.png?x_cache=false)](https://insight.sensiolabs.com/projects/e85826fc-c1cb-47f1-9448-2a04b7b00eb1)

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/codehaiku/subway-2.0/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/codehaiku/subway-2.0/?branch=master) [![Build Status](https://scrutinizer-ci.com/g/codehaiku/subway-2.0/badges/build.png?b=master)](https://scrutinizer-ci.com/g/codehaiku/subway-2.0/build-status/master) ![Plugin Version](https://img.shields.io/wordpress/plugin/v/subway.svg)&nbsp;![Total Plugin Downloads](https://img.shields.io/wordpress/plugin/dt/subway.svg)&nbsp;![Plugin Ratings](https://img.shields.io/wordpress/plugin/r/subway.svg)&nbsp;![Plugin Compatibility](https://img.shields.io/wordpress/v/subway.svg)&nbsp;![License](http://img.shields.io/:license-GPL--2.0%2B-red.svg?style=flat-square)&nbsp;

Subway is a small plugin for WordPress that allows you to hide the content of your website to non-logged in visitors and only displays them to logged in users.

This plugin redirects the users to the provided login page with a login form that allows them to type their username/email and password combination.

It validates the users’ credentials and displays a set of configurable messages if there are errors such as invalid username, empty username, wrong password, and etcetera.

The plugin has settings inside the Administration Panel (‘Settings’ > 'Subway') that allows you to configure where you want the user to be taken after he/she has successfully logged in, this can be a page, a custom URL, or just the default behavior.

<strong>Current Version: 2.1.4</strong>

<h4><strong>Screenshots</strong></h4>

![Subway Setting and Login Box](https://dunhakdis.com/wp-content/uploads/2017/04/Subway-Plugin.png)

<h3><strong>Up and Running</strong></h3>

 - [Setup and Installation (Docs coming soon)]()
    - [Download (Docs coming soon)]()
    - [Installation (Docs coming soon) ]()
    - [Setting up your Subway Login Page (Docs coming soon) ]()

 - [Features and Usage (Docs coming soon)]()
    - [Setting up your Subway Login Page (Docs coming soon)]()
    - [Two Types of Page Visibility Setting (Docs coming soon)]()
    - [Three Types of Login Redirection (Docs coming soon)]()
    - [Allow the 'Default WordPress Login Page' (Docs coming soon)]()
    - [Bypass the 'Subway Login Page' (Docs coming soon)]()

Click [here](https://dunhakdis.com/subway-private-wordpress-site-option/) to see the full documentation.

<h3><strong>Known Issues</strong></h3>
<ul>
<li>Redirect Issue (tokens are not working) - Fixed in 2.0.5</li>
</ul>
<h3><strong>Contributions</strong></h3>
Contributions are highly welcome, and there are various ways you can contribute:

 - Spotted a bug or an issue? Share it with us on [GitHub](https://github.com/codehaiku/https://github.com/codehaiku/subway-2.0/issues/new).
 - Want to share your bug fixes or share ideas for the new features? Send us a Pull Request.
 - Send us feedback and suggestions for enhancements, share it with the [team ](https://github.com/codehaiku/https://github.com/codehaiku/subway-2.0/issues/new).
 - Translators are welcome.

<h3><strong>License</strong></h3>

Subway is licensed under [GNU General Public License 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
