Linux 软件免费装

External Permalinks Redux

开发者 ethitter
thinkoomph
更新时间 2022年7月1日 13:11
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 6.0
版权: GPLv2 or later
版权网址: 版权信息

标签

redirect permalink link external link

下载

1.0.2 1.0.3 1.0.4 1.1 1.2 1.0.1 1.3.1 1.0 1.3 1.3.2

详情介绍:

Allows users to point WordPress objects (posts, pages, custom post types) to a URL of their choosing, which is particularly useful for injecting non-WordPress content into loops. The object appears normally in any loop output, but visitors to the object will be redirected to the specified URL. The plugin also allows you to choose the type of redirect, either temporary (302), or permanent (301). Through a filter, the External Permalinks Redux meta box can easily be added to custom post types. There is also a function available for use with WordPress' add_meta_box function. This plugin was originally written for use on WordPress.com VIP. It is inspired by and backwards-compatible with Mark Jaquith's Page Links To plugin, meaning users can switch between plugins without risk of losing any existing external links. This plugin is translation-ready.

安装:

  1. Upload external-permalinks-redux.php to /wp-content/plugins/.
  2. Activate plugin through the WordPress Plugins menu.

屏幕截图:

  • The metabox provided for the Classic Editor.
  • The sidebar plugin provided for the Block Editor.

升级注意事项:

1.3.2 Fixes translations when plugin is used with older WordPress versions. 1.3.1 Fixes translations in block editor. 1.3 Introduces block-editor (Gutenberg) sidebar component for supported post types. 1.2 Introduces get_redirect_data() method along with unit tests and PHPCS cleanup. 1.0.4 Implements singleton pattern for instantiation. No functional changes are included in this release. 1.0.3 Ensures that filters are available to plugins and themes. Recommended for anyone trying to hook to those filters.

常见问题:

How can I add support for my custom post type?

Using the epr_post_types filter, one can modify the default array of object types (post and page) to include additional custom post types or remove the plugin from one of the default post types.

What other filters does this plugin include?

  • epr_meta_key_target - modify the meta key associated with the external URL
  • epr_meta_key_type - modify the meta key associated with the redirect type
  • epr_status_codes - modify array of available status codes used when redirect is issued

更新日志:

1.3.2 1.3.1 1.3 1.2 1.1 1.0.4 1.0.3 1.0.2 1.0.1 1.0