Title: ACF Permalinks
Author: athlan
Published: <strong>2018 年 8 月 25 日</strong>
Last modified: 2018 年 10 月 24 日

---

搜索插件

![](https://ps.w.org/acf-permalinks/assets/banner-772x250.png?rev=1930213)

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

![](https://ps.w.org/acf-permalinks/assets/icon-256x256.png?rev=1930200)

# ACF Permalinks

 作者：[athlan](https://profiles.wordpress.org/athlan/)

[下载](https://downloads.wordpress.org/plugin/acf-permalinks.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/acf-permalinks/#description)
 * [评价](https://cn.wordpress.org/plugins/acf-permalinks/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/acf-permalinks/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/acf-permalinks/#developers)

 [支持](https://wordpress.org/support/plugin/acf-permalinks/)

## 描述

Plugin allows to use post’s ACF values in permalink structure by adding `%field_fieldname%`
rewrite tag.

Examples:

 * `http://example.com/%field_event_date_from%/%postname%/`
 * `http://example.com/post-type/%field_event_date_from%/%postname%/` (with [Custom Post Type Permalinks](https://wordpress.org/plugins/custom-post-type-permalinks/)
   plugin)

You can also set different permalink structure depending on custom post type using
[Custom Post Type Permalinks](https://wordpress.org/plugins/custom-post-type-permalinks/)
plugin. You can create own post types by using [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
plugin.

The plugin works for:

 * posts
 * pages
 * custom post types

Supported ACF Fields

Plugin supoorts many fields:

 * Text fields
 * Checkbox
 * Radio
 * Date Picker
 * Post Object, Page Link
 * User

Full usage samples are included in [Supported ACF Fields](https://github.com/athlan/acf-permalink/wiki#supported-acf-fields)
wiki page.

Plugin is also available on GitHub:
 [https://github.com/athlan/acf-permalink](https://github.com/athlan/acf-permalink)

## 屏幕截图

 * [[
 * Pemralink settings
 * [[
 * Custom post types Pemralink settings

## 安装

 1. Install plugin in WordPress system in Plugins section. You can search for “ACF 
    Permalinks”.
 2. Install “Custom Fields Permalink 2” plugin.
     https://wordpress.org/plugins/custom-
    fields-permalink-redux/

Of course you need to have Advanced Custom Fields plugin installed.
 https://wordpress.
org/plugins/advanced-custom-fields/

## 常见问题

  Which of ACF Field Types are supported?

Plugin supoorts many fields:

 * Text fields
 * Checkbox
 * Radio
 * Date Picker
 * Post Object, Page Link
 * User

Full usage samples are included in [Supported ACF Fields](https://github.com/athlan/acf-permalink/wiki#supported-acf-fields)
wiki page.

  Found the bug. How to raise a ticket?

The best way is to raise the ticket under the GitHub repository:
 [https://github.com/athlan/acf-permalink/issues/new](https://github.com/athlan/acf-permalink/issues/new)

  I want to make a contribution

We would be very grateful in any contribution. If you have a idea for the feature,
please discuss it first by
 [raising the ticket](https://github.com/athlan/acf-permalink/issues/new).
When the assumptions are ready, please [make a pull request](https://github.com/athlan/acf-permalink/pulls)
at GitHub.

  How to generate missing custom post meta keys and values

In case of missing custom post field values you can generate them on-the-fly using
[`generate_dynamic_metadata`](https://github.com/athlan/wordpress-custom-fields-permalink-plugin/wiki/Plugin-hooks#generate_dynamic_metadata)
filter.

Read [the example](https://github.com/athlan/wordpress-custom-fields-permalink-plugin/wiki/FAQ#how-to-generate-missing-custom-post-meta-keys-and-values).

  How to generate calculated dynamic custom post meta keys and values

You can generate custom post fields dynamically coding some logic using [`generate_dynamic_metadata`](https://github.com/athlan/wordpress-custom-fields-permalink-plugin/wiki/Plugin-hooks#generate_dynamic_metadata)
filter.

Read [the example](https://github.com/athlan/wordpress-custom-fields-permalink-plugin/wiki/FAQ#how-to-generate-calculated-dynamic-custom-post-meta-keys-and-values).

## 评价

![](https://secure.gravatar.com/avatar/b6125b956dbbaeb9b6dadb673cbce51d4097e87e04909342d28b70fd2ef9fda2?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-1682/)󠁿

 [cmabb](https://profiles.wordpress.org/cmabb/) 2018 年 8 月 25 日

congratulations to author

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/acf-permalinks/reviews/)

## 贡献者及开发者

「ACF Permalinks」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ athlan ](https://profiles.wordpress.org/athlan/)

[帮助将「ACF Permalinks」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/acf-permalinks)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/acf-permalinks/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/acf-permalinks/)，或通过[RSS](https://plugins.trac.wordpress.org/log/acf-permalinks/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/acf-permalinks/)。

## 更新日志

Release notes: https://github.com/athlan/acf-permalink/releases

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**8 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 4.5.0 或更高版本 **
 *  已测试的最高版本为 **5.0.25**
 *  PHP 版本 ** 5.3 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/acf-permalinks/)
 * 标签
 * [acf](https://cn.wordpress.org/plugins/tags/acf/)[advanced custom fields](https://cn.wordpress.org/plugins/tags/advanced-custom-fields/)
   [custom fields](https://cn.wordpress.org/plugins/tags/custom-fields/)[permalink](https://cn.wordpress.org/plugins/tags/permalink/)
   [permalinks](https://cn.wordpress.org/plugins/tags/permalinks/)
 *  [高级视图](https://cn.wordpress.org/plugins/acf-permalinks/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/acf-permalinks/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/acf-permalinks/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/acf-permalinks/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/acf-permalinks/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/acf-permalinks/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/acf-permalinks/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/acf-permalinks/reviews/)

## 贡献者

 *   [ athlan ](https://profiles.wordpress.org/athlan/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/acf-permalinks/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://github.com/athlan/acf-permalink)