{"id":77325,"date":"2017-11-09T07:14:16","date_gmt":"2017-11-09T07:14:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/give-addon-donate-to-accesss-content\/"},"modified":"2022-07-30T11:42:00","modified_gmt":"2022-07-30T11:42:00","slug":"cip-dtac-for-give","status":"publish","type":"plugin","link":"https:\/\/tl.wordpress.org\/plugins\/cip-dtac-for-give\/","author":15191695,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.0","stable_tag":"2.1.0","tested":"6.0.11","requires":"5.5","requires_php":"7.4","requires_plugins":"","header_name":"Give Addon - Donate To Access Content","header_author":"ContriveItUp","header_description":"Give plugin Add-on ask users to donate in order to access content of a post or page. It can also restrict compelete website to chosen post, page, category page, post types and much more...","assets_banners_color":"25231f","last_updated":"2022-07-30 11:42:00","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/paypal.me\/contriveitup","header_plugin_uri":"https:\/\/github.com\/contriveitup\/give-add-on-donate-to-access-content","header_author_uri":"https:\/\/github.com\/contriveitup","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1638,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"rupakdhiman","date":"2017-12-04 10:48:06"},"1.0.1":{"tag":"1.0.1","author":"rupakdhiman","date":"2017-12-20 11:18:37"},"1.0.2":{"tag":"1.0.2","author":"rupakdhiman","date":"2020-07-01 10:48:55"},"2.0.0":{"tag":"2.0.0","author":"rupakdhiman","date":"2020-08-16 15:51:34"},"2.1.0":{"tag":"2.1.0","author":"rupakdhiman","date":"2022-07-30 11:42:00"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":1761516,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":1761516,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1761516,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1761516,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","2.0.0","2.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[616,148826,148827,148828,1197],"plugin_category":[45],"plugin_contributors":[149020],"plugin_business_model":[],"class_list":["post-77325","plugin","type-plugin","status-publish","hentry","plugin_tags-donate","plugin_tags-donate-to-access","plugin_tags-donate-to-access-content","plugin_tags-give-add-on","plugin_tags-wordpress-plugin","plugin_category-ecommerce","plugin_contributors-rupakdhiman","plugin_committers-rupakdhiman"],"banners":{"banner":"https:\/\/ps.w.org\/cip-dtac-for-give\/assets\/banner-772x250.jpg?rev=1761516","banner_2x":"https:\/\/ps.w.org\/cip-dtac-for-give\/assets\/banner-1544x500.jpg?rev=1761516","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/cip-dtac-for-give\/assets\/icon-128x128.jpg?rev=1761516","icon_2x":"https:\/\/ps.w.org\/cip-dtac-for-give\/assets\/icon-256x256.jpg?rev=1761516","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<p>You can also track the development at : https:\/\/github.com\/contriveitup\/give-add-on-donate-to-access-content<\/p>\n\n<h3>Automatic Plugin Installation<\/h3>\n\n<ol>\n<li>Go to Plugins &gt; Add New.<\/li>\n<li>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.<\/li>\n<li>Find the WordPress Plugin you wish to install.<\/li>\n<li>Click Details for more information about the Plugin and instructions you may wish to print or save to help setup the Plugin.<\/li>\n<li>Click Install Now to install the WordPress Plugin.<\/li>\n<\/ol>\n\n<h3>Manual Plugin Installation<\/h3>\n\n<p>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.<\/p>\n\n<ol>\n<li>Download your WordPress Plugin to your desktop.<\/li>\n<li>If downloaded as a zip archive, extract the Plugin folder to your desktop.<\/li>\n<li>With your FTP program, upload the Plugin folder to the wp-content\/plugins folder in your WordPress directory online.<\/li>\n<li>Go to Plugins screen and find the newly uploaded Plugin in the list.<\/li>\n<li>Click Activate to activate it.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20type%20of%20content%20can%20i%20restrict%20with%20this%20plugin%3F'><h3>What type of content can I restrict with this plugin?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='what%20shortcode%20is%20used%20to%20restrict%20the%20content%3F'><h3>What shortcode is used to restrict the content?<\/h3><\/dt>\n<dd><p>The shortcode which is used to restrict the content is:<\/p>\n\n<p>[cip_donate_to_access_content form_id=1 show=\"form|message\"]<\/p>\n\n<p>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.<\/p><\/dd>\n<dt id='what%20if%20i%20am%20on%20a%20single%20post%20page%20and%20a%20category%20in%20that%20post%20is%20restricted.%20would%20a%20user%20will%20still%20be%20able%20to%20view%20that%20post%3F'><h3>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?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1.0: July 30, 2022<\/h4>\n\n<ul>\n<li>Added\n\n<ul>\n<li>Function <code>dtac_get_give_forms<\/code> to get Give Forms and display inside a select box under Admin Settings.<\/li>\n<li>Function <code>input_default_select<\/code> to fetch default values from Settings array inside the select box.<\/li>\n<\/ul><\/li>\n<li>Updated\n\n<ul>\n<li>NPM Packages.<\/li>\n<li>Code Improvements.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>2.0.0: Aug 10, 2020<\/h4>\n\n<ul>\n<li>Updated\n\n<ul>\n<li>Optimized PHP code.<\/li>\n<li>Compatible with Give 2.7.5<\/li>\n<li>Removed the option to restrict the entire website. Not working in Sync with Give iFrame form.<\/li>\n<\/ul><\/li>\n<li>Fixed\n\n<ul>\n<li>Typos in plugin name and descriptions.<\/li>\n<li>Not recognizing donors after payment success.<\/li>\n<\/ul><\/li>\n<li>Added\n\n<ul>\n<li>Admin page to manage plugin settings.<\/li>\n<li>Introduced advance PHP Oops functionality like Interfaces, Abstract Classes and Traits.<\/li>\n<li>Composer support.<\/li>\n<li>Scripts &amp; Styles compilation with Babel<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>1.0.2: July 1, 2020<\/h4>\n\n<ul>\n<li>Tested: WordPress 5.4.x.<\/li>\n<\/ul>\n\n<h4>1.0.1: December 20, 2017<\/h4>\n\n<ul>\n<li>Fixed: Fatal Error - Class not found.<\/li>\n<\/ul>\n\n<h4>1.0: November 8, 2017<\/h4>\n\n<ul>\n<li>Initial Release. JMJK!!<\/li>\n<\/ul>","raw_excerpt":"An Unoffcial Give plugin add-on to restrict site\\&#039;s content until donation is made.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/77325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=77325"}],"author":[{"embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rupakdhiman"}],"wp:attachment":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=77325"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=77325"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=77325"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=77325"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=77325"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=77325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}