이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Custom Fields Permalink 2

설명

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

스크린샷

  • Pemralink settings
  • Custom post types Pemralink settings

설치

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

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.

후기

2020년 1월 6일 1 reply
I add MY_CUSTOM_FIELD to my post and I changed permalink setting like that /%MY_CUSTOM_FIELD%/%postname%/ but it is not working
2019년 8월 19일 5 replies
It would be a great plugin because only this one works for me with Custom Fields tag. It gives the tag of Custom Field to generate permalink using most popular WP Permalink plugins, but after successful permalink generation, when you click on it - there is an error because no post found. ACF Permalinks plugin, which is analog of this one, works reversed - it doesn't give Custom Field tag in the most popular plugins, only in ones which don't fit my needs. But the post is found after permalink generation. WP version: 5.2.2
2018년 3월 27일 1 reply
This plugin gives me the ability to add my ACF fields into permalinks. I realize this is a pretty non-standard way to construct permalinks but in trying to create ultra short permalinks, this saved me. Thanks so much. The only thing that would make this better, is if I could leave the Post ID out of the permalink, but that's asking a lot.
모든 5 평가 읽기

기여자 & 개발자

“Custom Fields Permalink 2”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Custom Fields Permalink 2”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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