這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Donate to Access Content

描述

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

  1. Go to Plugins > Add New.
  2. 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.
  3. Find the WordPress Plugin you wish to install.
  4. Click Details for more information about the Plugin and instructions you may wish to print or save to help setup the Plugin.
  5. 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.

  1. Download your WordPress Plugin to your desktop.
  2. If downloaded as a zip archive, extract the Plugin folder to your desktop.
  3. With your FTP program, upload the Plugin folder to the wp-content/plugins folder in your WordPress directory online.
  4. Go to Plugins screen and find the newly uploaded Plugin in the list.
  5. 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Donate to Access Content” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Donate to Access Content 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.1.0: July 30, 2022

  • Added
    • Function dtac_get_give_forms to get Give Forms and display inside a select box under Admin Settings.
    • Function input_default_select to fetch default values from Settings array inside the select box.
  • Updated
    • NPM Packages.
    • Code Improvements.

2.0.0: Aug 10, 2020

  • Updated
    • 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.
  • Fixed
    • Typos in plugin name and descriptions.
    • Not recognizing donors after payment success.
  • Added
    • 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!!