Plugin allows to use ACF values in permalink structure by adding %field_fieldname%, for posts, pages and custom post types. This is an extenion for the plugin Custom Fields Permalink 2.
Plugin allows to use ACF values in permalink structure by adding %field_fieldname%, for posts, pages and custom post types. This is an extenion for the plugin Custom Fields Permalink 2.
Examples:
http://example.com/%field_event_date_from%/%postname%/
http://example.com/post-type/%field_event_date_from%/%postname%/
(with Custom Post Type Permalinks plugin)
You can also set different permalink structure depending on custom post type using Custom Post Type Permalinks plugin. You can create own post types by using Custom Post Type UI plugin.
The plugin works for:
- posts
- pages
- custom post types
Plugin is also avaliable on GitHub: https://github.com/athlan/acf-permalink
Plugin supoorts many fields:
- Text fields
- Checkbox
- Radio
- Date Picker
- Post Object, Page Link
- User
Full usage samples are included in Supported ACF Fields wiki page.
-
Search for ACF Permalinks or follow the link https://wordpress.org/plugins/acf-permalinks/
-
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/
Release notes: https://github.com/athlan/acf-permalink/releases