athlan/custom-fields-permalink-plugin

Plugin allows to use post's custom fields values in permalink structure by adding %field_fieldname%, for posts, pages and custom post types.

1.5.0 2018-10-24 19:38 UTC

This package is auto-updated.

Last update: 2024-03-26 14:54:45 UTC


README

Plugin allows to use post's custom fields values in permalink structure by adding %field_fieldname%, for posts, pages and custom post types.

Build Status codecov

Description

Plugin allows to use post's custom fields values in permalink structure by adding %field_fieldname% rewrite tag.

Screenshot

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/wordpress-custom-fields-permalink-plugin

Installation

Search for Custom Fields Permalink 2 or follow the link https://wordpress.org/plugins/custom-fields-permalink-redux/

Extensions

Advanced Cutom Fields

The extension of this plugin to fully support ACF plugin is availiable:

https://github.com/athlan/acf-permalink

Changelog

Release notes: https://github.com/athlan/wordpress-custom-fields-permalink-plugin/releases