• Resolved mburtis

    (@mburtis)


    I’ve been trying to figure out how to achieve a particular permalink structure to no avail. Here’s the situation:

    On my site, I have one main custom taxonomy (module). I have five custom post types (dispatch, topic, question, resource, activity). The “module” taxonomy is associated with each of the custom post types.

    I want to achieve a permalink structure that looks like this (for an activity, for example):

    https://example.com/module/%module%/activity/activity_name. And I want https://example.com/module/%module%/activity to go to the archive for the activity post type for those activities that are associated with %module%.

    I’ve been using Pods to manage my custom post types/taxonomies. I gather that I want to do can’t be achieved used the built-in features of Pods. All the solutions I’ve found involve tweaking the code when a post type or taxonomy is defined. I’ve written that code from scratch before, but I don’t know how to do it when Pods has already done the defining. Is there a hook I can use to modify/extend the Pods definitions of my post types and taxonomies?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks for Pods Custom Post Types and Taxonomies’ is closed to new replies.