Linux 软件免费装

Get Next Article

开发者 drmikegreen
更新时间 2023年4月11日 05:29
捐献地址: 去捐款
PHP版本: 5.6 及以上
WordPress版本: 6.1
版权: GPLv2 or later
版权网址: 版权信息

标签

next page next post Next article

下载

1.3 1.3.1 1.3.2 1.2 1.1 1.0

详情介绍:

The purpose of this plugin is to provide access to new, ordered content using an unchanging link -- i.e., it provides the ability to bring a user to the next article in a series each time they click on a link like https://www.my-site.com/?get-next-article-in=set-name. Set-name is the name of a series of articles. (When they have accessed the last article in a set, users are returned to the first article in the set when they click on the link again.) If caching blocks this a string (random, date, etc.) can be added to set-name in the link of the form set-name:string to avert caching. This plugin can be used, e.g., to bring users to the next lesson in a set of lessons by sending them a reminder email containing the https://www.my-site.com/?get-next-article-in=set-name link each day (or with whatever frequency is appropriate to the subject material. The link never changes. Each time a person clicks on the link in their reminder email, however, they are taken to the lesson which follows the lesson they read last. This is accomplished by setting a cookie on the user's computer. The value of the cookie is the slug of the next article in the series. Any limitations on cookies can, therefore, impact the functioning of this plugin. Copyright 2020 M.D. Green, SaeSolved:: LLC

安装:

  1. Extract the get-next-article folder and place in the wp-content/plugins folder.
  2. Enable the plugin.
  3. If this is not a multisite, go to Settings -> Permalinks and save the settings there without making any changes. (This adds a rewrite rule used by this plugin.) DO NOT do this if your site is part of a multisite.
  4. Enter the article names and titles in the "Article Names, Article Titles" field for the "Set Name" on the Get Next Article Settings page separated by a comma with each pair on a separate line.

升级注意事项:

1.3.2 This version adds a line of code necessary for the plugin to work in the latest WordPress version. 1.3.1 This version implements changes to accommodate way values in associative array keys are handled in latest PHP version. 1.3 This version implements:
  1. Adding headers to block caching.
  2. Providing for adding a string (random, date, etc.) to set-name in the link of the form set-name:string to avert caching.
  3. Bug fix: Cookie always defined, even if blank.
  4. Code cleanup, including preventing pages which are not called with https://www.my-site.com/?get-next-article-in=set-name from using most methods in this plugin.
1.2 This version implements changes to accommodate non-multisite installations. (Previous versions had only been tested in multisite environments.) 1.1 This version implements:
  1. IMPORTANT CHANGE: Adding and updating the JavaScript for handling cookies. (The older JavaScript had actually been omitted from the original release, causing the plugin to not work.)
  2. Adding screenshot (which had also gone missing).
1.0 Original release.

常见问题:

更新日志:

1.3.2 Adds a line of code necessary for the plugin to work in the latest WordPress version. 1.3.1 Changes to accommodate way values in associative array keys are handled in latest PHP version. 1.3 Changes to implement:
  1. Adding headers to block caching.
  2. Providing for adding a string (random, date, etc.) to set-name in the link of the form set-name:string to avert caching.
  3. Cookie always defined, even if blank.
  4. Code cleanup, including preventing pages which are not called with https://www.my-site.com/?get-next-article-in=set-name from using most methods in this plugin.
1.2 Changes to accommodate non-multisite installations. (Previous versions had only been tested in multisite environments.) 1.1
  1. IMPORTANT CHANGE: Adds and updates JavaScript for handling cookies. (The older JavaScript had actually been omitted from the original release, causing the plugin to not work.)
  2. Adds screenshot (which had also gone missing).
1.0 Original release.