athlan / custom-fields-permalink-plugin
插件允许在固定链接结构中使用文章的自定义字段值,通过添加%field_fieldname%,适用于文章、页面和自定义文章类型。
1.5.0
2018-10-24 19:38 UTC
Requires
- php: >=5.3.2
- composer/installers: *
This package is auto-updated.
Last update: 2024-08-26 15:42:50 UTC
README
插件允许在固定链接结构中使用文章的自定义字段值,通过添加%field_fieldname%,适用于文章、页面和自定义文章类型。
描述
插件允许通过添加%field_fieldname%
重写标签,在固定链接结构中使用文章的自定义字段值。
示例
http://example.com/%field_event_date_from%/%postname%/
http://example.com/post-type/%field_event_date_from%/%postname%/
(使用自定义文章类型固定链接插件)
您还可以使用自定义文章类型固定链接插件设置不同的固定链接结构,根据自定义文章类型。您可以通过使用自定义文章类型UI插件创建自己的文章类型。
插件适用于
- 文章
- 页面
- 自定义文章类型
插件也在GitHub上可用:https://github.com/athlan/wordpress-custom-fields-permalink-plugin
安装
搜索“Custom Fields Permalink 2”或点击链接https://wordpress.org/plugins/custom-fields-permalink-redux/
扩展
高级自定义字段
此插件的扩展已完全支持ACF插件。
https://github.com/athlan/acf-permalink
变更日志
发布说明:https://github.com/athlan/wordpress-custom-fields-permalink-plugin/releases