Giter Site home page Giter Site logo

noke8868 / wx-subscribe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bestony/wx-subscribe

0.0 1.0 0.0 34 KB

微信支付 · 付费订阅插件

Home Page: https://wordpress.org/plugins/wx-subscribe/

License: GNU General Public License v2.0

PHP 100.00%

wx-subscribe's Introduction

WeChat SubScribe

每个梦想,都值得灌溉

PHP from Travis config WordPress plugin WordPress plugin rating

特性

  • 个人可用
  • 年付订阅机制
  • 微信支付
  • 全文隐藏或部分内容隐藏轻松控制

安装

通过 Github 安装

  1. 点击顶部的「Clone and Download」,选择其中的 「Download Zip」
  2. 下载完成后,登陆到 WordPress 后台,进入 WordPress 后台中的「插件」——「安装插件」界面
  3. 在「安装插件」界面上传插件,选择刚刚下载好的 Zip 压缩文件
  4. 启用插件后,在后台的「微信订阅」——「插件配置」中配置 Payjs 的各项参数,配置完成后保存,即可进行订阅

通过 WordPress 后台安装

  1. 进入 WordPress 后台的「添加插件页面」
  2. 在搜索框内搜索关键词「微信支付付费订阅」
  3. 点击搜索出来的插件,安装并启用
  4. 配置插件

配置

  1. 访问 payjs.cn,访问管理后台。
  2. 在后台的「会员中心」中可以看到商户号和接口通信密钥,复制商户号和接口通信密钥
  3. 将商户号和接口通信密钥复制到 WordPress 后台中的对应配置项目中去,并保存

使用

部分隐藏模式

  1. 先写好所有内容
  2. 选中你要隐藏的内容
  3. 点击编辑栏中「文本」下面的「付费阅读」,会自动在你的内容两侧加入 [subscribe] 标签
  4. 保存文章并发布即可(不勾选「本文订阅后可读」)

全文隐藏模式

  1. 写好全部内容
  2. 勾选「发布」框内的「本文订阅后可读」
  3. 发布文章

注意事项

  1. 请确保你填写了「商户号」和「接口通信密钥」
  2. 设置正确的时区

版本变化

1.0.0 (April 29,2018)

  • 项目初始化

开源协议

本项目基于 GPL v2 协议开源

wx-subscribe's People

Contributors

bestony avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.