Skip Navigation

[Resolved] Custom post type permalink url

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 8 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

This topic contains 2 replies, has 2 voices.

Last updated by trygveW 8 years, 10 months ago.

Assigned support staff: Luo Yang.

Author
Posts
#121143

Is it possible to use a format like %year%/%monthnum% for the permalink url on a custom post type? I've tried the string as I would write it for the site-wide permalink in WordPress and the variables aren't resolved. Is there another format that works? In this instance I'd like to be able to use a format of %postname% for all posts except one type which will have the year and month in the url. Thanks!

Trygve

#121588

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hi Trygve,

It is not possible within Types, Types only support static string in the permalink url, you can set it by edit your custom post type:
Use a custom URL format-> Optional. Prepend posts with this slug - defaults to post type's name.

And you can try other user's solution, like this one:
https://toolset.com/forums/topic/adding-custom-taxonomy-to-url-and-permalink-not-working/

#128240

Sorry I didn't close this. I'll try what that link suggests. Thanks for the help.

The forum ‘Types Community Support’ is closed to new topics and replies.