该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

URL Param To Cookie

描述

When configured, this plugin examines the visited url for a configured parameter and stores it in a cookie. The cookie name, domain, path
and expiry can be configured.

屏幕截图

  • A view of the available settings on the plugin settings screen.

安装

Installation is the same as commonly found with other wordpress plugins:

  1. Upload the plugin files to the /wp-content/plugins/url-param-to-cookie directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->UrlParamToCookie Settings screen to configure the plugin

常见问题

I fiddled with the path setting, now I can’t see the cookie

If you want the cookie to apply to the entire site, then set the path variable to ‘/’

What do I do with validity time?

The default for the cookie validity time is 0 – this means the cookie is valid until the end of the session, or until the web browser is closed. If you want the cookie to be valid
for a week, you’d enter 604800, this is a week’s worth of seconds (7 (days) * 24 (hours) * 60 (minutes) * 60 (seconds)).

评价

此插件暂无评价。

贡献者及开发者

「URL Param To Cookie」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • Initial commit.
  • Cleaned up formatting significantly.