Skip Navigation

[Resolved] How can I to custom set my url .

This support ticket is created 6 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by FuChan 6 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#912145

Hello,

Can I to custom set my url become to "hidden link" ?

example:

another-post-type:events
another-post-type-title:the-44th-annual-meeting-of-taiwanese-dermatological-association
this-post-type-id:123

this-post-type-url:
hidden link

[this-post-type] is relationship by [another-post-type].

thank you!

#912192

Hello,

There isn't such a built-in feature with Types plugin, if you are using slug "assign-to-another-post-type-title" for a wordpress page/post, it is not recommended to use it in the rewrite rule of another post type, this will conduct some unexpected result.

As a workaround, it is possible to setup display your custom posts with URL parameter, for example, below URLs:
hidden link

For example, you can try these:
1) create a wordpress page "assign-to-another-post-type-title"
2) in above page display a view, list posts of custom post type, and filter post's ID by the URL parameter "pid":
https://toolset.com/documentation/user-guides/filtering-views-query-by-post-id/

#913320

謝謝你,我試成功了。