Add BTCPayWall by Gutenberg
In this tutorial, we explain how to use the WordPress default editor Gutenberg to integrate the different applications into your WordPress site.
If you use another WordPress editor instead of Gutenberg, you will find corresponding instructions for WPBakery, Elementor and for the integration via shortcode.
Gutenberg Editor is the free editor on WordPress. The editor is also called Block Editor, because individual blocks can be added.
If you have the WP BTCPayWall installed, you will find the Bitcoin Paywall blocks that perform the Bitcoin Paywall functions.
In the following we describe the different integration options per block for the different functions.
Pay-per-post / Pay per single Blog Post
You can search for Bitcoin Paywall within the block search and get the available Bitcoin Paywall blocks displayed.
The Bitcoin Paywall blocks begin with BTCPW for BTCPayWall.
You can also find the Bitcoin Paywall blocks under the Widgets category.
The name of the pay-per-post blocks at Gutenberg are:
- BTCPW Pay-per-Post Start
- BTCPW Pay-per-Post End
There is a possibility that the block BTCPW pay-per-post start can be customized to the individual requirements.
The Bitcoin paywall is automatically enabled on the page. With “Enable Paywall” the paywall can be disabled or enabled for this page.
The settings Currency and Duration are set to Default by default. The settings that were made in General Settings are then applied.
If you want to keep these values, no changes are necessary. If you want to make an individual setting for the selected blog post, you can do this here.
From the content, which should be protected by paywall, the block BTCPW Pay-per-Post Start is used.
Then you create the content with your Gutenberg editor. As usual, all other Gutenberg blocks can be used.
At the end of the blog post the protected area is closed with the BTCPW Pay-per-Post End block.
If you want to see what the finished page looks like from a user’s point of view and give it a try, go to the page:
Pay-per-Post Demo Page
Pay-per-view / Pay per single Video
With Pay-per-View you can sell videos through the BTCPayWall.
The user sees a preview for each video, consisting of a caption, a description text and an image. In addition, the details of the video’s price are displayed.
After successful payment, the video is displayed and played on the website.
The video, which is played after successful payment, can be on your own server, but also on an external server.
For example, you can show videos that are stored on YouTube or Vimeo.
In order not to offer these videos to the general public for free, you can set the video to private. Then the video will not be shown in the search.
Only those who know the exact internet address can access this video.
If you want to offer a Vimeo or YouTube video for a fee, set it to private and store this secret Internet address as a paywall url.
You can search for Bitcoin Paywall within the block search and get the available Bitcoin Paywall blocks displayed.
The Bitcoin Paywall blocks begin with BTCPW for BTCPayWall.
You can also find the Bitcoin Paywall blocks under the Widgets category.
The name of the pay-per-view blocks at Gutenberg are:
- BTCPW Pay-per-View Start
- BTCPW Pay-per-View End
There is a possibility that the block BTCPW pay-per-view start can be customized to the individual requirements.
The Bitcoin paywall is automatically enabled on the page. With “Enable Paywall” the paywall can be disabled or enabled for this page.
In the Title field you can enter the title of the video.
The Description field is the place to briefly describe the video.
The Video Preview field is used to select an image that will be used as a preview image. Here you can access the images that are stored under Media on the WordPress server.
The settings Currency and Duration are set to Default by default. The settings that were made in General Settings are then applied.
If you want to keep these values, no changes are necessary. If you want to make an individual setting for the selected blog post, you can do this here.
Here you can use the video blocks provided by the Gutenberg Editor.
If you have the video on your own WordPress server, then you use video and in other cases the corresponding video players of the various providers such as YouTube, Vimeo, Animoto or Dailymotion.
Then enter the YouTube address or the address of the server where the video was saved.
After the embedded video, the block with the designation BTCPW Pay-per-View End is inserted and the video can be offered for a fee.
If you want to see what the finished page looks like from a user’s point of view and give it a try, go to the page:
Pay-per-View Demo Page
Pay-per-file Download
With the pay-per-file function, individual files can be sold as downloads.
– You have written your own software that you want to offer to your customers for download?
– You have written a manual, a handbook or an eBook and want to sell it as a PDF file?
– You are a photographer and want to market your pictures yourself?
– You have composed your own piece of music or produced a video, which you want to offer to your fans as an mp4 file for download.
The pay-per-file function is like a digital content store. You can sell any file format on the Internet and offer it to your customers for download.
In the Gutenberg Block Editor, the BTCPW pay-per-file block is selected and inserted in the appropriate place.
Then it is specified where the file is located, which is offered for sale.
If the file is not yet on the server on which WordPress is already running, then the file can be uploaded via Upload.
If the file is already on the WordPress server, then the file can be selected via Media Libary.
If the file is stored on another server, then the url for the corresponding storage location can be specified via Insert from Url.
The payment block must be enabled for this.
In the Title field a title is defined and in Description a description of the file is given.
In the File Preview field the preview image is specified.
In the Currency and Price fields the price for the file is set. The fields can be left empty if the conditions from the General Settings are to be taken over.
In the Duration field you can define how long the file will be available for download.
3 Comments
Leave your reply.