This is a Free add-on to Give donation plugin which allows admin to restrict the content of their website until a user has made a donation.
Once a user has made the donation they can access the content. Admin can choose to restrict the content of the site via shortcode or they restrict the entire website or a particular page, post, category, post type, etc… with the help of plugin settings.
You can also track the development at : https://github.com/contriveitup/give-add-on-donate-to-access-content
Automatic Plugin Installation
- Go to Plugins > Add New.
- Type in the name of the WordPress Plugin or descriptive keyword, author, or tag in Search Plugins box or click a tag link below the screen.
- Find the WordPress Plugin you wish to install.
- Click Details for more information about the Plugin and instructions you may wish to print or save to help setup the Plugin.
- Click Install Now to install the WordPress Plugin.
Manual Plugin Installation
Note: Installation of a WordPress Plugin manually requires FTP familiarity and the awareness that you may put your site at risk if you install a WordPress Plugin incompatible with the current version or from an unreliable source.
- Download your WordPress Plugin to your desktop.
- If downloaded as a zip archive, extract the Plugin folder to your desktop.
- With your FTP program, upload the Plugin folder to the wp-content/plugins folder in your WordPress directory online.
- Go to Plugins screen and find the newly uploaded Plugin in the list.
- Click Activate to activate it.
What type of content can I restrict with this plugin?
With this plugin, you can restrict the content on a page or post by using plugin\’s shortcode or you can restrict an entire page, post, category archive page, custom post type, custom taxonomy archive page.
What shortcode is used to restrict the content?
The shortcode which is used to restrict the content is:
[cip_donate_to_access_content form_id=1 show=”form|message”]
It has 2 options, the first one is required which is the ID of the donation form which would appear instead of the restricted content. The second option is to either show a Donation form or a Message in place of the restricted content.
What if I am on a single post page and a category in that post is restricted. Would a user will still be able to view that post?
Yes, for now the Category Archive page can be restricted. If a post is in that category, a user can view that post without donation unless you restrict that entire post altogether.
نقد و بررسیها
نقد و بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“Donate to Access Content” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.مشارکت کنندگان
2.1.0: July 30, 2022
dtac_get_give_formsto get Give Forms and display inside a select box under Admin Settings.
input_default_selectto fetch default values from Settings array inside the select box.
- NPM Packages.
- Code Improvements.
2.0.0: Aug 10, 2020
- Optimized PHP code.
- Compatible with Give 2.7.5
- Removed the option to restrict the entire website. Not working in Sync with Give iFrame form.
- Typos in plugin name and descriptions.
- Not recognizing donors after payment success.
- Admin page to manage plugin settings.
- Introduced advance PHP Oops functionality like Interfaces, Abstract Classes and Traits.
- Composer support.
- Scripts & Styles compilation with Babel
1.0.2: July 1, 2020
- Tested: WordPress 5.4.x.
1.0.1: December 20, 2017
- Fixed: Fatal Error – Class not found.
1.0: November 8, 2017
- Initial Release. JMJK!!