-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3233fee
commit 9e75074
Showing
38 changed files
with
1,872 additions
and
416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Patreon Plugin for Wordpress | ||
Copyright 2015-2016 Patreon, Inc. and Ben Parry | ||
Copyright 2015-2017 Patreon, Inc. | ||
|
||
This product includes software developed at Patreon, Inc. (https://www.patreon.com/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +0,0 @@ | ||
# Installation Instructions | ||
|
||
0. Download via the "Download ZIP" link on the right side of this page | ||
1. Register an OAuth client if you haven't already at https://www.patreon.com/platform/documentation/clients | ||
2. Add the plugin to your wordpress | ||
3. When you refresh your admin panel, there should now be a "Patreon settings" on the left side, near the bottom. Fill out your Client ID, Client Secret, Creator Access Token, and Creator Refresh Token and hit Save | ||
|
||
# Usage Instructions | ||
|
||
* You should now see on your login page a "Connect with Patreon" button (this is the image that is currently very gross... will get a better one shortly). Your patrons can use this to log in to your WordPress with their Patreon account. | ||
* If the patron didnt have a WordPress account yet, it will make a new one and log them in | ||
* If the patron did have a WordPress account with a matching email address to the one they used on Patreon, it will keep their existing WordPress account, and add the patronage details to that user | ||
* Here's the rough part: if the patron did have a WP account, but under a different email address, then it will not know to connect to that different WP account (as it has no way of knowing that), and will instead make a new WP account for them. Eventually, we'll add a "connect your Patreon" button to the WP user's account page (rather than it only being on your login page), and clicking the button there will merge the patronage details even if the emails don't match. Hopefully that explanation makes some sense... | ||
* You should also now see a "Patreon Content" link near the top of your dashboard menu. The plugin is designed to let you have only pieces of posts be hidden from non-patrons, rather than hiding the existence of the post entirely. So the flow is | ||
* "Add New Patreon Content" | ||
* Fill out the patron-only content | ||
* Use the "Patreon Level" widget on the right side to choose what level of patronage to restrict visibility to | ||
* To use this piece of content in a post, put the slug in your post, like so: `[patreon_content slug="this-content-is-for-patrons-only"]` (the thing in quotes can be found highlighted in yellow under the title field in the Add New Patreon Content page (not the full URL, just the yellow bit)) | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.ptrn-button{display:block;margin-bottom:30px!important;border: none!important;} | ||
.ptrn-button img {width: 272px; height:42px;} | ||
.patreon-msg {-webkit-border-radius: 6px;-moz-border-radius: 6px;-ms-border-radius: 6px;-o-border-radius: 6px;border-radius: 6px;padding:8px;margin-bottom:20px!important;display:block;border:1px solid #E6461A;background-color:#484848;color:#ffffff;} | ||
|
||
.ptrn-branding {color:#fff;background-color:#F96854;} | ||
|
||
.ptrn-branded-button { | ||
box-shadow: none!important; | ||
color:#fff!important; | ||
background-color:#F96854; | ||
border: 0; | ||
-webkit-border-radius: 2px; | ||
border-radius: 2px; | ||
-webkit-box-shadow: none; | ||
box-shadow: none; | ||
color: #fff; | ||
cursor: pointer; | ||
font-size: 14px; | ||
font-size: 0.875rem; | ||
font-weight: 800; | ||
line-height: 1; | ||
padding: 1em 2em; | ||
text-shadow: none; | ||
-webkit-transition: background 0.2s; | ||
transition: background 0.2s; | ||
text-decoration: none!important; | ||
margin-bottom: 1rem; | ||
display: block; | ||
width: 260px; | ||
text-align: center; | ||
text-transform: uppercase; | ||
} | ||
.ptrn-branded-button .logo { | ||
width:20px; | ||
color:#fff!important; | ||
vertical-align: middle; | ||
margin-right: 0.5rem; | ||
box-shadow: none!important; | ||
} | ||
|
||
#login .ptrn-branded-button { | ||
width:auto; | ||
} |
Oops, something went wrong.