SomeNano for WordPress is a Plugin that will allow you to accept Nano cryptocurrency as payment on your WordPress site.
Some different ways that you can accept payment is…
- Paywall on a blog post – require a user to make a payment to view the full content of a blog post.
- Paywall on a page – require a user to make a payment to view some or all of the content on a page.
- Paywall for an image – require a user to make a payment to view a premium image, perhaps an image without a watermark.
Demo site with example usage can be found here: wordpress.somenano.com.
[somenano_paywall]: Insert a paywall in your post/page. All content below paywall will not be visible until payment is made.
[somenano_paywall_numpaid]: Insert number of payments made on that post/page.
- Upload the plugin files to the
/wp-content/plugins/somenano-wordpressdirectory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Settings->SomeNano screen to configure the plugin
You must set a default Nano account for this plugin to work. It will display an error until you enter a Nano account.
- How do I use the Paywall?
Type the shortcode [somenano_paywall] anywhere in a post or page. All content after the shortcode will not be shown to the user until the user sends payment. After the payment is sent, the paywall will be gone forever for a user that was logged into the site, and for users not logged in, will be gone as long as the saved cookie remains in their browser.
Shortcode Attributes – the following attributes can be given in the shortcode and override the default values in Settings->SomeNano.
account: Nano account to receive payment
currency: Type of currency to convert to Nano for payment
amount: The amount in set currency to charge for the paywall. Will be converted to Nano for payment
preface: Text to show on paywall to inform the user what to do
paid_note: Text that will be shown instead of the paywall after a payment is made
- Override default values:
[somenano_paywall currency="usd" amount="0.10"]
- Use default values:
- My payment goes through but the paywall stays
This is likely due to a plugin conflict, probably a caching plugin. Disable caching plugins (and possibly others) to verify that is the problem. Many caching plugins let you set exceptions, you should do this for pages or posts that have a paywall. Read more about about caching plugin conflicts here: Caching Plugins and SomeNano for WordPress
D'r binne gjin resinsjes foar dizze plugin.
Meiwurkers & amp; Untwikkelders
"SomeNano for WordPress" is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.Meiwurkers
Oersette "SomeNano for WordPress" yn jo taal.
Ynteressearre yn ûntwikkeling?
Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .
* Regex error fix
* New shortcode somenano_paywall_numpaid inserts number of payments for particular post/page
* New admin screen for viewing history and metrics of payments
* Minor style fixes
* Demo gif added
* Added database table in the settings to view paid transactions. Will be prettied up in later releases.
* Initial beta release