Custom Fields Permalink 2

October 24, 2018

Custom Fields Permalink 2 Plugin

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

Plugin allows to use post’s custom fields 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 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 available on GitHub:
https://github.com/athlan/wordpress-custom-fields-permalink-plugin

Installation

  • Install plugin in WordPress system in Plugins section. You can search for “Custom Fields Permalink 2”.
  • Done! Now you can use %field_fieldname% tag in Settings -> Permalinks.

Screenshots

  1. Pemralink settings

    Pemralink settings

  2. Custom post types Pemralink settings

    Custom post types Pemralink settings

FAQ

Found the bug. How to raise a ticket?

The best way is to raise the ticket under the GitHub repository:
https://github.com/athlan/wordpress-custom-fields-permalink-plugin/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.
When the assumptions are ready, please
make a pull request 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 filter.

Read the example.

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 filter.

Read the example.

Changelog

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

Details

  • Version: 1.5.0
  • Active installations: 800
  • WordPress Version: 4.5.0
  • Tested up to: 5.0.22
  • PHP Version: 5.3

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars